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.
14 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone!
I am working on a project that involves simulating methylation states based on the recombination patterns generated by
msprime
. My objective is to analyze the output to understand how recombination affects methylation across the genome. I'm still very new to the program, so I would appreciate some guidance :DProblem
I am trying to read the
nodes
andedges
tables frommsprime
to analyze the tree structures they represent. However, I am encountering an issue:nodes
table.Question
I believe I am misunderstanding some aspect of how
msprime
handles tree sequences or how I should interpret them. Specifically, I am confused about: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:
ts = msprime.sim_ancestry( 10, recombination_rate=0.5, sequence_length=20,additional_nodes=msprime.NodeType.RECOMBINANT,coalescing_segments_only=False )
Beta Was this translation helpful? Give feedback.
All reactions