44 #include <unordered_map>
80 Size max_variable_mods_per_peptide,
81 std::vector<AASequence>& all_modified_peptides,
82 bool keep_original=
true);
95 std::vector<AASequence>& all_modified_peptides,
96 bool keep_original=
true);
Representation of a peptide/protein sequence.
Definition: AASequence.h:112
Definition: ModifiedPeptideGenerator.h:50
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)
std::unordered_map< const ResidueModification *, const Residue * > val
Definition: ModifiedPeptideGenerator.h:57
static const int N_TERM_MODIFICATION_INDEX
Definition: ModifiedPeptideGenerator.h:85
static MapToResidueType getModifications(const StringList &modNames)
Retrieve modifications from strings.
static void applyModToPep_(AASequence ¤t_peptide, int current_index, const ResidueModification *m, const MapToResidueType &var_mods)
applies a modification m to the current_peptide at current_index. Overwrites mod if it exists....
static void applyAtMostOneVariableModification_(const MapToResidueType &var_mods, const AASequence &peptide, std::vector< AASequence > &all_modified_peptides, bool keep_original=true)
static const int C_TERM_MODIFICATION_INDEX
Definition: ModifiedPeptideGenerator.h:86
static void applyAllModsAtIdxAndExtend_(std::vector< AASequence > &original_sequences, int idx_to_modify, const std::vector< const ResidueModification * > &mods, const MapToResidueType &var_mods)
take a vector of AASequences original_sequences, and for each mod in mods, add a version with mod at ...
static void applyFixedModifications(const MapToResidueType &fixed_mods, AASequence &peptide)
static MapToResidueType createResidueModificationToResidueMap_(const std::vector< const ResidueModification * > &mods)
Definition: ModifiedPeptideGenerator.h:57
Representation of a modification on an amino acid residue.
Definition: ResidueModification.h:79
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:48