[Bioperl-l] (no subject)

Jason Stajich jason@cgt.mc.duke.edu
Wed, 7 Aug 2002 11:45:28 -0400 (EDT)


see the Bio::SeqIO and Bio::Seq modules

use Bio::SeqIO;
my $in = new Bio::SeqIO(-format => 'fasta', -file => 'filename');
while( my $seq = $in->next_seq ) {
 print $seq->display_id(), "  ", $seq->desc(), "\n";
}

On Wed, 7 Aug 2002, Benjamin Breu wrote:

> Hi,
>
> i wanted to extract the description of the proteins out of a
> NCBI-FASTA format file. Anybody who knows the command in BioPerl with
> which I can access them directly ?
>
> Thx for help
>
>
> Ben
>
>
>
> P.S. The problem of yesterday has been cleared. Thx
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l@bioperl.org
> http://bioperl.org/mailman/listinfo/bioperl-l
>

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