| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Biobase.Primary.Letter
Contents
Description
A newtype with an attached phenotype which allows us to encode
nucleotides and amino acids. Actual seqence-specific functions can be
founds in the appropriate modules AA and Nuc.
Documentation
A Letter together with its phantom type t encodes bio-sequences.
Instances
class LetterChar t where Source #
Convert Letter types into character forms. DNA, RNA, and amino
acid sequences can make use of this. Other Letter types only if they
have single-char representations.
Minimal complete definition
Instances
class MkPrimary n t where Source #
Conversion from a large number of sequence-like inputs to primary sequences.
Minimal complete definition
Instances
| MkPrimary (Vector Char) t => MkPrimary ByteString t Source # | |
| MkPrimary (Vector Char) t => MkPrimary ByteString t Source # | |
| MkPrimary (Vector Char) t => MkPrimary String t Source # | |
| MkPrimary (Vector Char) t => MkPrimary Text t Source # | |
| MkPrimary (Vector Char) t => MkPrimary Text t Source # | |
| MkPrimary (Vector Char) DNA Source # | |
| MkPrimary (Vector Char) RNA Source # | |
| MkPrimary (Vector Char) XNA Source # | |
| MkPrimary (Vector Char) DEG Source # | |
| MkPrimary (Vector Char) AA Source # | |
| MkPrimary (Vector Int) Unknown Source # | |