simulating a simple scenario #899
-
Hi: I'm checking out fwdpy11 because I'm preparing a population genetics introductory course. I think that this simulator could be quite handy, but I'm having problems preparing the most simple simulations.
Thank your for your work and your time. Jose Blanca |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
You can initialize a population with two alleles by generating an initial ancestry with msprime to initialize a population. Then, you may add a (selected) mutation to that population. Currently, we do not support reverse mutation. We are still modeling infinitely many sites. Support for more general models is planned, but has no specific timeline. The primary goal of this software is for research purposes. As such, some of the very simple cases that one may want to use for teaching may actually be a bit harder to do. I actually do not use feature rich simulations for my own teaching. Rather, I tend to use simple things written in JavaScript. |
Beta Was this translation helpful? Give feedback.
You can initialize a population with two alleles by generating an initial ancestry with msprime to initialize a population. Then, you may add a (selected) mutation to that population.
Currently, we do not support reverse mutation. We are still modeling infinitely many sites. Support for more general models is planned, but has no specific timeline.
The primary goal of this software is for research purposes. As such, some of the very simple cases that one may want to use for teaching may actually be a bit harder to do. I actually do not use feature rich simulations for my own teaching. Rather, I tend to use simple things written in JavaScript.