[Bioperl-l] How to read in FASTA formatted sequence without fasta header?

Richard Sucgang, PhD rsucgang at bcm.tmc.edu
Fri Sep 30 17:59:29 EDT 2005


Well, maybe I am mistaken, but isn't the header line the item that  
makes a FASTA file a FASTA file?
As in, now you have a raw sequence.


On Sep 30, 2005, at 3:43 PM, Ryan Golhar wrote:

> I'm looking for the easier way to read in a fasta file that doesn't
> contain the fasta header, ie the ">..." line.
>
> I tried just specifying fasta, but then the first line of the sequence
> is taken as the name of the sequence.  I also tried specifying raw,  
> but
> then only the first line is read.
>
> Is there any (easy) way to do this without reformatting the fasta file
> or creating a new one?  Thanks,
>
> Ryan


More information about the Bioperl-l mailing list