Generate all NNI-neighbours of a tree
0
0
Entering edit mode
6.5 years ago
phylomat • 0

Hello,

I have a list of trees in the Newick format and need to generate all NNI-neighbours of the trees (two trees are NNI-neighbours if one can be transformed into another by one nearest neighbour interchange operation).

I am currently using NNITreeSearcher._get_neighbors method from Biopython but it's way too slow. Are there any compiled libraries that can do it?

Thanks!

newick tree NNI phylogenetics • 1.7k views
ADD COMMENT
2
Entering edit mode

I think the phangorn R package has a function for this.

ADD REPLY
0
Entering edit mode

@phylomat , I also have similar question but I want it to be done in python and not 'R'. Can anyone suggest any python libraries / compiled source code that can do it?

ADD REPLY

Login before adding your answer.

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