Skip to content

Are SLiM Substitutions saved to the tree sequence? #245

Answered by petrelharp
elissasoroj asked this question in Q&A
Discussion options

You must be logged in to vote

Hello, @elissasoroj! Let's see - there is nothing stored in the tree sequence to indicate that a given mutation is a substitution, other than the frequency of that mutation.

Reminder about how the mutation model in SLiM works - by default, mutations "stack", i.e., we can think of them as sticky notes stuck onto the DNA sequence, and thus subsequent mutations don't erase previous ones at the same spot. That's what led to the confusing data model in SLiM tree sequences: suppose that some chromosome got mutation A; then that chromosome's descendants would inherit the sticky note labeled A. If someone with A then also got a B mutation, all their descendants would get both A and B; so in the t…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by elissasoroj
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