5 #ifndef BPP_SEQ_APP_BPPSEQUENCEAPPLICATION_H
6 #define BPP_SEQ_APP_BPPSEQUENCEAPPLICATION_H
19 #include "../Alphabet/Alphabet.h"
20 #include "../Alphabet/CodonAlphabet.h"
21 #include "../Container/AlignmentData.h"
22 #include "../Container/SiteContainer.h"
46 virtual std::shared_ptr<Alphabet> getAlphabet(
47 const string& suffix =
"",
48 bool suffixIsOptional =
true,
49 bool allowGeneric =
false)
const;
54 virtual std::shared_ptr<GeneticCode> getGeneticCode(
55 std::shared_ptr<const Alphabet>& alphabet,
56 const string& suffix =
"",
57 bool suffixIsOptional =
true)
const;
62 virtual std::map<size_t, std::unique_ptr<AlignmentDataInterface>>
64 std::shared_ptr<const Alphabet>& alphabet,
65 bool changeGapsToUnknownCharacters =
true,
66 bool optionalData =
false,
67 const std::string& prefix =
"input.",
68 const std::string& suffix =
"",
69 bool suffixIsOptional =
true)
const;
75 virtual std::map<size_t, std::unique_ptr<const AlignmentDataInterface>>
76 getConstAlignmentsMap(
77 std::shared_ptr<const Alphabet>& alphabet,
78 bool changeGapsToUnknownCharacters =
true,
79 bool optionalData =
false,
80 const std::string& prefix =
"input.",
81 const std::string& suffix =
"",
82 bool suffixIsOptional =
true)
const;
BppSequenceApplication(int argc, char *argv[], const std::string &name)
This alphabet is used to deal NumericAlphabet.