Skip to content

Constant number of mutation instead of rate #2049

Answered by jeromekelleher
shaharMazia asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @shaharMazia 👋

If you're assuming unlinked loci (i.e with free recombination) then you're almost certainly better off just simulating those loci separately without recombination. This will be much faster.

Simulating a fixed number of mutations is very subtle, and we don't recommend doing it usually. See #1806 and #68 for previous discussions. Why do you need exactly one mutation per site?

If you want to be certain of no recurrent mutations, you can specify "infinite sites" using the discrete_genome=False option -- see here for discussion.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@shaharMazia
Comment options

@shaharMazia
Comment options

@jeromekelleher
Comment options

@shaharMazia
Comment options

Answer selected by shaharMazia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants