ProtXMLFile

class pyopenms.ProtXMLFile

Bases: object

Cython 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

__init__

Cython signature: void ProtXMLFile()

load

Cython signature: void load(String filename, ProteinIdentification & protein_ids, PeptideIdentification & peptide_ids)

store

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)