[Bioperl-l] Parsing a Fasta file

Desmond LIM desmond_lim at bti.a-star.edu.sg
Wed Mar 31 21:53:35 EST 2004


I have a file that contains protein sequences in fasta format.
 
I need to be able to read each sequence individually, with their
accessions (to check against a database). I was wondering if there is a
module that could do that, giving me 2 variables (the accession and
sequence). I have gone throught the bioperl modules and I found modules
that either just take in 1 sequence and parse it or take in the sequence
if it is in 1 line and not broken into a few like mine. Am I right?
 
Thanks.
 
Desmond


More information about the Bioperl-l mailing list