XQuestResultXMLFile#

class pyopenms.XQuestResultXMLFile#

Bases: XMLFile

Used to load and store xQuest result files

__init__() → None#
__init__(arg: pyopenms.XQuestResultXMLFile, /) → None

Methods

__init__()

getMaxScore()

Returns maximum score among the hits in the file

getMinScore()

Returns minimum score among the hits in the file

getNumberOfHits()

Returns the total number of hits in the file

getVersion()

Return the version of the schema

load(filename, pep_ids, prot_ids)

Load the content of the xquest.xml file into the provided data structures

store(filename, poid, peid)

Stores the identifications in a xQuest XML file

writeXQuestXMLSpec(out_file, base_name, ...)

Overloaded function.

getMaxScore() → float#

Returns maximum score among the hits in the file

getMinScore() → float#

Returns minimum score among the hits in the file

getNumberOfHits() → int#

Returns the total number of hits in the file

getVersion() → str#

Return the version of the schema

load(filename: str, pep_ids: pyopenms.PeptideIdentificationList, prot_ids: collections.abc.Sequence[pyopenms.ProteinIdentification]) → None#

Load the content of the xquest.xml file into the provided data structures

Parameters:
  • filename – Filename of the file which is to be loaded

  • pep_ids – Where the spectra with identifications of the input file will be loaded to

  • prot_ids – Where the protein identification of the input file will be loaded to

store(filename: str, poid: collections.abc.Sequence[pyopenms.ProteinIdentification], peid: pyopenms.PeptideIdentificationList) → None#

Stores the identifications in a xQuest XML file

static writeXQuestXMLSpec(out_file: str, base_name: str, preprocessed_pair_spectra: pyopenms.PreprocessedPairSpectra, spectrum_pairs: collections.abc.Sequence[tuple[int, int]], all_top_csms: collections.abc.Sequence[collections.abc.Sequence[pyopenms.CrossLinkSpectrumMatch]], spectra: pyopenms.MSExperiment, test_mode: bool = False) → None#
static writeXQuestXMLSpec(out_file: str, base_name: str, all_top_csms: collections.abc.Sequence[collections.abc.Sequence[pyopenms.CrossLinkSpectrumMatch]], spectra: pyopenms.MSExperiment, test_mode: bool = False) → None

Overloaded function.

  1. writeXQuestXMLSpec(out_file: str, base_name: str, preprocessed_pair_spectra: pyopenms.PreprocessedPairSpectra, spectrum_pairs: collections.abc.Sequence[tuple[int, int]], all_top_csms: collections.abc.Sequence[collections.abc.Sequence[pyopenms.CrossLinkSpectrumMatch]], spectra: pyopenms.MSExperiment, test_mode: bool = False) -> None

Write xQuest XML spec file (labeled, with pair spectra)

  1. writeXQuestXMLSpec(out_file: str, base_name: str, all_top_csms: collections.abc.Sequence[collections.abc.Sequence[pyopenms.CrossLinkSpectrumMatch]], spectra: pyopenms.MSExperiment, test_mode: bool = False) -> None

Write xQuest XML spec file (label-free)