#include <OpenMS/ANALYSIS/RNPXL/ModifiedPeptideGenerator.h>
◆ OpenMS::ModifiedPeptideGenerator::MapToResidueType
struct OpenMS::ModifiedPeptideGenerator::MapToResidueType |
◆ applyAtMostOneVariableModification_()
static void applyAtMostOneVariableModification_ |
( |
const MapToResidueType & |
var_mods, |
|
|
const AASequence & |
peptide, |
|
|
std::vector< AASequence > & |
all_modified_peptides, |
|
|
bool |
keep_original = true |
|
) |
| |
|
staticprotected |
◆ applyFixedModifications()
◆ 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.
◆ recurseAndGenerateVariableModifiedPeptides_()