guide tree convert multfurcating to difurcating
1
0
Entering edit mode
8.8 years ago
cara78 ▴ 10

I need to convert a guide tree I got off NCBI. NCBI common taxonomy tree will only give out multi-furcating guide tree such as below. Clustalw, where I need to use it will only accept bifurcating guide trees.

(
'synthetic construct':4,
'unclassified sequences':4,
'Paramecium bursaria Chlorella virus 1':4,
(
(
(
'Picomonas judraskeda':4,
'Palpitomonas bilix':4,
'Metromonas simplex':4
)'unclassified eukaryotes':4,
(
'Rhizomastix libera':4,
..

I have no idea how to convert between the two. Does anyone have any ideas?

clustalw guide-tree • 1.8k views
ADD COMMENT
3
Entering edit mode
8.8 years ago
Brice Sarver ★ 3.8k

R can randomly resolve multifurcating trees:

library(ape)

a <- read.tree("yourtree.tre")
b <- multi2di(a, random=TRUE)

write.tree(b, "yourtree.bifurcating.tre")
ADD COMMENT

Login before adding your answer.

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