Antkeeper  0.0.1
Classes | Namespaces | Functions
codon.hpp File Reference

Go to the source code of this file.

Classes

struct  genetics::codon::table
 Table for translating codons to amino acids. More...
 

Namespaces

 genetics
 Genetic algorithms.
 
 genetics::codon
 Functions and structures related to triplets of IUPAC base symbols.
 

Functions

bool genetics::codon::is_start (char base1, char base2, char base3, const char *starts)
 Returns true if a codon is a start codon. More...
 
bool genetics::codon::is_stop (char base1, char base2, char base3, const char *aas)
 Returns true if a codon is a stop codon. More...
 
char genetics::codon::translate (char base1, char base2, char base3, const char *aas)
 Translates a codon into an amino acid. More...