How to find the total genome contributed by each founder? #362
petrelharp
started this conversation in
Show and tell
Replies: 2 comments 1 reply
-
Hi Peter, I just tested this out, and it works! The function is just missing a return statement (it'll give a "cannot unpack non-iterable NoneType object" as is). Thanks again! |
Beta Was this translation helpful? Give feedback.
1 reply
-
Building off founder_stats function to calculate Founder Genome Equivalents:
|
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
-
Over on the SLiM list, Savanah Bird asks:
Here's some code that does that, by iterating over the roots in each tree. For this script to work we need to Remember each of the founder individuals (else it's not as easy to find which chromosomes are in the same individual).
Here's the example SLiM script to do this:
Beta Was this translation helpful? Give feedback.
All reactions