Question: Newick To Distance Matrix
0
gravatar for Haluk
5.0 years ago by
Haluk170
Lincoln, Nebraska
Haluk170 wrote:

Hi,

I have set of newick files and I want to convert them into distance matrix. I'm implementing my application in Java, so if there is any library in Java, it would be great.

distance tree newick matrix • 2.5k views
ADD COMMENTlink modified 3.2 years ago by Biostar ♦♦ 20 • written 5.0 years ago by Haluk170
0
gravatar for Asaf
5.0 years ago by
Asaf5.3k
Israel
Asaf5.3k wrote:

I don't know about JAVA but in python you can read the tree with the dendropy module and then for each pair of leaf nodes find the most recent common ancestor and compute the distance from it to each of the nodes which will give you their distance.

ADD COMMENTlink written 5.0 years ago by Asaf5.3k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1148 users visited in the last hour