Skip to content

tree_sequence.genotype_matrix() contains non-segregating sites #1685

Answered by benjeffery
jeffspence asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @jeffspence thanks for posting your question.

It is expected that the genotypes contain non-segregating sites, as the simulation can add both back-mutations and silent mutations (as mentioned at https://tskit.dev/msprime/docs/latest/api.html#msprime.sim_mutations). The number of non-segregating sites should be consistent with the model and parameters.

As for differing results on differing OS installations, this is something that has occurred recently - we think due to differing versions of the GSL library that provides the randomness. How did you install msprime on each machine, pip, conda, or local build?

Replies: 7 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by benjeffery
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@hyanwong
Comment options

@petrelharp
Comment options

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
Converted from issue

This discussion was converted from issue #1684 on May 18, 2021 12:58.