This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How do I calculate the branch lengths

I'm using python 3.6 and I have utilized biopython package (https://biopython.org/) for drwaing phylogenetic tree with a newick format tree file. I want to calculate the branch lengths for the given tree file ('newick format'). What method should I use for this or if there is a python library with the method for calculating branch lengths from a tree file?

phylogenetics python

I'd recommend using ETE toolkit for phylogenetic tree visualisation in python.

This toolkit does not calculate the lengths of branches rather it just displays if they are already in the tree file. I need some methods of python or python library which can do so.

0 answers

No answers yet.

Log in to answer this question.