Tracking IBD(Identity-by-descent) boundaries with and without full ARG #1854
Unanswered
jikhashkya
asked this question in
Q&A
Replies: 1 comment 6 replies
-
Hi, @jikhashkya! The problem here is that running the same code with and without
Now,
Note that the nodes have different labels (since one tree sequence has more nodes than the other), but their times and IBD boundaries are the same. Let me know if that's clear? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm a new user to msprime and was playing around with how the tree sequences differed with and without
record_full_arg
option, specifically w.r.t to IBD boundaries. Since the number of trees reduce when disabling the option, I'm afraid this affects the intervals of the trees which in turn affects the IBD boundaries found for some sample pairs. I was advised tosimplify()
the ARG recorded tree sequence to see if IBD boundaries would be consistent, but I found that, that was not the case.I used the following code for simulation:
I obtain the following tree for the code above:
Now, when I run the simulation with the same parameters but without the
--record_full_arg
option, I obtain the following tree:This created inconsistency for IBDs found given the same simulation parameters. Here's an example for the IBDs found for sample pair (0, 4) for both trees:
I'd love to know if this still makes sense and how it makes sense or, if that's not the case, how can the two cases be made consistent w.r.t IBD boundaries.
Beta Was this translation helpful? Give feedback.
All reactions