Indices: ensure trees have non-negative branch lengths
shawnlaffan opened this issue · 0 comments
shawnlaffan commented
It is possible for a tree to have negative branch lengths, for example a cluster tree generated using the recalculated linkage.
However, most of the phylogenetic indices assume non-negative branch lengths.
While some might handle negative lengths, for now we should set a precondition that all branches have non-negative lengths.