Drawing phylogenetic tree in line format and Newick format from branch lengths
1
0
Entering edit mode
5.8 years ago
listerr01 • 0

I used the Neighbor-joining algorithm on a distance matrix and obtained all the branch lengths - internal and external.  I need to now draw the tree - in both line format ("rectangular" format) and Newick format.  This seems silly, but I'm stuck with not knowing where or how to begin.

Note that I am not looking for any computer code at this point.  I'm just stuck with not knowing how to start - for either format.  Would appreciate any help.

Thanks,

Joe

Phylogenetic tree Newick format Branch length • 3.1k views
ADD COMMENT
0
Entering edit mode

Hi arnstrm, thanks for the response.  Actually, I am very familiar with MEGA and use it on a regular basis. I am writing code for another application that requires that I make the trees myself using code, not a GUI. The part I am stuck at is not the code but the procedure for going from having computed all the branch lengths to actually depicting the tree in the form of a line diagram and in Newick format.

I am requesting help with that.

Thanks.

ADD REPLY
0
Entering edit mode
5.8 years ago
arnstrm ★ 1.8k

If you're not familiar with CLI, try using GUI programs such as MEGA, it is available for all platforms. You can easily load the alignments and construct different type so phylogenetic trees (ML, NJ, UPGMA etc). You can save the results as nwk format as well as render tree with that program.

 

ADD COMMENT

Login before adding your answer.

Traffic: 1756 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