[ensembl-dev] $protein_tree_adaptor->fetch_all_roots

Moretti Sébastien sebastien.moretti at unil.ch
Tue Jan 10 14:40:06 GMT 2012


Hi

We used the following code before and it worked perfectly (at least with 
ensembl 61). Now it does not work anymore with ensembl 65.

my $protein_tree_adaptor = $reg->get_adaptor('Multi', 'compara', 
'ProteinTree');
my ($big_root)           = @{$protein_tree_adaptor->fetch_all_roots};
my @children             = @{$big_root->children()};


Now the children method is undefined:
     Can't call method "children" on an undefined value


Could you tell me how to get all gene/protein tree ids from compara now ?
I guess there is another way to get them.

Thanks
Regards

--
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