DigestionEnzyme#

class pyopenms.DigestionEnzyme#

Bases: object

Cython implementation of _DigestionEnzyme

Documentation is available at http://www.openms.de/current_doxygen/html/classOpenMS_1_1DigestionEnzyme.html

Base class for digestion enzymes

__init__()#
  • Cython signature: void DigestionEnzyme(DigestionEnzyme &)

  • Cython signature: void DigestionEnzyme(const String & name, const String & cleavage_regex, libcpp_set[String] & synonyms, String regex_description)

Methods

__init__

  • Cython signature: void DigestionEnzyme(DigestionEnzyme &)

addSynonym

Cython signature: void addSynonym(const String & synonym) Adds a synonym

getName

Cython signature: String getName() Returns the name of the enzyme

getRegEx

Cython signature: String getRegEx() Returns the cleavage regex

getRegExDescription

Cython signature: String getRegExDescription() Returns the regex description

getSynonyms

Cython signature: libcpp_set[String] getSynonyms() Returns the synonyms

setName

Cython signature: void setName(const String & name) Sets the name of the enzyme

setRegEx

Cython signature: void setRegEx(const String & cleavage_regex) Sets the cleavage regex

setRegExDescription

Cython signature: void setRegExDescription(const String & value) Sets the regex description

setSynonyms

Cython signature: void setSynonyms(libcpp_set[String] & synonyms) Sets the synonyms

setValueFromFile

Cython signature: bool setValueFromFile(String key, String value) Sets the value of a member variable based on an entry from an input file

addSynonym()#

Cython signature: void addSynonym(const String & synonym) Adds a synonym

getName()#

Cython signature: String getName() Returns the name of the enzyme

getRegEx()#

Cython signature: String getRegEx() Returns the cleavage regex

getRegExDescription()#

Cython signature: String getRegExDescription() Returns the regex description

getSynonyms()#

Cython signature: libcpp_set[String] getSynonyms() Returns the synonyms

setName()#

Cython signature: void setName(const String & name) Sets the name of the enzyme

setRegEx()#

Cython signature: void setRegEx(const String & cleavage_regex) Sets the cleavage regex

setRegExDescription()#

Cython signature: void setRegExDescription(const String & value) Sets the regex description

setSynonyms()#

Cython signature: void setSynonyms(libcpp_set[String] & synonyms) Sets the synonyms

setValueFromFile()#

Cython signature: bool setValueFromFile(String key, String value) Sets the value of a member variable based on an entry from an input file