|
void | readFromOBOFile (const String &filename) |
| Adds modifications from a given file in OBO format. More...
|
|
void | getAllSearchModifications (std::vector< String > &modifications) const |
| Collects all modifications that can be used for identification searches. More...
|
|
Size | getNumberOfModifications () const |
| Returns the number of modifications read from the unimod.xml file. More...
|
|
const ResidueModification & | getModification (Size index) const |
| Returns the modification with the given index. More...
|
|
void | searchModifications (std::set< const ResidueModification *> &mods, const String &mod_name, const String &residue="", ResidueModification::TermSpecificity term_spec=ResidueModification::NUMBER_OF_TERM_SPECIFICITY) const |
| Collects all modifications which have the given name as synonym. More...
|
|
const ResidueModification & | getModification (const String &mod_name, const String &residue="", ResidueModification::TermSpecificity term_spec=ResidueModification::NUMBER_OF_TERM_SPECIFICITY) const |
| Returns the modification with the given name. More...
|
|
bool | has (String modification) const |
| Returns true if the modification exists. More...
|
|
void | addModification (ResidueModification *new_mod) |
| Add a new modification to ModificationsDB. More...
|
|
Size | findModificationIndex (const String &mod_name) const |
| Returns the index of the modification in the mods_ vector; a unique name must be given. More...
|
|
void | searchModificationsByDiffMonoMass (std::vector< String > &mods, double mass, double max_error, const String &residue="", ResidueModification::TermSpecificity term_spec=ResidueModification::NUMBER_OF_TERM_SPECIFICITY) |
| Collects all modifications with matching delta mass. More...
|
|
const ResidueModification * | getBestModificationByMonoMass (double mass, double max_error, const String &residue="", ResidueModification::TermSpecificity term_spec=ResidueModification::NUMBER_OF_TERM_SPECIFICITY) |
| Returns the best matching modification for the given mass and residue. More...
|
|
const ResidueModification * | getBestModificationByDiffMonoMass (double mass, double max_error, const String &residue="", ResidueModification::TermSpecificity term_spec=ResidueModification::NUMBER_OF_TERM_SPECIFICITY) |
| Returns the best matching modification for the given delta mass and residue. More...
|
|
void | getAllSearchModifications (std::vector< String > &modifications) const |
| Collects all modifications that can be used for identification searches. More...
|
|