OpenMS  2.8.0
Public Member Functions | List of all members
OMSSACSVFile Class Reference

File adapter for OMSSACSV files. More...

#include <OpenMS/FORMAT/OMSSACSVFile.h>

Public Member Functions

 Default constructor. More...
virtual ~OMSSACSVFile ()
 Destructor. More...
void load (const String &filename, ProteinIdentification &protein_identification, std::vector< PeptideIdentification > &id_data) const
 Loads a OMSSA file. More...

Detailed Description

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

Constructor & Destructor Documentation


Default constructor.


virtual ~OMSSACSVFile ( )


Member Function Documentation

◆ load()

void load ( const String filename,
ProteinIdentification protein_identification,
std::vector< PeptideIdentification > &  id_data 
) const

Loads a OMSSA file.

filenamethe name of the file to read from
protein_identificationthe protein ProteinIdentification data
id_datathe peptide ids of the file
FileNotFoundis thrown if the given file could not be found
ParseErroris thrown if the given file could not be parsed