Main Page | Namespace List | Class List | Directories | File List | Namespace Members | Class Members | File Members

seq::Codon Class Reference

Utility class that defines the genetic code. More...

#include <Codon.h>

List of all members.

Static Public Member Functions

static AminoAcid translate (const NTSequence::const_iterator triplet)
 Translate a nucleotide triplet (given by the range starting and the indicated start point in a NTSequence) into an AminoAcid.
static std::set< AminoAcidtranslateAll (const NTSequence::const_iterator triplet)


Detailed Description

Utility class that defines the genetic code.


Member Function Documentation

AminoAcid seq::Codon::translate const NTSequence::const_iterator  triplet  )  [static]
 

Translate a nucleotide triplet (given by the range starting and the indicated start point in a NTSequence) into an AminoAcid.

If the triplet is three gaps, then the result is AminoAcid::GAP. If the triplet contains ambiguity codes or gaps, then the result is AminoAcid::X. Otherwise, the result is the translated amino acid.

std::set< AminoAcid > seq::Codon::translateAll const NTSequence::const_iterator  triplet  )  [static]
 


The documentation for this class was generated from the following files:
Generated on Fri Jul 14 15:30:43 2006 for libseq by  doxygen 1.4.4