[ensembl-dev] How to get a tree stable id ?
Moretti Sébastien
sebastien.moretti at unil.ch
Wed Apr 18 11:23:46 BST 2012
Hi
with the ensembl 66 API, I cannot get the gene tree stable id I used to
get before with previous ensembl API.
I build a protein tree adaptor, fetch a node with a node_id but cannot
get the ENSGT00* id anymore.
e.g. with node_id = 2
my $tree = $protein_tree_adaptor->fetch_node_by_node_id($node_id);
my $stable_id = $tree->node_id;
This returns 2, and not the ENSGT00* id I expect.
I cannot see any ENSGT00* strings with Data:Dumper in the $tree object.
--
Sébastien Moretti
Department of Ecology and Evolution,
Biophore, University of Lausanne,
CH-1015 Lausanne, Switzerland
Tel.: +41 (21) 692 4221/4079
http://selectome.unil.ch/ http://bgee.unil.ch/
More information about the Dev
mailing list