Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data Nucleotide = Nucleotide {}
- traceIdx :: Lens' Nucleotide Integer
- quality :: Lens' Nucleotide Integer
- nucleotide :: Lens' Nucleotide Char
- data PhdSequence = PhdSequence {
- _identifier :: ByteString
- _sequence :: [Nucleotide]
- sequence :: Lens' PhdSequence [Nucleotide]
- identifier :: Lens' PhdSequence ByteString
- parseComment :: ParseConstraint m => m ByteString
- spacesWithComments :: ParseConstraint m => m ()
- parseNucleotide :: (TokenParsing m, ParseConstraint m) => m Nucleotide
- parseDnaSection :: (TokenParsing m, ParseConstraint m) => m [Nucleotide]
- parseSequence' :: (TokenParsing m, ParseConstraint m) => m PhdSequence
- parseSequences' :: (TokenParsing m, ParseConstraint m) => m [PhdSequence]
Documentation
data Nucleotide #
traceIdx :: Lens' Nucleotide Integer #
quality :: Lens' Nucleotide Integer #
nucleotide :: Lens' Nucleotide Char #
data PhdSequence #
Eq PhdSequence # | |
Ord PhdSequence # | |
Show PhdSequence # | |
SequenceParser PhdSequence # | Parses sequences from a |
sequence :: Lens' PhdSequence [Nucleotide] #
identifier :: Lens' PhdSequence ByteString #
parseComment :: ParseConstraint m => m ByteString #
Parse a comment from a PHD file.
We store the comment as a ByteString
but we don't actually use it right
now.
spacesWithComments :: ParseConstraint m => m () #
Treat comments as spaces.
parseNucleotide :: (TokenParsing m, ParseConstraint m) => m Nucleotide #
Parse a nucleotide line from a PHD file.
parseDnaSection :: (TokenParsing m, ParseConstraint m) => m [Nucleotide] #
Parse a section of nucleotides from a PHD file.
parseSequence' :: (TokenParsing m, ParseConstraint m) => m PhdSequence #
Parse a sequence from a PHD file.
parseSequences' :: (TokenParsing m, ParseConstraint m) => m [PhdSequence] #
Parses many sequences.