Skip to content

msprime generates low (< theta) nucleotide diversity #2097

Answered by apragsdale
mshpak76 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @mshpak76, I believe this is an issue with the chosen mutation model, it seems. If instead of using model=msprime.BinaryMutationModel(), you use discrete_genome=False (i.e., simulate under an infinite sites assumption), you should get the diversity to match expectations equal to theta in population A.

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
8 replies
@apragsdale
Comment options

@grahamgower
Comment options

@andrewkern
Comment options

@andrewkern
Comment options

@petrelharp
Comment options

Answer selected by andrewkern
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants