MascotXMLFile
- class pyopenms.MascotXMLFile
Bases:
objectCython implementation of _MascotXMLFile
- Documentation is available at http://www.openms.de/current_doxygen/html/classOpenMS_1_1MascotXMLFile.html
– Inherits from [‘XMLFile’]
- __init__()
Cython signature: void MascotXMLFile()
Cython signature: void MascotXMLFile(MascotXMLFile &)
Methods
Cython signature: void MascotXMLFile()
Cython signature: String getVersion() Return the version of the schema
Cython signature: void initializeLookup(SpectrumMetaDataLookup & lookup, MSExperiment & experiment, const String & scan_regex)
Cython signature: void load(const String & filename, ProteinIdentification & protein_identification, libcpp_vector[PeptideIdentification] & id_data, SpectrumMetaDataLookup & rt_mapping)
- getVersion()
Cython signature: String getVersion() Return the version of the schema
- initializeLookup()
Cython signature: void initializeLookup(SpectrumMetaDataLookup & lookup, MSExperiment & experiment, const String & scan_regex)
- Parameters
lookup – Helper object to initialize
experiment – Experiment containing the spectra
scan_regex – Optional regular expression for extracting information from references to spectra
- load()
Cython signature: void load(const String & filename, ProteinIdentification & protein_identification, libcpp_vector[PeptideIdentification] & id_data, SpectrumMetaDataLookup & rt_mapping)
- Parameters
filename – The file to be loaded
protein_identification – Protein identifications belonging to the whole experiment
id_data – The identifications with m/z and RT
lookup – Helper object for looking up spectrum meta data
- Raises
Exception: FileNotFound is thrown if the file does not exists
- Raises
Exception: ParseError is thrown if the file does not suit to the standard