#include <yat/omic/Codon.h>
Class holding a triplet of DNAs that are translated to an amino acid.
Ala | A | GCT,GCC,GCA,GCG |
Leu | L | TTA,TTG,CTT,CTC,CTA,CTG |
Arg | R | CGT,CGC,CGA,CGG,AGA,AGG |
Lys | K | AAA,AAG |
Asn | N | AAT,AAC |
Met | M | ATG |
Asp | D | GAT,GAC |
Phe | F | TTT,TTC |
Cys | C | TGT,TGC |
Pro | P | CCT,CCC,CCA,CCG |
Gln | Q | CAA,CAG |
Ser | S | TCT,TCC,TCA,TCG,AGT,AGC |
Glu | E | GAA,GAG |
Thr | T | ACT,ACC,ACA,ACG |
Gly | G | GGT,GGC,GGA,GGG |
Trp | W | TGG |
His | H | CAT,CAC |
Tyr | Y | TAT,TAC |
Ile | I | ATT,ATC,ATA |
Val | V | GTT,GTC,GTA,GTG |
START | | ATG |
STOP* | | TAA,TGA,TAG |
- Since
- New in yat 0.7
◆ Codon() [1/3]
theplu::yat::omic::Codon::Codon |
( |
void |
| ) |
|
Defaulf constructor.
Value is undefined
◆ Codon() [2/3]
theplu::yat::omic::Codon::Codon |
( |
const std::string & |
str | ) |
|
str must be three characters long and each character must be convertible to a DNA.
- See also
- DNA
◆ Codon() [3/3]
theplu::yat::omic::Codon::Codon |
( |
const DNA & |
first, |
|
|
const DNA & |
second, |
|
|
const DNA & |
third |
|
) |
| |
◆ amino_acid()
char theplu::yat::omic::Codon::amino_acid |
( |
void |
| ) |
const |
- Returns
- one character describing which amino acid the Codon translates to.
◆ amino_acid_long()
std::string theplu::yat::omic::Codon::amino_acid_long |
( |
void |
| ) |
const |
- Returns
- three characters describing which amino acid the Codon translates to.
- Since
- New in yat 0.14
◆ operator()()
const DNA& theplu::yat::omic::Codon::operator() |
( |
size_t |
i | ) |
const |
◆ start()
bool theplu::yat::omic::Codon::start |
( |
void |
| ) |
const |
◆ stop()
bool theplu::yat::omic::Codon::stop |
( |
void |
| ) |
const |
- Returns
true
if Codon is a stop codon (see class docs).
The documentation for this class was generated from the following file: