Wright Fisher forward simulation #1335
Closed
NiharaDeSilva
started this conversation in
General
Replies: 1 comment 4 replies
-
Hi @NiharaDeSilva, Welcome! The answer to all of this is "yes', except for the duration range. Assuming that you are referring to time intervals moving FORWARDS could simulate from [0, 8] but not from [2, 8] because it is unclear what the state of the population would be 2 generations into the future. I will note that by "output SNP data", the output is a tskit TreeSequence and that 0 = ancestral, 1 = derived. I'll refer you to the manual for details. All of these details are in the manual, which is linked to from the README, pypi, etc.. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to use fwdpy11 to simulate a population with the Wright Fisher forward in time simulator and output SNP data.
So my questions are
whether fwdpy11 supports outputing SNP data?
Whether I could provide the effective population size as an input parameter?
Also whether it supports the discrete generation feature where i could simulate the populations for a given duration range(eg: 2,8).
Appreciate your input. Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions