[Treesoft-treefam] Explore a family tree
Brought to you by:
lh3lh3
From: Sebastien M. <seb...@un...> - 2008-09-30 15:03:28
|
Hi, we explore a lot of TreeFam trees to get, by example, Euteleostomi sub-trees. $tree->get_nodes_by_tag_value(-S=>'Euteleostomi'); It works perfectly with the API except when there is no Euteleostomi node in the whole tree. The API returns nothing (that is the right thing I think so) but sometimes, a Tetrapoda node is available. So, my question is how to explore trees with child taxa of Euteleostomi when Euteleostomi is absent ? With Tetrapoda, else with Theria, else with Eutheria, ... Via the API or via MySQL. We could hard-code child taxa names but this will not be clean. An idea ? Thanks -- Sébastien Moretti |