[ensembl-dev] compara and zebra proteins

Andy Yates ayates at ebi.ac.uk
Thu Nov 25 10:33:06 GMT 2010


You've spelt the source name incorrectly. Ensembl proteins are known as ENSEMBLPEP in compara so your code should look more like:

my $member = $member_adaptor->fetch_by_source_stable_id('ENSEMBLPEP','ENSDARP00000030499');

Apart from that your code looks good.

Andy

On 25 Nov 2010, at 10:17, Koray Doğan Kaya wrote:

> Can't I call a zebrafsh protein like this?
> 
> 
> my $member_adaptor =
> Bio::EnsEMBL::Registry->get_adaptor('Multi','compara','Member');
> 
> my $member =
> $member_adaptor->fetch_by_source_stable_id('ENSEMBLPROTEIN','ENSDARP00000030499');
> 
> # print out some information about the Member
> print $member->description, "\n";
> 
> -- 
> M.Sc. Koray Dogan Kaya
> PhD Candidate
> Bilkent University,
> Department of Molecular Biology and Genetics
> 06800 / Ankara
> Turkey
> Mobile: (+90) 533 526 09 51
> Office: (+90)  312 290 24 03
> e-mail: kkaya at bilkent.edu.tr
> 
> 
> _______________________________________________
> Dev mailing list
> Dev at ensembl.org
> http://lists.ensembl.org/mailman/listinfo/dev

-- 
Andrew Yates                   Ensembl Genomes Engineer
EMBL-EBI                       Tel: +44-(0)1223-492538
Wellcome Trust Genome Campus   Fax: +44-(0)1223-494468
Cambridge CB10 1SD, UK         http://www.ensemblgenomes.org/








More information about the Dev mailing list