Safe Haskell | None |
---|---|
Language | Haskell98 |
Collection of functions for the parsing of a fasta file. Uses the Text type.
- parseFasta :: Text -> [FastaSequence]
- parseCLIPFasta :: Text -> CloneMap
- pipesFasta :: MonadIO m => Producer Text m () -> Producer FastaSequence m ()
- removeNs :: [FastaSequence] -> [FastaSequence]
- removeN :: FastaSequence -> FastaSequence
- removeCLIPNs :: CloneMap -> CloneMap
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