5 #ifndef BPP_PHYL_APP_BPPPHYLOGENETICSAPPLICATION_H
6 #define BPP_PHYL_APP_BPPPHYLOGENETICSAPPLICATION_H
9 #include "../Likelihood/PhyloLikelihoods/PhyloLikelihoodContainer.h"
10 #include "../Likelihood/SequenceEvolution.h"
11 #include "../Likelihood/SubstitutionProcessCollection.h"
12 #include "../Tree/PhyloTree.h"
46 virtual std::map<size_t, std::shared_ptr<PhyloTree>> getPhyloTreesMap(
47 const std::map<
size_t, std::shared_ptr<const AlignmentDataInterface>>& mSites,
48 std::map<std::string, std::string>& unparsedParams,
49 const std::string& prefix =
"input.",
50 const std::string& suffix =
"",
51 bool suffixIsOptional =
true)
const;
57 virtual std::unique_ptr<SubstitutionProcessCollection> getCollection(
58 std::shared_ptr<const Alphabet> alphabet,
59 std::shared_ptr<const GeneticCode> gCode,
60 const std::map<
size_t, std::shared_ptr<const AlignmentDataInterface>>& mSites,
61 const std::map<
size_t, std::shared_ptr<PhyloTree>>& mpTree,
62 std::map<std::string, std::string>& unparsedParams,
63 const std::string& prefix =
"input.",
64 const std::string& suffix =
"",
65 bool suffixIsOptional =
true)
const;
67 virtual std::unique_ptr<SubstitutionProcessCollection> getCollection(
68 std::shared_ptr<const Alphabet> alphabet,
69 std::shared_ptr<const GeneticCode> gCode,
70 const std::map<
size_t, std::shared_ptr<const AlignmentDataInterface>>& mSites,
71 std::map<std::string, std::string>& unparsedParams,
72 const std::string& prefix =
"input.",
73 const std::string& suffix =
"",
74 bool suffixIsOptional =
true)
const;
79 virtual std::map<size_t, std::unique_ptr<SequenceEvolution>> getProcesses(
80 std::shared_ptr<SubstitutionProcessCollection> collection,
81 std::map<std::string, std::string>& unparsedParams,
82 const std::string& suffix =
"",
83 bool suffixIsOptional =
true)
const;
88 virtual std::shared_ptr<PhyloLikelihoodContainer> getPhyloLikelihoods(
90 std::map<
size_t, std::shared_ptr<SequenceEvolution>> mSeqEvol,
91 std::shared_ptr<SubstitutionProcessCollection> collection,
92 const std::map<
size_t,
93 std::shared_ptr<const AlignmentDataInterface>>& mSites,
94 const std::string& suffix =
"",
95 bool suffixIsOptional =
true)
const;
105 virtual void fixLikelihood(
106 std::shared_ptr<const Alphabet> alphabet,
107 std::shared_ptr<const GeneticCode> gCode,
108 std::shared_ptr<PhyloLikelihoodInterface> phylolik,
109 const std::string& suffix =
"",
110 bool suffixIsOptional =
true)
const;
118 virtual void displayParameters(
120 bool displaylL =
true)
const;
BppPhylogeneticsApplication(int argc, char *argv[], const std::string &name)
Context for dataflow node construction.
The PhyloLikelihood interface, for phylogenetic likelihood.
Defines the basic types of data flow nodes.