ModificationDefinition
- class pyopenms.ModificationDefinition
Bases:
objectCython implementation of _ModificationDefinition
Documentation is available at http://www.openms.de/current_doxygen/html/classOpenMS_1_1ModificationDefinition.html
- __init__()
Cython signature: void ModificationDefinition()
Cython signature: void ModificationDefinition(ModificationDefinition &)
Cython signature: void ModificationDefinition(const String & mod)
Cython signature: void ModificationDefinition(const String & mod, bool fixed)
Cython signature: void ModificationDefinition(const String & mod, bool fixed, unsigned int max_occur)
Cython signature: void ModificationDefinition(ResidueModification & mod)
Cython signature: void ModificationDefinition(ResidueModification & mod, bool fixed)
Cython signature: void ModificationDefinition(ResidueModification & mod, bool fixed, unsigned int max_occur)
Methods
Cython signature: void ModificationDefinition()
Cython signature: unsigned int getMaxOccurrences() Returns the maximal number of occurrences per peptide
Cython signature: ResidueModification getModification()
Cython signature: String getModificationName() Returns the name of the modification
Cython signature: bool isFixedModification() Returns if the modification if fixed true, else false
Cython signature: void setFixedModification(bool fixed) Sets whether this modification definition is fixed or variable (modification must occur vs.
Cython signature: void setMaxOccurrences(unsigned int num) Sets the maximal number of occurrences per peptide (unbounded if 0)
Cython signature: void setModification(const String & modification) Sets the modification, allowed are unique names provided by ModificationsDB
- getMaxOccurrences()
Cython signature: unsigned int getMaxOccurrences() Returns the maximal number of occurrences per peptide
- getModification()
Cython signature: ResidueModification getModification()
- getModificationName()
Cython signature: String getModificationName() Returns the name of the modification
- isFixedModification()
Cython signature: bool isFixedModification() Returns if the modification if fixed true, else false
- setFixedModification()
Cython signature: void setFixedModification(bool fixed) Sets whether this modification definition is fixed or variable (modification must occur vs. can occur)
- setMaxOccurrences()
Cython signature: void setMaxOccurrences(unsigned int num) Sets the maximal number of occurrences per peptide (unbounded if 0)
- setModification()
Cython signature: void setModification(const String & modification) Sets the modification, allowed are unique names provided by ModificationsDB