I am wondering if the PhylomeDB API retrieves rooted or unrooted trees
for ETE2, a method of the node objects I want to use appears to
require a rooted tree, and I guess the PhylomeDB trees should be
rooted reading this from the PhylomeDB manual( http://phylomedb.org/help/doku.php?id=manual3
):
(...) our approach does not require any previous fully resolved
species topology, as far as the trees are rooted. The orthology
prediction algorithm is run independently for each seed protein using
the corresponding phylogenetic tree
The method I am trying to use is:
node.get_descendant_evol_events()
And the error displayed:
Traceback (most recent call last):
File "coevolution.py", line 282, in <module>
phylomeDB_web()
File "coevolution.py", line 202, in phylomeDB_web
process_tree(tuple[3][0],tuple[2])
File "coevolution.py", line 247, in process_tree
nde.get_descendant_evol_events()
File "build/bdist.linux-x86_64/egg/ete2/phylo/phylotree.py", line
170, in get_descendant_evol_events
File "build/bdist.linux-x86_64/egg/ete2/phylo/spoverlap.py", line
150, in get_evol_events_from_root
TypeError: Tree is not rooted
Any ideas?
Thanks,
Daniel.
--
To unsubscribe, reply using "remove me" as the subject.