theplu::yat::omic::Codon Class Reference

#include <yat/omic/Codon.h>

List of all members.

Classes

struct  Compare_

Public Member Functions

 Codon (void)
 Defaulf constructor.
 Codon (const std::string &str)
 Codon (const DNA &first, const DNA &second, const DNA &third)
char amino_acid (void) const
const DNAoperator() (size_t i) const
bool start (void) const
bool stop (void) const


Detailed Description

Class holding a triplet of DNAs that are translated to an amino acid.

AlaAGCT,GCC,GCA,GCG
LeuLTTA,TTG,CTT,CTC,CTA,CTG
ArgRCGT,CGC,CGA,CGG,AGA,AGG
LysKAAA,AAG
AsnNAAT,AAC
MetMATG
AspDGAT,GAC
PheFTTT,TTC
CysCTGT,TGC
ProPCCT,CCC,CCA,CCG
GlnQCAA,CAG
SerSTCT,TCC,TCA,TCG,AGT,AGC
GluEGAA,GAG
ThrTACT,ACC,ACA,ACG
GlyGGGT,GGC,GGA,GGG
TrpWTGG
HisHCAT,CAC
TyrYTAT,TAC
IleIATT,ATC,ATA
ValVGTT,GTC,GTA,GTG
STARTATG
STOP*TAA,TGA,TAG

Since:
New in yat 0.7

Constructor & Destructor Documentation

theplu::yat::omic::Codon::Codon ( void   ) 

Defaulf constructor.

Value is undefined

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

theplu::yat::omic::Codon::Codon ( const DNA first,
const DNA second,
const DNA third 
)

Create Codon from three DNA


Member Function Documentation

char theplu::yat::omic::Codon::amino_acid ( void   )  const

Returns:
one character describing which amino acid the Codon translates to.

const DNA& theplu::yat::omic::Codon::operator() ( size_t  i  )  const

Returns:
i th DNA

bool theplu::yat::omic::Codon::start ( void   )  const

Returns:
true if Codon is a start Codon: "ATG"

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:

Generated on Mon Nov 7 02:25:52 2011 for yat by  doxygen 1.5.9