40 #ifndef _AACHENGUHUANGHYDROPHOBICITYINDEX_H_ 41 #define _AACHENGUHUANGHYDROPHOBICITYINDEX_H_ 44 #include "../Alphabet/ProteicAlphabet.h" 45 #include "../Alphabet/AlphabetTools.h" 121 #endif // _AACHENGUHUANGHYDROPHOBICITYINDEX_H_ std::vector< double > * getIndexVector() const
An alphabet exception thrown when trying to specify a bad char to the alphabet.
This alphabet is used to deal NumericAlphabet.
double getIndex(int state) const
Get the index associated to a state.
AAChenGuHuangHydrophobicityIndex()
const Alphabet * getAlphabet() const
Get the alphabet associated to this index.
One dimensionnal alphabet index interface.
std::vector< double > hydrophobicity_
AAChenGuHuangHydrophobicityIndex * clone() const
An alphabet exception thrown when trying to specify a bad int to the alphabet.
Hydrophobicity of each amino acid, according to Table 1 in Chen, Gu and Huang, BMC Bioinformatics 200...
virtual ~AAChenGuHuangHydrophobicityIndex()
int charToInt(const std::string &state) const
Give the int description of a state given its string description.
double getIndex(const std::string &state) const
Get the index associated to a state.