MSPFile#
- class pyopenms.MSPFile#
Bases:
object
Cython implementation of _MSPFile
Original C++ documentation is available here
- __init__()#
Overload:
- __init__(self) None
File adapter for MSP files (NIST spectra library)
Overload:
- __init__(self, in_0: MSPFile) None
Methods
Overload:
load
(self, filename, ids, exp)Loads a map from a MSPFile file
store
(self, filename, exp)Stores a map in a MSPFile file
- load(self, filename: bytes | str | String, ids: List[PeptideIdentification], exp: MSExperiment) None #
Loads a map from a MSPFile file
- 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