Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use msprime's wirght-fisher model (model='dtwf') for simulation #392

Closed
hyl317 opened this issue Jan 30, 2020 · 4 comments · Fixed by #398
Closed

Use msprime's wirght-fisher model (model='dtwf') for simulation #392

hyl317 opened this issue Jan 30, 2020 · 4 comments · Fixed by #398

Comments

@hyl317
Copy link

hyl317 commented Jan 30, 2020

Based on this preprint, https://www.biorxiv.org/content/10.1101/674440v1.full.pdf, it is better to simulate large sample/large chromosome region using the wright-fisher model in msprime. Could such functionality be provided in stdpopsim as well? (Correct me if it's already there, maybe I just missed it from the API). Thx!

@jeromekelleher
Copy link
Member

Definitely, and it I think it's a pretty straightforward addition to have --engine=msprime-dtwf, or similar. @grahamgower, have you thoughts on how to do this?

We should also consider a hybrid model while we're doing this, where we do dtwf for some number of generations and switch to the standard Hudson model afterwards.

@grahamgower
Copy link
Member

grahamgower commented Jan 30, 2020 via email

@jeromekelleher
Copy link
Member

Or, perhaps it should be a "--model" option to the msprime engine? We can also imagine supporting the SMC models in stdpopsim at some point, if that turns out to be the only reasonably way to simulate drosophila chromosomes.

Agreed that we should have an mspirme_engine module.

@grahamgower
Copy link
Member

grahamgower commented Jan 30, 2020 via email

grahamgower added a commit to grahamgower/stdpopsim that referenced this issue Feb 7, 2020
grahamgower added a commit to grahamgower/stdpopsim that referenced this issue Feb 7, 2020
grahamgower added a commit to grahamgower/stdpopsim that referenced this issue Feb 14, 2020
grahamgower added a commit to grahamgower/stdpopsim that referenced this issue Feb 18, 2020
grahamgower added a commit to grahamgower/stdpopsim that referenced this issue Feb 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants