Hi,
This may be a very simple question, but I thought I'd ask because I cannot find a way to do this by myself it seems:
Is there a way to get the mutation frequency and the isSegregating and isFixed tags for all of the mutations in a population from a .tree file?
For context, I would like to compare the frequencies of segregating and fixed mutations with their respective selection coefficients. Ideally, I would have liked to see the same thing for the mutations that were generated and then lost as well, but I assume that information is not saved by SLiM anywhere (?). The simulations have all finished and I only have the .tree files saved during (every 1000 generations) and at the end of the simulations to get information from currently. I have run my simulations (simple WF, selection coefficients drawn from deleterious gamma distribution) with convertToSubstitution = F to preserve fixed mutations.
I can currently extract the selection coefficients with tskit using the recipe from 17.7 in the manual, but I cannot find a way to get the frequency of the mutations in the population or which mutations are segregating at the end of the simulation. I have looked in the metadata from pyslim, but I haven't seen it mentioned. Is this information is available anywhere in a .tree file?
If not, I could possibly rerun the last 1000 generations for all models from an earlier .tree file and get more output from SLiM directly, but I'd love it if there was a simpler way!
Best regards,
Bea
--
SLiM forward genetic simulation: http://messerlab.org/slim/
---
You received this message because you are subscribed to the Google Groups "slim-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to slim-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/slim-discuss/95d63d08-a539-41bf-9790-883daa106ddfn%40googlegroups.com.