OMSSAXMLFile#
- class pyopenms.OMSSAXMLFile#
Bases:
XMLFileUsed to load OMSSAXML files
This class is used to load documents that implement the schema of OMSSAXML files
- __init__() None#
Methods
__init__()Return the version of the schema
load(filename, load_proteins, load_empty_hits)Loads data from a OMSSAXML file
Sets the valid modifications
- getVersion() str#
Return the version of the schema
- load(filename: str, load_proteins: bool, load_empty_hits: bool) tuple[pyopenms.ProteinIdentification, pyopenms.PeptideIdentificationList]#
Loads data from a OMSSAXML file
- Parameters:
filename – The file to be loaded
load_proteins – If this flag is set to false, the protein identifications are not loaded
load_empty_hits – Many spectra will not return a hit. Report empty peptide identifications?
- Returns:
Tuple of (protein_identification, id_data): protein identifications belonging to the whole experiment and the identifications with m/z and RT
- setModificationDefinitionsSet(rhs: pyopenms.ModificationDefinitionsSet) None#
Sets the valid modifications