18 #include <unordered_map>
54 Size max_variable_mods_per_peptide,
55 std::vector<AASequence>& all_modified_peptides,
56 bool keep_original=
true);
69 std::vector<AASequence>& all_modified_peptides,
70 bool keep_original=
true);
Representation of a peptide/protein sequence.
Definition: AASequence.h:86
Definition: ModifiedPeptideGenerator.h:24
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:31
static const int N_TERM_MODIFICATION_INDEX
Definition: ModifiedPeptideGenerator.h:59
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:60
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:31
Representation of a modification on an amino acid residue.
Definition: ResidueModification.h:53
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:97
std::vector< String > StringList
Vector of String.
Definition: ListUtils.h:44
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19