Open swamidass opened 2 years ago
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.
Is there a way to create a TreeSequence object from a sequence of newick trees, each one corresponding to a SNP genome coordinate?