ProtXMLFile
- class pyopenms.ProtXMLFile
Bases:
objectCython implementation of _ProtXMLFile
Documentation is available at http://www.openms.de/current_doxygen/html/classOpenMS_1_1ProtXMLFile.html
This class is used to load (storing not supported, yet) documents that implement the schema of ProtXML files
- __init__()
Cython signature: void ProtXMLFile()
Methods
Cython signature: void ProtXMLFile()
Cython signature: void load(String filename, ProteinIdentification & protein_ids, PeptideIdentification & peptide_ids)
Cython signature: void store(String filename, ProteinIdentification & protein_ids, PeptideIdentification & peptide_ids, String document_id)
- load()
Cython signature: void load(String filename, ProteinIdentification & protein_ids, PeptideIdentification & peptide_ids)
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()
Cython signature: void store(String filename, ProteinIdentification & protein_ids, PeptideIdentification & peptide_ids, String document_id)