Safe Haskell | None |
---|
Degenerate base symbol representation. We use the same conventions as in
which ignores
U
racil, except if it stands alone. Therefore, any RNA sequence should be
converted to DNA (and back afterwards).
NOTE that the generic Char
instance is not optimized for speed.
TODO this should be easier once we have instances for RNA,DNA, etc
- class Degenerate x where
- fromSymbol :: x -> [x]
- toSymbol :: [x] -> Maybe x
- iupacList :: [(Char, String)]
- iupacNucleotides :: ByteString
Documentation
class Degenerate x whereSource
fromSymbol :: x -> [x]Source
Raw embeddings
iupacNucleotides :: ByteStringSource
Raw iupac data, embedded into the library.