OMSSACSVFile#
- class pyopenms.OMSSACSVFile#
Bases:
object
Cython implementation of _OMSSACSVFile
Original C++ documentation is available here
File adapter for OMSSACSV files
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__()#
Overload:
- __init__(self) None
Overload:
- __init__(self, in_0: OMSSACSVFile) None
Methods
- load(self, filename: bytes | str | String, protein_identification: ProteinIdentification, id_data: List[PeptideIdentification]) None #
Loads a OMSSA file
The content of the file is stored in features
- 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