[Bioperl-l] Protein ID to Gene ID

Brian Osborne osborne1 at optonline.net
Fri Dec 16 22:12:02 EST 2005


Mira,

What sequence is that?

Brian O.


On 12/16/05 9:13 AM, "Miroslava Cuperlovic-Culf" <miroslavac at health.nb.ca>
wrote:

> Dear All,
> 
> I am trying to make a small program that would get the GeneBank gene ID from
> GenBank protein ID. I think that DBSOURCE in GenBank entry for protein has
> the number I need. So I wrote something like this:
> 
> my $ac = $seq->annotation;
> 
> my @values = $ac->get_Annotations('dblink');
> 
> for my $value ( @values ) {
> 
> print "DBSOURCE ", ",$value->tagname,$value->as_text,"\n";
> 
> }
> 
> But I get nothing. What is going on here? Any info/ideas would be greatly
> appreciated,
> 
> Sincerely,
> 
> Mira
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at portal.open-bio.org
> http://portal.open-bio.org/mailman/listinfo/bioperl-l




More information about the Bioperl-l mailing list