41 #include <Bpp/Text/TextTools.h> 80 return getNPosition(codon,0);
87 return getNPosition(codon,1);
94 return getNPosition(codon,2);
102 return getNPosition(codon,0);
110 return getNPosition(codon,1);
118 return getNPosition(codon,2);
An alphabet exception thrown when trying to specify a bad char to the alphabet.
This alphabet is used to deal NumericAlphabet.
virtual int getCodon(int pos1, int pos2, int pos3) const
Get the int code for a codon given the int code of the three underlying positions.
virtual int getFirstPosition(int codon) const
Get the int code of the first position of a codon given its int description.
virtual int getSecondPosition(int codon) const
Get the int code of the second position of a codon given its int description.
An alphabet exception thrown when trying to specify a bad int to the alphabet.
virtual int getThirdPosition(int codon) const
Get the int code of the third position of a codon given its int description.