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?
• 2,689 views
•
link
0 answers
No answers yet.
Log in to answer this question.
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.