#include <OpenMS/CHEMISTRY/ModifiedPeptideGenerator.h>
◆ OpenMS::ModifiedPeptideGenerator::MapToResidueType
struct OpenMS::ModifiedPeptideGenerator::MapToResidueType |
◆ applyAllModsAtIdxAndExtend_()
take a vector of AASequences original_sequences
, and for each mod in mods
, add a version with mod at index idx_to_modify
. In-place, with the original sequences recieving the first mod in mods
.
◆ applyAtMostOneVariableModification_()
static void applyAtMostOneVariableModification_ |
( |
const MapToResidueType & |
var_mods, |
|
|
const AASequence & |
peptide, |
|
|
std::vector< AASequence > & |
all_modified_peptides, |
|
|
bool |
keep_original = true |
|
) |
| |
|
staticprotected |
◆ applyFixedModifications()
◆ applyModToPep_()
applies a modification m
to the current_peptide
at current_index
. Overwrites mod if it exists. Looks up in var_mods for existing modified Residue pointers.
◆ applyVariableModifications()
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 |
◆ createResidueModificationToResidueMap_()
◆ getModifications()
Retrieve modifications from strings.
- Parameters
-
modNames | The list of modification names |
- Returns
- A map of modifications and associated residue ResidueModifications are referenced by Residues in AASequence objects. Every time an AASequence object with modifications is constructed, it needs to query if the (modified) Residue is already registered in ResidueDB. This implies a lock of the whole db. To make modified peptide generation lock-free, we query and cache all modified residues once so we can directly apply them without further queries.
◆ C_TERM_MODIFICATION_INDEX
const int C_TERM_MODIFICATION_INDEX |
|
staticprotected |
◆ N_TERM_MODIFICATION_INDEX
const int N_TERM_MODIFICATION_INDEX |
|
staticprotected |