OMSSACSVFile

class pyopenms.OMSSACSVFile

Bases: object

Cython implementation of _OMSSACSVFile

Documentation is available at http://www.openms.de/current_doxygen/html/classOpenMS_1_1OMSSACSVFile.html

The files contain the results of the OMSSA algorithm in a comma separated manner. This file adapter is able to load the data from such a file into the structures of OpenMS

__init__()
  • Cython signature: void OMSSACSVFile()

  • Cython signature: void OMSSACSVFile(OMSSACSVFile &)

Methods

__init__

  • Cython signature: void OMSSACSVFile()

load

Cython signature: void load(const String & filename, ProteinIdentification & protein_identification, libcpp_vector[PeptideIdentification] & id_data)

load()

Cython signature: void load(const String & filename, ProteinIdentification & protein_identification, libcpp_vector[PeptideIdentification] & id_data)

Parameters
  • filename – The name of the file to read from

  • protein_identification – The protein ProteinIdentification data

  • id_data – The peptide ids of the file

Raises

Exception: FileNotFound is thrown if the file could not be opened

Raises

Exception: ParseError is thrown if an error occurs during parsing