Replies: 1 comment
-
So - you want to load the tree sequence produced at the end of the script above into SLiM? If so, then you need to use the SLiMMutationModel in msprime - see the pyslim docs for an example of how to do that. Let me know if this works? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
Hi,
I have recently moved from SLIM 3.6 to 3.7 (as I couldn’t make it to work on 3.6 either). I want to recapitate a SLIM tree sequence adding neutral mutations with msprime. I am studying selective sweeps and I want to use this recapitated population as a replacement for the burn-in period required to reach mutation-drift equilibrium before selective sweeps are implemented onto the population.
When I load the .trees file into SLIM, though, I get the error: “mutation metadata length does not match derived state length”. Any ideas on how to solve it?
The code I use is:
Thanks! I started using pyslim and tskit a few weeks ago, so I am not exactly agile working with it…
Beta Was this translation helpful? Give feedback.
All reactions