Increase the maximum SegSites number of runMacs #201
Replies: 2 comments 1 reply
-
@jamonterotena how many segregating sites you get depends on the used demographic/species model. Which one are you using now? You can tweak that choice or use @gaynorr this is more of a discussion point, so consider moving it to disucssions. |
Beta Was this translation helpful? Give feedback.
-
@jamonterotena the number of base pairs is highly dependent on effective population size. To simplify, we often model agricultural species with a small current effective population size and a large historic effective population size. This combination means that there will be lots of loci (due to large historic population size) with strong LD (due to small current population size). You can certainly manipulate these parameters to get the number of sites you want, but there's no telling if the LD is appropriate without carefully selecting the parameters. Here is some example code that will give you more than enough sites. However, I caution that the LD pattern might not be desirable.
|
Beta Was this translation helpful? Give feedback.
-
Hello, I encounter this error when trying to create a 100 founder population with 34k SNPs. The maximum seg sites produced with 'NULL' is 18k, which is too low for my aim. Is there any way to skip this error and force any number of loci to be simulated?
Beta Was this translation helpful? Give feedback.
All reactions