Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

From sequence of newick trees? #35

Open
swamidass opened this issue Nov 2, 2021 · 1 comment
Open

From sequence of newick trees? #35

swamidass opened this issue Nov 2, 2021 · 1 comment

Comments

@swamidass
Copy link

Is there a way to create a TreeSequence object from a sequence of newick trees, each one corresponding to a SNP genome coordinate?

@jeromekelleher
Copy link
Member

This is what the from_ms function does @swamidass, but the assumptions it makes won't hold for an arbitrary sequence of input trees. In particular, we assume that nodes in the newick trees with exactly the same time are the same tree sequence nodes.

It may work if the input trees are time-resolved and have high-precision branch lenghts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants