| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Biobase.Primary.Trans
Contents
Description
This module provides functionality for translation between nucleotides and amino acids.
NOTE aaDNAseq is lossy. Might be a good idea to consider something
more involved?
TODO we need different functions, depending on if we have a part of
a genome in DNA form, or some messenger RNA. It'll probably also be
useful to return Either, with Left indicating error like partially
translated sequence due to intermediate stop codons, or so.
TODO dnaAAseq and aaDNAseq can be nicely optimized using flatten
and friends.
Synopsis
- letterTranslationTable :: TranslationTable Char Char -> TranslationTable (Letter DNA n) (Letter AA n)
Documentation
letterTranslationTable :: TranslationTable Char Char -> TranslationTable (Letter DNA n) (Letter AA n) Source #
Transform translation tables into the Letter DNA/Letter AA format.
Orphan instances
| Translation (Codon (Letter DNA n)) Source # | |
Methods translate :: TranslationTable (CodonType (Codon (Letter DNA n))) (AAType (Codon (Letter DNA n))) -> Codon (Letter DNA n) -> TargetType (Codon (Letter DNA n)) # translateAllFrames :: TranslationTable (CodonType (Codon (Letter DNA n))) (AAType (Codon (Letter DNA n))) -> Codon (Letter DNA n) -> TargetType (Codon (Letter DNA n)) # | |
| Translation (Primary DNA n) Source # | |