Generate all NNI-neighbours of a tree
0
0
Entering edit mode
5.9 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.5k 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: 1489 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