Augustus 3.4.0
Loading...
Searching...
No Matches
Static Public Member Functions | Static Public Attributes | List of all members
GeneticCode Class Reference

The genetic code maps codons to amino acids. More...

#include <geneticcode.hh>

Static Public Member Functions

static void init ()
 
static void printReverseGeneticMap ()
 
static void chooseTranslationTable (int)
 
static int get_aa_from_symbol (char c)
 
static char translate (int n)
 
static char translate (const char *t)
 
static char revtranslate (const char *t)
 
static bool isStopcodon (const char *t)
 
static bool isStartcodon (const char *t, bool rc=false)
 
static bool isStartcodon (int pn)
 
static Double startCodonProb (const char *t, bool rc=false)
 
static Double startCodonProb (int pn)
 
static bool isRCStopcodon (const char *t)
 
static bool containsInFrameStopcodon (const char *, int, int, bool, int)
 
static void printStartCodons ()
 
static void trainStartCodonProbs (int startcounts[])
 
static void writeStart (ofstream &out)
 
static void readStart (ifstream &in)
 
static bool is_purine (int b)
 
static ORF longestORF (const char *dna)
 

Static Public Attributes

static const char *const aa_symbols = aa_symbols_with_stop + 1
 
static const char *const aa_names []
 
static int map []
 
static int ** syncodons = 0
 
static int * codonsOfAA = 0
 

Detailed Description

The genetic code maps codons to amino acids.

Author
Mario Stanke

Member Data Documentation

◆ aa_names

const char *const GeneticCode::aa_names
static
Initial value:
= {"GLYCINE","ASPARTIC ACID","GLUTAMIC ACID","ARGININE","LYSINE","ASPARAGINE",
"GLUTAMINE","SERINE","THREONINE","ALANINE","VALINE","LEUCINE",
"ISOLEUCINE","PHENYLALANINE","TYROSINE","TRYPTOPHAN","HISTIDINE",
"METHIONINE","CYSTEINE","PROLINE"}

◆ map

int GeneticCode::map
static
Initial value:
= { 4, 5, 4, 5,
8, 8, 8, 8,
3, 7, 3, 7,
12,12,17,12,
6,16, 6,16,
19,19,19,19,
3, 3, 3, 3,
11,11,11,11,
2, 1, 2, 1,
9, 9, 9, 9,
0, 0, 0, 0,
10,10,10,10,
-1,14,-1,14,
7, 7, 7, 7,
-1,18,15,18,
11,13,11,13
}

The documentation for this class was generated from the following files: