MSPFile

class pyopenms.MSPFile

Bases: object

Cython implementation of _MSPFile

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

__init__()
  • Cython signature: void MSPFile() File adapter for MSP files (NIST spectra library)

  • Cython signature: void MSPFile(MSPFile &)

Methods

__init__

  • Cython signature: void MSPFile()

load

Cython signature: void load(String filename, libcpp_vector[PeptideIdentification] & ids, MSExperiment & exp)

store

Cython signature: void store(String filename, MSExperiment & exp) Stores a map in a MSPFile file

load()

Cython signature: void load(String filename, libcpp_vector[PeptideIdentification] & ids, MSExperiment & exp)

Parameters
  • exp – PeakMap which contains the spectra after reading

  • filename – The filename of the experiment

  • ids – Output parameter which contains the peptide identifications from the spectra annotations

store()

Cython signature: void store(String filename, MSExperiment & exp) Stores a map in a MSPFile file