fasta-0.7.2.1: A simple, mindless parser for fasta files.

Safe HaskellNone
LanguageHaskell98

Data.Fasta.Text.Parse

Description

Collection of functions for the parsing of a fasta file. Uses the Text type.

Synopsis

Documentation

parseFasta :: Text -> [FastaSequence] Source

Parse a standard fasta file into text sequences

parseCLIPFasta :: Text -> CloneMap Source

Parse a CLIP fasta file into text sequences

pipesFasta :: MonadIO m => Producer Text m () -> Producer FastaSequence m () Source

Parse a standard fasta file into strict text sequences for pipes. This is the highly recommeded way of parsing, as it is computationally fast and uses memory based on line length

removeNs :: [FastaSequence] -> [FastaSequence] Source

Remove Ns from a collection of sequences

removeN :: FastaSequence -> FastaSequence Source

Remove Ns from a sequence

removeCLIPNs :: CloneMap -> CloneMap Source

Remove Ns from a collection of CLIP fasta sequences