My ultimate goal is to simulate local adaptation from standing variation. I have been testing the following command (adapted from an example in the manual, pg 17, section 7.1)
which is intended to simulate multiple populations with selection on standing variation (frequency = 0.01) in pop 3 starting at 0.05 coalescent units ago. I get something like the following (I have sliced out the most of the trajectory trace).
I have not explicitly set -Smu, so I expect it to be 0. However, can you explain the origin count of 3 in this context? My suspicion is that the derived allele was segregating (at 0.01 frequency) on three different haplotypes when selection turned on at time 0.05. Is this correct? At the -Smark locus, when OriginCount is > 1, I notice alleles coded with numbers > 1. Do these effectively represent the haplotype background on which the allele was segregating at the time selection turned on?
Finally, in the context of -SI 0.05 5 0 0 0.01 0 0, presumably the allele segregating at 0.01 in population three neutrally drifts to loss backwards in time from 0.05?
My ultimate goal is to simulate local adaptation from standing variation. I have been testing the following command (adapted from an example in the manual, pg 17, section 7.1)
which is intended to simulate multiple populations with selection on standing variation (frequency = 0.01) in pop 3 starting at 0.05 coalescent units ago. I get something like the following (I have sliced out the most of the trajectory trace).
I have not explicitly set -Smu, so I expect it to be 0. However, can you explain the origin count of 3 in this context? My suspicion is that the derived allele was segregating (at 0.01 frequency) on three different haplotypes when selection turned on at time 0.05. Is this correct? At the -Smark locus, when OriginCount is > 1, I notice alleles coded with numbers > 1. Do these effectively represent the haplotype background on which the allele was segregating at the time selection turned on?
Finally, in the context of
-SI 0.05 5 0 0 0.01 0 0
, presumably the allele segregating at 0.01 in population three neutrally drifts to loss backwards in time from 0.05?Thanks!