Updating old tsinfer tree sequences to the improved 0.3.0 style, with multiple roots #255
hyanwong
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If you used
tsinfer
prior to version 0.3.0, you would have created a single long root node. This can cause problems for dating, and the behaviour was changed in 0.3.0. If you have an old tree sequence which you wish to convert, you can convert it usingtsinfer.post_process()
. Here is some code to check and convert:You should now get better results when e.g. dating the new_ts:
Beta Was this translation helpful? Give feedback.
All reactions