ProtXMLFile
- class pyopenms.ProtXMLFile
Bases:
objectCython implementation of _ProtXMLFile
Original C++ documentation is available here
Used to load (storing not supported, yet) ProtXML files
This class is used to load (storing not supported, yet) documents that implement the schema of ProtXML files
- __init__(self) None
Methods
__init__(self)load(self, filename, protein_ids, peptide_ids)Loads the identifications of an ProtXML file without identifier
store(self, filename, protein_ids, ...)- load(self, filename: Union[bytes, str, String], protein_ids: ProteinIdentification, peptide_ids: PeptideIdentification) None
Loads the identifications of an ProtXML file without identifier
The information is read in and the information is stored in the corresponding variables
- Raises
Exception: FileNotFound is thrown if the file could not be found
- Raises
Exception: ParseError is thrown if an error occurs during parsing
- store(self, filename: Union[bytes, str, String], protein_ids: ProteinIdentification, peptide_ids: PeptideIdentification, document_id: Union[bytes, str, String]) None