Filtering gene trees generated by RAXML
1
0
Entering edit mode
6.5 years ago
apulunuj ▴ 30

Hey guys,

What is the best way to checking if a set of gene/homolog trees, (about a 1000 tree files), has a certain amount of taxa within them? Baring in mind, you want the trees to also include an outgroup taxon as well.

I was thinking about using python along with a dictionary to check for this, but I don't know of any way to make tree files readable objects in python.

Instead, of python are there any R packages that could help me do this.

Or am I approaching this wrong? Any thoughts?

Thanks in advance!

python r raxml • 1.2k views
ADD COMMENT
1
Entering edit mode
6.5 years ago
h.mon 35k

I don't understand, did you run the analysis that generated the trees? If yes, then you should know which taxa are included.

Check ETE for a tree manipulation toolkit, it probably can parse the trees for you.

ADD COMMENT
0
Entering edit mode

Yes, I generated the trees. But not all the trees are inclusive of the taxa I'm interested in. And there are too many trees to look through by hand.

Will the ETE toolkit allow me as you say parse the non-inclusive trees?

ADD REPLY

Login before adding your answer.

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