DecoyGenerator#

class pyopenms.DecoyGenerator#

Bases: object

Cython implementation of _DecoyGenerator

Original C++ documentation is available here

__init__()#

Overload:

__init__(self) None

Overload:

__init__(self, in_0: DecoyGenerator) None

Methods

__init__

Overload:

reversePeptides(self, protein, protease)

Reverses the protein's peptide sequences between enzymatic cutting positions

reverseProtein(self, protein)

Reverses the protein sequence

setSeed(self, in_0)

shufflePeptides(self, aas, protease, ...)

Shuffle the protein's peptide sequences between enzymatic cutting positions, each peptide is shuffled @param max_attempts times to minimize sequence identity

reversePeptides(self, protein: AASequence, protease: bytes | str | String) AASequence#

Reverses the protein’s peptide sequences between enzymatic cutting positions

reverseProtein(self, protein: AASequence) AASequence#

Reverses the protein sequence

setSeed(self, in_0: int) None#
shufflePeptides(self, aas: AASequence, protease: bytes | str | String, max_attempts: int) AASequence#

Shuffle the protein’s peptide sequences between enzymatic cutting positions, each peptide is shuffled @param max_attempts times to minimize sequence identity