CrossLinksDB#

class pyopenms.CrossLinksDB#

Bases: object

Cython implementation of _CrossLinksDB

Documentation is available at http://www.openms.de/current_doxygen/html/classOpenMS_1_1CrossLinksDB.html

__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)

findModificationIndex

Cython signature: size_t findModificationIndex(const String & mod_name)

getAllSearchModifications

Cython signature: void getAllSearchModifications(libcpp_vector[String] & modifications)

getBestModificationByDiffMonoMass

Cython signature: const ResidueModification * getBestModificationByDiffMonoMass(double mass, double max_error, const String residue, TermSpecificity term_spec)

getModification

  • Cython signature: const ResidueModification * getModification(size_t index)

getNumberOfModifications

Cython signature: size_t getNumberOfModifications()

has

Cython signature: bool has(String modification)

isInstantiated

Cython signature: bool isInstantiated()

readFromOBOFile

Cython signature: void readFromOBOFile(const String & filename)

searchModifications

Cython signature: void searchModifications(libcpp_set[const ResidueModification *] & mods, const String & mod_name, const String & residue, TermSpecificity term_spec)

searchModificationsByDiffMonoMass

Cython signature: void searchModificationsByDiffMonoMass(libcpp_vector[String] & mods, double mass, double max_error, const String & residue, TermSpecificity term_spec)

findModificationIndex()#

Cython signature: size_t findModificationIndex(const String & mod_name)

getAllSearchModifications()#

Cython signature: void getAllSearchModifications(libcpp_vector[String] & modifications)

getBestModificationByDiffMonoMass()#

Cython signature: const ResidueModification * getBestModificationByDiffMonoMass(double mass, double max_error, const String residue, TermSpecificity term_spec)

getModification()#
  • Cython signature: const ResidueModification * getModification(size_t index)

  • Cython signature: const ResidueModification * getModification(const String & mod_name)

  • Cython signature: const ResidueModification * getModification(const String & mod_name, const String & residue, TermSpecificity term_spec)

getNumberOfModifications()#

Cython signature: size_t getNumberOfModifications()

has()#

Cython signature: bool has(String modification)

isInstantiated()#

Cython signature: bool isInstantiated()

readFromOBOFile()#

Cython signature: void readFromOBOFile(const String & filename)

searchModifications()#

Cython signature: void searchModifications(libcpp_set[const ResidueModification *] & mods, const String & mod_name, const String & residue, TermSpecificity term_spec)

searchModificationsByDiffMonoMass()#

Cython signature: void searchModificationsByDiffMonoMass(libcpp_vector[String] & mods, double mass, double max_error, const String & residue, TermSpecificity term_spec)