41 #ifndef _PHYLOGENETICSAPPLICATIONTOOLS_H_ 42 #define _PHYLOGENETICSAPPLICATIONTOOLS_H_ 45 #include "../Model/SubstitutionModel.h" 46 #include "../Model/SubstitutionModelSet.h" 47 #include "../Model/MixedSubstitutionModelSet.h" 48 #include "../Model/MarkovModulatedSubstitutionModel.h" 49 #include "../Likelihood/HomogeneousTreeLikelihood.h" 50 #include "../Likelihood/ClockTreeLikelihood.h" 51 #include "../Mapping/SubstitutionCount.h" 52 #include <Bpp/Text/TextTools.h> 53 #include <Bpp/Text/StringTokenizer.h> 54 #include <Bpp/Io/OutputStream.h> 55 #include <Bpp/Numeric/Prob/DiscreteDistribution.h> 56 #include <Bpp/Numeric/Prob/MultipleDiscreteDistribution.h> 57 #include <Bpp/Numeric/Function/Optimizer.h> 60 #include <Bpp/Seq/Container/SiteContainer.h> 61 #include <Bpp/Seq/Container/VectorSiteContainer.h> 108 std::map<std::string, std::string>& params,
109 const std::string& prefix =
"input.",
110 const std::string& suffix =
"",
111 bool suffixIsOptional =
true,
113 int warn = 1)
throw (Exception);
130 std::map<std::string, std::string>& params,
131 const std::string& prefix =
"input.",
132 const std::string& suffix =
"",
133 bool suffixIsOptional =
true,
135 int warn = 1)
throw (Exception);
159 const Alphabet* alphabet,
160 const GeneticCode* gCode,
161 const SiteContainer* data,
162 std::map<std::string, std::string>& params,
163 const std::string& suffix =
"",
164 bool suffixIsOptional =
true,
166 int warn = 1)
throw (Exception);
192 std::map<std::string, std::string>& unparsedParameterValues,
194 const SiteContainer* data,
195 std::map<std::string, double>& existingParams,
196 std::map<std::string, std::string>& sharedParams,
197 bool verbose)
throw (Exception);
219 const Alphabet* alphabet,
220 const GeneticCode* gCode,
221 const SiteContainer* data,
222 std::map<std::string, std::string>& params,
223 const std::vector<double>& rateFreqs,
224 const std::string& suffix =
"",
225 bool suffixIsOptional =
true,
227 int warn = 1)
throw (Exception);
248 const Alphabet* alphabet,
249 const GeneticCode* gCode,
250 const std::string& freqDescription,
251 const SiteContainer* data,
252 const std::vector<double>& rateFreqs,
264 const Alphabet* alphabet,
265 const GeneticCode* gcode,
266 const SiteContainer* data,
267 std::map<std::string, std::string>& params,
268 const std::string& suffix =
"",
269 bool suffixIsOptional =
true,
329 const Alphabet* alphabet,
330 const GeneticCode* gcode,
331 const SiteContainer* data,
332 std::map<std::string, std::string>& params,
333 const std::string& suffix =
"",
334 bool suffixIsOptional =
true,
403 const Alphabet* alphabet,
404 const SiteContainer* data,
405 std::map<std::string, std::string>& params,
406 const std::string& suffix =
"",
407 bool suffixIsOptional =
true,
427 const std::string& distDescription,
428 std::map<std::string, std::string>& unparsedParameterValues,
429 bool verbose =
true);
446 std::map<std::string, std::string>& params,
447 const std::string& suffix =
"",
448 bool suffixIsOptional =
true,
474 const ParameterList& parameters,
475 std::map<std::string, std::string>& params,
476 const std::string& suffix =
"",
477 bool suffixIsOptional =
true,
497 const ParameterList& parameters,
498 std::map<std::string, std::string>& params,
499 const std::string& suffix =
"",
500 bool suffixIsOptional =
true,
527 const Alphabet* alphabet,
529 map<string, string>& params,
552 std::map<std::string, std::string>& params,
553 const std::string& prefix =
"output.",
554 const std::string& suffix =
"",
555 bool suffixIsOptional =
true,
557 bool checkOnly =
false,
558 int warn = 1)
throw (Exception);
577 const std::vector<Tree*>& trees,
578 std::map<std::string, std::string>& params,
579 const std::string& prefix =
"output.",
580 const std::string& suffix =
"",
581 bool suffixIsOptional =
true,
583 bool checkOnly =
false,
584 int warn = 1)
throw (Exception);
616 static void printParameters(
const DiscreteDistribution* rDist, OutputStream& out);
622 #endif //_PHYLOGENETICSAPPLICATIONTOOLS_H_
Substitution models manager for non-homogeneous / non-reversible models of evolution.
Interface for all substitution models.
The TreeLikelihood interface.
The phylogenetic tree class.
Interface for phylogenetic tree objects.
Parametrize a set of state frequencies.
Substitution models manager for Mixed Substitution Models. This class inherits from SubstitutionModel...
Interface for likelihood computation with a global clock and rate across sites variation.
The SubstitutionsCount interface.