46 #include <boost/container/flat_map.hpp>
58 struct MapToResidueType { boost::container::flat_map<const ResidueModification*, const Residue*>
val; };
81 Size max_variable_mods_per_peptide,
82 std::vector<AASequence>& all_modified_peptides,
83 bool keep_original=
true);
92 const std::vector<int>& subset_indices,
93 const std::map<
int, std::vector<const ResidueModification*> >& map_compatibility,
97 std::vector<AASequence>& modified_peptides);
103 std::vector<AASequence>& all_modified_peptides,
104 bool keep_original=
true);
Representation of a peptide/protein sequence.
Definition: AASequence.h:112
Definition: ModifiedPeptideGenerator.h:51
boost::container::flat_map< const ResidueModification *, const Residue * > val
Definition: ModifiedPeptideGenerator.h:58
static void applyVariableModifications(const MapToResidueType &var_mods, const AASequence &peptide, Size max_variable_mods_per_peptide, std::vector< AASequence > &all_modified_peptides, bool keep_original=true)
static MapToResidueType getModifications(const StringList &modNames)
Retrieve modifications from strings.
static void recurseAndGenerateVariableModifiedPeptides_(const std::vector< int > &subset_indices, const std::map< int, std::vector< const ResidueModification * > > &map_compatibility, const MapToResidueType &var_mods, int depth, const AASequence ¤t_peptide, std::vector< AASequence > &modified_peptides)
static void applyAtMostOneVariableModification_(const MapToResidueType &var_mods, const AASequence &peptide, std::vector< AASequence > &all_modified_peptides, bool keep_original=true)
static void applyFixedModifications(const MapToResidueType &fixed_mods, AASequence &peptide)
static MapToResidueType createResidueModificationToResidueMap_(const std::vector< const ResidueModification * > &mods)
Definition: ModifiedPeptideGenerator.h:58
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
std::vector< String > StringList
Vector of String.
Definition: ListUtils.h:70
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47