[Bioperl-l] Fasta headers

Rasa Gulbinaite rasa at obj.hopto.org
Tue Jan 4 11:31:07 EST 2005


Thank you all very much. It was really helpful.


Rasa

> Rasa,
>
> On Unix:
>
>>grep '>' fasta-file
>
> Anywhere, with Perl:
>
>>perl -ne 'print if /^>/' fasta-file
>
>
> Brian O.
>
>
> -----Original Message-----
> From: bioperl-l-bounces at portal.open-bio.org
> [mailto:bioperl-l-bounces at portal.open-bio.org]On Behalf Of Rasa
> Gulbinaite
> Sent: Monday, January 03, 2005 9:41 AM
> To: bioperl-l at portal.open-bio.org
> Subject: [Bioperl-l] Fasta headers
>
>
> Hello,
>
> i'm new to bioperl and a bit confused with fasta file headers. I'm working
> with SNPs and i would like to get only the fasta headers form the fasta
> file, not the sequences. What would be the best way to do this? Thank you.
>
> Rasa
>
> _______________________________________________
> 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