[Bioperl-l] Parsing a Genbank file to get the Comment line.

Jason Stajich jason at cgt.duhs.duke.edu
Wed Apr 21 12:37:02 EDT 2004


See the HOWTO for Features and Annotation.

Basically when you have a sequence from SeqIO you do:
 my @comments = $seq->annotation->get_Annotations('comment');

-jason
On Wed, 21 Apr 2004, Khan, Sohail wrote:

> Hello Bioperl Experts,
>
> I have just started to use bioperl.  I want to parse a Genbank flat file and
> retrieve only the comment line from each record.  Any suggestion is greatly
> appreciated.
>
> Thanks
>
> Sohail Khan
> Scientific Programmer
> COLD SPRING HARBOR LABORATORY
> Genome Research Center
> 500 Sunnyside Boulevard
> Woodbury, NY 11797
> (516)422-4076
>
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at portal.open-bio.org
> http://portal.open-bio.org/mailman/listinfo/bioperl-l
>

--
Jason Stajich
Duke University
jason at cgt.mc.duke.edu


More information about the Bioperl-l mailing list