bpp-seq
2.2.0
|
Mass (dalton) of each amino acid, according to http://www.imb-jena.de/IMAGE_AA.html. More...
#include <Bpp/Seq/AlphabetIndex/AAMassIndex.h>
Public Member Functions | |
AAMassIndex () | |
virtual | ~AAMassIndex () |
AAMassIndex * | clone () const |
double | getIndex (int state) const throw (BadIntException) |
Get the index associated to a state. More... | |
double | getIndex (const std::string &state) const throw (BadCharException) |
Get the index associated to a state. More... | |
std::vector< double > * | getIndexVector () const |
const Alphabet * | getAlphabet () const |
Get the alphabet associated to this index. More... | |
Private Attributes | |
std::vector< double > | mass_ |
Mass (dalton) of each amino acid, according to http://www.imb-jena.de/IMAGE_AA.html.
Definition at line 52 of file AAMassIndex.h.
|
inline |
|
inlinevirtual |
Definition at line 85 of file AAMassIndex.h.
|
inlinevirtual |
Implements bpp::AlphabetIndex1.
Definition at line 87 of file AAMassIndex.h.
References AAMassIndex().
|
inlinevirtual |
Get the alphabet associated to this index.
Implements bpp::AlphabetIndex1.
Definition at line 103 of file AAMassIndex.h.
References bpp::AlphabetTools::PROTEIN_ALPHABET.
|
inlinevirtual |
Get the index associated to a state.
state | The state to consider, as a int value. |
Implements bpp::AlphabetIndex1.
Definition at line 90 of file AAMassIndex.h.
References mass_, and bpp::AlphabetTools::PROTEIN_ALPHABET.
|
inlinevirtual |
Get the index associated to a state.
state | The state to consider, as a string value. |
Implements bpp::AlphabetIndex1.
Definition at line 96 of file AAMassIndex.h.
References bpp::LetterAlphabet::charToInt(), mass_, and bpp::AlphabetTools::PROTEIN_ALPHABET.
|
inlinevirtual |
Implements bpp::AlphabetIndex1.
Definition at line 101 of file AAMassIndex.h.
References mass_.
|
private |
Definition at line 56 of file AAMassIndex.h.
Referenced by AAMassIndex(), getIndex(), and getIndexVector().