Skip to content

How to analyze tree sequence data? #541

Answered by hyanwong
lakishadavid asked this question in Q&A
Discussion options

You must be logged in to vote

There's a brief section in https://tsinfer.readthedocs.io/en/latest/tutorial.html#analysis

Note that the branch lengths in an inferred tree sequence may not be meaningful, so normal tskit statistics will only work properly in "sites" mode (not "branch" mode - see https://tskit.dev/tskit/docs/stable/stats.html#mode and https://www.genetics.org/content/215/3/779).

If you want to use branch lengths in the trees, you should run tsdate on the resulting tree sequence: https://tsdate.readthedocs.io/en/latest/

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by benjeffery
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants