Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell98 |
Collection of functions for the parsing of a fasta file. Uses the string type.
- parseFasta :: String -> [FastaSequence]
- parseCLIPFasta :: String -> CloneMap
- pipesFasta :: MonadIO m => Handle -> Pipe String FastaSequence m ()
- removeNs :: [FastaSequence] -> [FastaSequence]
- removeN :: FastaSequence -> FastaSequence
- removeCLIPNs :: CloneMap -> CloneMap
Documentation
parseFasta :: String -> [FastaSequence] Source
Parse a standard fasta file into string sequences
parseCLIPFasta :: String -> CloneMap Source
Parse a CLIP fasta file into string sequences
pipesFasta :: MonadIO m => Handle -> Pipe String FastaSequence m () Source
Parse a standard fasta file into string sequences for pipes. This is the highly recommeded way of parsing, as it is computationally fast and uses constant file memory
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