bioparse-0.1.0.0: A simple library for parsing various bioinformatics sequence formats

Safe HaskellNone
LanguageHaskell2010

Bio.Parse.Sequence.Fasta

Synopsis

Documentation

parseHeader :: ParseConstraint m => m [ByteString] #

Parses the header of a FASTA file.

The header starts with a > character and gets separated by | (pipe) characters. When making use of BioSeq, the first word of the header is used as the seqid.

parseSequenceLine :: ParseConstraint m => m ByteString #

Parses an individual line of the sequence.

parseSequence' :: ParseConstraint m => m FastaSequence #

Parses an entire sequence including its header.

parseSequences' :: ParseConstraint m => m [FastaSequence] #

Parses many sequences.