43 #include "../AbstractBiblioMixedSubstitutionModel.h" 44 #include "../MixtureOfASubstitutionModel.h" 45 #include "../FrequenciesSet/CodonFrequenciesSet.h" 47 #include <Bpp/Seq/GeneticCode/GeneticCode.h> 109 std::string
getName()
const {
return "YNGKP_M7"; }
122 #endif //_YNGKP_M7_H_ const FrequenciesSet * getFrequenciesSet() const
If the model owns a FrequenciesSet, returns a pointer to it, otherwise return 0.
Interface for all substitution models.
Abstract class for mixture models based on the bibliography.
YNGKP_M7 & operator=(const YNGKP_M7 &)
Parametrize a set of state frequencies.
MixedSubstitutionModel & getMixedModel()
const SubstitutionModel & getModel() const
Interface for reversible substitution models.
SubstitutionModel & getModel()
std::string getName() const
Get the name of the model.
size_t synfrom_
indexes of 2 codons between which the substitution is synonymous, to set a basis to the homogeneizati...
YNGKP_M7(const GeneticCode *gc, FrequenciesSet *codonFreqs, unsigned int nclass)
const MixedSubstitutionModel & getMixedModel() const
std::auto_ptr< MixtureOfASubstitutionModel > pmixmodel_
The Yang et al (2000) M7 substitution model for codons.
Interface for Substitution models, defined as a mixture of "simple" substitution models.