46 #include <boost/container/flat_map.hpp>
58 struct MapToResidueType { boost::container::flat_map<const ResidueModification*, const Residue*>
val; };
73 static void applyFixedModifications(
78 static void applyVariableModifications(
81 Size max_variable_mods_per_peptide,
82 std::vector<AASequence>& all_modified_peptides,
83 bool keep_original=
true);
87 static MapToResidueType createResidueModificationToResidueMap_(
const std::vector<const ResidueModification*>& mods);
91 static void recurseAndGenerateVariableModifiedPeptides_(
92 const std::vector<int>& subset_indices,
93 const std::map<
int, std::vector<const ResidueModification*> >& map_compatibility,
97 std::vector<AASequence>& modified_peptides);
100 static void applyAtMostOneVariableModification_(
103 std::vector<AASequence>& all_modified_peptides,
104 bool keep_original=
true);