#include <Codon.h>
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< AminoAcid > | translateAll (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. 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. |
|
|
|
1.4.4