DigestionEnzyme

class pyopenms.DigestionEnzyme

Bases: object

Cython implementation of _DigestionEnzyme

Original C++ documentation is available here

Base class for digestion enzymes

__init__()

Overload:

__init__(self, in_0: DigestionEnzyme) None

Overload:

__init__(self, name: Union[bytes, str, String], cleavage_regex: Union[bytes, str, String], synonyms: Set[bytes], regex_description: Union[bytes, str, String]) None

Methods

__init__

Overload:

addSynonym(self, synonym)

Adds a synonym

getName(self)

Returns the name of the enzyme

getRegEx(self)

Returns the cleavage regex

getRegExDescription(self)

Returns the regex description

getSynonyms(self)

Returns the synonyms

setName(self, name)

Sets the name of the enzyme

setRegEx(self, cleavage_regex)

Sets the cleavage regex

setRegExDescription(self, value)

Sets the regex description

setSynonyms(self, synonyms)

Sets the synonyms

setValueFromFile(self, key, value)

Sets the value of a member variable based on an entry from an input file

addSynonym(self, synonym: Union[bytes, str, String]) None

Adds a synonym

getName(self) Union[bytes, str, String]

Returns the name of the enzyme

getRegEx(self) Union[bytes, str, String]

Returns the cleavage regex

getRegExDescription(self) Union[bytes, str, String]

Returns the regex description

getSynonyms(self) Set[bytes]

Returns the synonyms

setName(self, name: Union[bytes, str, String]) None

Sets the name of the enzyme

setRegEx(self, cleavage_regex: Union[bytes, str, String]) None

Sets the cleavage regex

setRegExDescription(self, value: Union[bytes, str, String]) None

Sets the regex description

setSynonyms(self, synonyms: Set[bytes]) None

Sets the synonyms

setValueFromFile(self, key: Union[bytes, str, String], value: Union[bytes, str, String]) bool

Sets the value of a member variable based on an entry from an input file