You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying to run a coalescent simulation using a standard model from the library - but instead of the default Hudson model, I want the simulation to use the discrete-time-Wright-Fisher model for the most recent 10 generations. So the following command seems to work
Unfortunately, the output doesn't really tell me wether the --msprime-change-model option has actually been implemented. In fact I get the exact same log output when I run it with or without that option. It looks like this
Simulation information: Engine: msprime (1.2.0) Model id: OutOfAfrica_4J17 Model description: 4 population out of Africa Population: number_samples (sampling_time_generations): YRI: 2 (0) CEU: 3 (0) CHB: 0 (0) JPT: 0 (0) Contig Description: Contig origin: chr1:0-248956422 Contig length: 248956422.0 Contig ploidy: 2 Mean recombination rate: 1.1523470111585671e-08 Mean mutation rate: 1.44e-08 Genetic map: HapMapII_GRCh38
Is there any way for me to verify that the dtwf model is actually being used for the last 10 generations ?
The text was updated successfully, but these errors were encountered:
This indicates that the model being simulated is the standard coalescent ("hudson" model) for 10 generations, followed by DTWF afterwards -- which is the opposite of what you want!
I've been trying to run a coalescent simulation using a standard model from the library - but instead of the default Hudson model, I want the simulation to use the discrete-time-Wright-Fisher model for the most recent 10 generations. So the following command seems to work
python -m stdpopsim --msprime-change-model 10 dtwf HomSap -g HapMapII_GRCh38 -c $chrom -o ${SOURCE_DIR}/OutOfAfrica_4J17_${chrom}.ts -d OutOfAfrica_4J17 YRI:2 CEU:3
Unfortunately, the output doesn't really tell me wether the --msprime-change-model option has actually been implemented. In fact I get the exact same log output when I run it with or without that option. It looks like this
Simulation information: Engine: msprime (1.2.0) Model id: OutOfAfrica_4J17 Model description: 4 population out of Africa Population: number_samples (sampling_time_generations): YRI: 2 (0) CEU: 3 (0) CHB: 0 (0) JPT: 0 (0) Contig Description: Contig origin: chr1:0-248956422 Contig length: 248956422.0 Contig ploidy: 2 Mean recombination rate: 1.1523470111585671e-08 Mean mutation rate: 1.44e-08 Genetic map: HapMapII_GRCh38
Is there any way for me to verify that the dtwf model is actually being used for the last 10 generations ?
The text was updated successfully, but these errors were encountered: