Closed:Approximating branch length values of Phygenetic tree with biopython
0
0
Entering edit mode
5.4 years ago
mdsiddra ▴ 30

I have been using biopython 1.72 to display my phylogenetic tree files.

1) When I use the Phylo.draw fumction, it opens a window with tree drawn in it but it also writes the 'inner #' on every inner branch. Since it does not look good, moreover it also creates difficulty in reading the file. Can anyone help me removing the titles of inner branches?

2)Using the function 'Phylo.draw(pars_tree, branch_labels=lambda c: c.branch_length)' to display branch lengths as well on tree, the tree displays the branch length as it is (i.e., includes all numbers after decimal). While I want the numbers to be truncated to two after decimal point.

3) 'Phylo.draw' function opens the window which is very narrow and if the tree file is larger, all the branches are merged and it gets difficult to read what is written. Does anyone know any better display method?

biopython • 113 views
ADD COMMENT
This thread is not open. No new answers may be added
Traffic: 3431 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6