5 #ifndef BPP_PHYL_MODEL_CODON_DFP07_H
6 #define BPP_PHYL_MODEL_CODON_DFP07_H
10 #include "../AbstractBiblioMixedTransitionModel.h"
11 #include "../FrequencySet/CodonFrequencySet.h"
12 #include "../MixtureOfASubstitutionModel.h"
13 #include "../Protein/ProteinSubstitutionModel.h"
66 std::shared_ptr<const GeneticCode> gCode,
67 std::unique_ptr<ProteinSubstitutionModelInterface> pAAmodel,
68 std::unique_ptr<CodonFrequencySetInterface> codonFreqs);
86 return new DFP07(*
this);
106 std::string
getName()
const override {
return "DFP07"; }
Abstract class for mixture models based on the bibliography.
AbstractBiblioMixedTransitionModel & operator=(const AbstractBiblioMixedTransitionModel &model)
const MixedTransitionModelInterface & mixedModel() const
const TransitionModelInterface & nModel(size_t i) const override
Returns the submodel from the mixture.
Partial implementation of the SubstitutionModel interface for models that are set for matching the bi...
Abstract class of Wrapping model class, where all methods are redirected from model().
Class for modelling of non-synonymous rates in codon models, such that the substitution rates between...
Class for non-synonymous substitution models on codons with parameterized equilibrium frequencies and...
void updateMatrices_() override
const MixtureOfASubstitutionModel * mixedSubModelPtr_
const ProteinSubstitutionModelInterface & proteinModel() const
virtual DFP07 * clone() const override
std::string getName() const override
Get the name of the model.
DFP07 & operator=(const DFP07 &mod2)
size_t synfrom_
indexes of 2 codons states between which the substitution is synonymous, to set a basis to the homoge...
DFP07(std::shared_ptr< const GeneticCode > gCode, std::unique_ptr< ProteinSubstitutionModelInterface > pAAmodel, std::unique_ptr< CodonFrequencySetInterface > codonFreqs)
Specialized interface for protein substitution model.
Defines the basic types of data flow nodes.