Msprime multiple roots? #2301
-
Hi everyone! I am working on a project that involves simulating methylation states based on the recombination patterns generated by ProblemI am trying to read the
QuestionI believe I am misunderstanding some aspect of how
Thank you for your help! If you need more information about the parameters I am using or specific examples from the output, please let me know. This is one of my tries to get the needed tables: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 14 replies
-
Due to recombination, the root can change along the genome. In other words, different segments of the genome can have different MRCA nodes. But with msprime, each tree will have one root:
|
Beta Was this translation helpful? Give feedback.
The graph doesn't have to have one root though (in fact won't most of the time), because you will have different MRCA nodes at different points along the sequence. To have one root you would need to simulate back to the "Grand MRCA", which takes exponential time.
See the "Big ARG and little ARG" section in our recent Genetics paper this point, and for general background on the difference between the ARG as a graph, and a succinct tree sequence. It's quite subtle, so I wouldn't expect to understand immediately.