EnzymaticDigestionLogModel#

class pyopenms.EnzymaticDigestionLogModel#

Bases: object

Cython implementation of _EnzymaticDigestionLogModel

Original C++ documentation is available here

__init__()#

Overload:

__init__(self) None

Overload:

__init__(self, in_0: EnzymaticDigestionLogModel) None

Methods

__init__

Overload:

digest(self, protein, output)

Performs the enzymatic digestion of a protein

getEnzymeName(self)

Returns the enzyme for the digestion

getLogThreshold(self)

Returns the threshold which needs to be exceeded to call a cleavage (only for the trained cleavage model on real data)

peptideCount(self, protein)

Returns the number of peptides a digestion of protein would yield under the current enzyme and missed cleavage settings

setEnzyme(self, name)

Sets the enzyme for the digestion

setLogThreshold(self, threshold)

Sets the threshold which needs to be exceeded to call a cleavage (only for the trained cleavage model on real data).

digest(self, protein: AASequence, output: List[AASequence]) None#

Performs the enzymatic digestion of a protein

getEnzymeName(self) bytes | str | String#

Returns the enzyme for the digestion

getLogThreshold(self) float#

Returns the threshold which needs to be exceeded to call a cleavage (only for the trained cleavage model on real data)

peptideCount(self, protein: AASequence) int#

Returns the number of peptides a digestion of protein would yield under the current enzyme and missed cleavage settings

Parameters:

protein – Name of protein

setEnzyme(self, name: bytes | str | String) None#

Sets the enzyme for the digestion

setLogThreshold(self, threshold: float) None#

Sets the threshold which needs to be exceeded to call a cleavage (only for the trained cleavage model on real data). Default is 0.25