[Bioperl-l] getting pubmed id from genbank files

Jason Stajich jason.stajich at duke.edu
Tue Jul 26 10:28:15 EDT 2005



Here is part of the synopsis in Bio::Seq:

     foreach my $ref ( $ann->get_Annotations('reference') ) {
         print "Reference ",$ref->title,"\n";
     }

  so do $ref->pubmed instead of $ref->title.


-jason
> On Jul 26, 2005, at 6:02 AM, Nathan Haigh wrote:
>
>> I want to be able to supply a list of GI's, retrieve the genbank 
>> files and
>> parse out the pubmed id's.
>>
>>
>>
>> I know I can do the first steps of retrieving the genbank files 
>> directly,
>> but how do I get the pubmed id's? I've been playing around with 
>> things and
>> haven't yet found out if this can be done.
>>
>>
>>
>> Cheers,
>>
>> Nathan
>>
>>
>>
>> ----------------------------------
>>
>> Nathan Haigh
>>
>> Bioinformatics PostDoctoral Research Associate
>>
>>
>>
>> Room B2 211
>>
>> Department of Animal and Plant Sciences
>>
>> University of Sheffield
>>
>> Western Bank
>>
>> Sheffield
>>
>> S10 2TN
>>
>>
>>
>> Tel: +44 (0)114 22 20112
>>
>> Mob: +44 (0)7742 533 569
>>
>> Fax: +44 (0)114 22 20002
>>
>>
>>
>> _______________________________________________
>> Bioperl-l mailing list
>> Bioperl-l at portal.open-bio.org
>> http://portal.open-bio.org/mailman/listinfo/bioperl-l
>>
> --
> Jason Stajich
> http://www.duke.edu/~jes12
> jason.stajich -at- duke.edu
>
>
--
Jason Stajich
http://www.duke.edu/~jes12
jason.stajich -at- duke.edu



More information about the Bioperl-l mailing list