DigestionEnzymeRNA#
- class pyopenms.DigestionEnzymeRNA#
Bases:
DigestionEnzymeRepresentation of a digestion enzyme for RNA (RNase)
The cutting sites of these enzymes are defined using two different mechanisms: First, a single regular expression that is applied to strings of unmodified RNA sequence and defines cutting sites via zero-length matches (using lookahead/lookbehind assertions). This is the same mechanism that is used for proteases (see ProteaseDigestion). However, due to the complex notation involved, this approach is not practical for modification-aware digestion. Thus, the second mechanism uses two regular expressions (“cuts after”/”cuts before”), which are applied to the short codes (e.g. “m6A”) of sequential ribonucleotides. If both expressions match, then there is a cutting site between the two ribonucleotides.
There is support for terminal (5’/3’) modifications that may be generated on fragments as a result of RNase cleavage. A typical example is 3’-phosphate, resulting from cleavage of the phosphate backbone.
- __init__() None#
- __init__(arg: pyopenms.DigestionEnzymeRNA, /) None
Methods
__init__()addSynonym(synonym)Adds a synonym
Returns the "cuts after ..." regular expression
Returns the "cuts before ..." regular expression
Returns the 5' gain
getName()Returns the name of the enzyme
getRegEx()Returns the cleavage regex
Returns the regex description
Returns the synonyms
Returns the 3' gain
setCutsAfterRegEx(value)Sets the "cuts after ..." regular expression
setCutsBeforeRegEx(value)Sets the "cuts before ..." regular expression
setFivePrimeGain(value)Sets the 5' gain
setName(name)Sets the name of the enzyme
setRegEx(cleavage_regex)Sets the cleavage regex
setRegExDescription(value)Sets the regex description
setSynonyms(synonyms)Sets the synonyms
setThreePrimeGain(value)Sets the 3' gain
setValueFromFile(key, value)Sets the value of a member variable based on an entry from an input file
- addSynonym(synonym: str) None#
Adds a synonym
- getCutsAfterRegEx() str#
Returns the “cuts after …” regular expression
- getCutsBeforeRegEx() str#
Returns the “cuts before …” regular expression
- getFivePrimeGain() str#
Returns the 5’ gain
- getName() str#
Returns the name of the enzyme
- getRegEx() str#
Returns the cleavage regex
- getRegExDescription() str#
Returns the regex description
- getSynonyms() set[str]#
Returns the synonyms
- getThreePrimeGain() str#
Returns the 3’ gain
- setCutsAfterRegEx(value: str) None#
Sets the “cuts after …” regular expression
- setCutsBeforeRegEx(value: str) None#
Sets the “cuts before …” regular expression
- setFivePrimeGain(value: str) None#
Sets the 5’ gain
- setName(name: str) None#
Sets the name of the enzyme
- setRegEx(cleavage_regex: str) None#
Sets the cleavage regex
- setRegExDescription(value: str) None#
Sets the regex description
- setSynonyms(synonyms: set[str]) None#
Sets the synonyms
- setThreePrimeGain(value: str) None#
Sets the 3’ gain
- setValueFromFile(key: str, value: str) bool#
Sets the value of a member variable based on an entry from an input file