Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data TranslationElement c a Source #
TranslationElement | |
|
Instances
(Show c, Show a) => Show (TranslationElement c a) Source # | |
Defined in Biobase.GeneticCodes.Types showsPrec :: Int -> TranslationElement c a -> ShowS # show :: TranslationElement c a -> String # showList :: [TranslationElement c a] -> ShowS # |
isStartCodon :: forall c a. Lens' (TranslationElement c a) Bool Source #
baseCodon :: forall c a c. Lens (TranslationElement c a) (TranslationElement c a) (Codon c) (Codon c) Source #
aminoAcid :: forall c a a. Lens (TranslationElement c a) (TranslationElement c a) a a Source #
data TranslationTable c a Source #
TranslationTable | |
|
Instances
(Show c, Show a) => Show (TranslationTable c a) Source # | |
Defined in Biobase.GeneticCodes.Types showsPrec :: Int -> TranslationTable c a -> ShowS # show :: TranslationTable c a -> String # showList :: [TranslationTable c a] -> ShowS # |
codonToAminoAcid :: forall c a. Lens' (TranslationTable c a) (Map (Codon c) (TranslationElement c a)) Source #
aminoAcidtoCodons :: forall c a. Lens' (TranslationTable c a) (Map a [TranslationElement c a]) Source #
:: (Ord c, Ord a) | |
=> Int | table identifier |
-> Text | table hdr / table name |
-> [TranslationElement c a] | known translation elements (should be |
-> TranslationTable c a | finished translation table |