fasta-0.8.0.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

parseFasta :: ByteString -> [FastaSequence] Source

Parse a standard fasta file into lazy text sequences

parseCLIPFasta :: ByteString -> CloneMap Source

Parse a CLIP fasta file into lazy text sequences

pipesFasta :: MonadIO m => Producer ByteString 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