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

Safe HaskellNone
LanguageHaskell98

Data.Fasta.ByteString.Lazy.Parse

Description

Collection of functions for the parsing of a fasta file. Uses the lazy - ByteString type.

Synopsis

Documentation

parsecFasta :: ByteString -> [FastaSequence] Source #

Parse a standard fasta file into

parsecCLIPFasta :: ByteString -> CloneMap Source #

Parse a CLIP fasta file into

attoFasta :: ByteString -> [FastaSequence] Source #

Parse a standard fasta file

attoCLIPFasta :: ByteString -> [(Germline, [FastaSequence])] Source #

Parse a CLIP fasta file into text sequences

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

Parse a standard fasta file into a pipe

pipesCLIPFasta :: MonadIO m => Producer ByteString m () -> Producer (Germline, [FastaSequence]) m (Either (ParsingError, Producer ByteString m ()) ()) Source #

Parse a CLIP fasta file into strict text sequences for pipes.

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