Skip to content

pyslim.recapitate( ) Errors #268

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

You must be logged in to vote

(posted this to the SLiM list also)

Let's see: there's some kind of mismatch between where the
lineages are in the tree sequence and the demography. I can't be sure
without knowing some more things about the SLiM recipe, but my first
guess is that your SLiM simulation ran for 400 generations, and
everyone there is in population 3? This would create the error that
you're seeing because add_subpopulation_split(time=400, derived,
ancestral) implies that more recently than 400 time units ago, the
derived pops are "inactive" (ie didn't exist), so that all lineages
should shift from the derived populations to the ancestral one. This
means it's an error if there are any lineages in the derived pops

Replies: 1 comment

Comment options

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