| Safe Haskell | None | 
|---|---|
| Language | Haskell2010 | 
Biobase.Primary.AA
Description
This module has the translation tables for the genetic code.
In addition, Any is included to denote that any amino acid is ok, and
 Unknown to denote unknown data.  We do have a symbol Undef for undefined
 amino acids, which denotes error condition.
TODO this nomenclature might change!
Synopsis
- pattern Stop :: forall k (n :: k). Letter AA n
 - pattern A :: forall k (n :: k). Letter AA n
 - pattern B :: forall k (n :: k). Letter AA n
 - pattern C :: forall k (n :: k). Letter AA n
 - pattern D :: forall k (n :: k). Letter AA n
 - pattern E :: forall k (n :: k). Letter AA n
 - pattern F :: forall k (n :: k). Letter AA n
 - pattern G :: forall k (n :: k). Letter AA n
 - pattern H :: forall k (n :: k). Letter AA n
 - pattern I :: forall k (n :: k). Letter AA n
 - pattern K :: forall k (n :: k). Letter AA n
 - pattern L :: forall k (n :: k). Letter AA n
 - pattern M :: forall k (n :: k). Letter AA n
 - pattern N :: forall k (n :: k). Letter AA n
 - pattern P :: forall k (n :: k). Letter AA n
 - pattern Q :: forall k (n :: k). Letter AA n
 - pattern R :: forall k (n :: k). Letter AA n
 - pattern S :: forall k (n :: k). Letter AA n
 - pattern T :: forall k (n :: k). Letter AA n
 - pattern V :: forall k (n :: k). Letter AA n
 - pattern W :: forall k (n :: k). Letter AA n
 - pattern X :: forall k (n :: k). Letter AA n
 - pattern Y :: forall k (n :: k). Letter AA n
 - pattern Z :: forall k (n :: k). Letter AA n
 - pattern Any :: forall k (n :: k). Letter AA n
 - pattern Unknown :: forall k (n :: k). Letter AA n
 - pattern Undef :: forall k (n :: k). Letter AA n
 - aa :: Int -> Letter AA n
 - aaRange :: Vector (Letter AA n)
 - charAA :: Char -> Letter AA n
 - aaChar :: Letter AA n -> Char
 - charBaa :: Bimap (HashMap Char (Letter AA n)) (HashMap (Letter AA n) Char)
 - twentyAA :: Vector (Letter AA n)
 
Documentation
Creating functions and aa data.
lookup tables
twentyAA :: Vector (Letter AA n) Source #
List of the twenty "default" amino acids. Used, for example, by HMMer.
instances
Orphan instances
| LetterChar AA (n :: k) Source # | |
| MkPrimary (Vector Char) AA (n :: k) Source # | |
| Bounded (Letter AA n) Source # | |
| Enum (Letter AA n) Source # | |
Methods succ :: Letter AA n -> Letter AA n # pred :: Letter AA n -> Letter AA n # toEnum :: Int -> Letter AA n # fromEnum :: Letter AA n -> Int # enumFrom :: Letter AA n -> [Letter AA n] # enumFromThen :: Letter AA n -> Letter AA n -> [Letter AA n] # enumFromTo :: Letter AA n -> Letter AA n -> [Letter AA n] # enumFromThenTo :: Letter AA n -> Letter AA n -> Letter AA n -> [Letter AA n] #  | |
| Read (Letter AA n) Source # | |
| Show (Letter AA n) Source # | |
| ToJSON (Letter AA n) Source # | |
| FromJSON (Letter AA n) Source # | |