Replies: 2 comments 5 replies
-
The method I was suggesting would involve using the "time" argument to the Note that the |
Beta Was this translation helpful? Give feedback.
-
Hi @hyanwong, I am building ARG based on the inferred tree (based on founders) and segregation probability (progeny). However, I have some challenges in dating the nodes, as they are on different timescales. I notice there is the following formula to rescale time in your code.
I was wondering if there is a specific principle or rationale behind this approach? Additionally, if I infer the ARG using founders and aim to integrate the edges and nodes of progenies based on segregation probabilities, would you have any suggestions on how to appropriately rescale the time to ensure consistency?
Any insights or guidance you could provide would be greatly appreciated. Thank you! |
Beta Was this translation helpful? Give feedback.
-
Several people, e.g. @minesrebollo and @lakishadavid have sampled genomes which can potentially descend from other samples. In some cases, we might even have a pedigree for these individuals. There is currently no recommended way to incorporate these "non-contemporaneous" samples into
tsinfer
. However, if we can assume that the multigenerations in the pedigree are all more recent than the age of any of the MRCAs associated a derived allele, so we can probably insert the historical samples between time 0 and time 1/num_samples, ordered by their date of birth.It would be really interesting to see if this approach ends up producing a relatively accurate summary of the known pedigree. I guess that’s something we can test relatively easily both by simulation and, more excitingly, from real data.
I've opened up this discussion so that we can thrash out the details here, and then (hopefully) turn the recommendations into some sort of tutorial.
Beta Was this translation helpful? Give feedback.
All reactions