CrossLinksDB#

class pyopenms.CrossLinksDB#

Bases: object

Cython implementation of _CrossLinksDB

Original C++ documentation is available here

__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)

findModificationIndex(self, mod_name)

getAllSearchModifications(self, modifications)

getBestModificationByDiffMonoMass(self, ...)

getModification

Overload:

getNumberOfModifications(self)

has(self, modification)

isInstantiated(self)

readFromOBOFile(self, filename)

searchModifications(self, mods, mod_name, ...)

searchModificationsByDiffMonoMass(self, ...)

findModificationIndex(self, mod_name: bytes | str | String) int#
getAllSearchModifications(self, modifications: List[bytes]) None#
getBestModificationByDiffMonoMass(self, mass: float, max_error: float, residue: bytes | str | String, term_spec: int) ResidueModification#
getModification()#

Overload:

getModification(self, index: int) ResidueModification

Overload:

getModification(self, mod_name: bytes | str | String) ResidueModification

Overload:

getModification(self, mod_name: bytes | str | String, residue: bytes | str | String, term_spec: int) ResidueModification
getNumberOfModifications(self) int#
has(self, modification: bytes | str | String) bool#
isInstantiated(self) bool#
readFromOBOFile(self, filename: bytes | str | String) None#
searchModifications(self, mods: Set[ResidueModification], mod_name: bytes | str | String, residue: bytes | str | String, term_spec: int) None#
searchModificationsByDiffMonoMass(self, mods: List[bytes], mass: float, max_error: float, residue: bytes | str | String, term_spec: int) None#