How to improve tsdate accurancy? #254
Replies: 1 comment 11 replies
-
What version of tsinfer have you used. Version 0.3.0 made a substantial change that will affect the dating of root nodes, so I suggest you check that you have used this version. If not, I can provide code which will break the root into pieces, which is what the new version does. You can check because @nspope is currently making substantial improvements to tsdate itself, and they may help, especially if you expect the population size of your target species to have changes over time. As part of that, I have made a proposed minor change which affects the oldest timeslice, here: #233. I haven't merged this because on very simple examples it makes dating slightly worse than the theoretical predictions, but we have observed that it generally improves matters on real data, and we will be merging it soon. You could try installing that PR branch using
We can't guarantee the results at the moment, but I think it should improve matters for you. Let me know if it works. |
Beta Was this translation helpful? Give feedback.
-
I had a tree sequence consist of 2 different species that do not have reproductive isolation. According to previous report, the divergence time of the two species is about 200 kya. However, the time of root nodes refered by tsdate is mainly distribute around 96,000 ~ 102,000 ya (16000~17000 generations ago, 6 years/generations), which is too earlier than their divergence time. The ages of mutation shared by two species should older than their divergence time. My tsdate pipline are as follows:
tsdate preprocess chr1_infer.trees chr1_infer_preprocess.trees
tsdate date chr1_infer_preprocess.trees chr1_infer_preprocess_dated.trees 10000 -m 1.26e-8 -t 128 -p
What parameters can I adjust to imporve accurancy?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions