OpenMS
OMSSACSVFile Class Reference

#include <OpenMS/FORMAT/OMSSACSVFile.h>

Public Member Functions

 OMSSACSVFile ()
 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

@brief 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

◆ OMSSACSVFile()

Default constructor.

◆ ~OMSSACSVFile()

virtual ~OMSSACSVFile ( )
virtual

Destructor.

Member Function Documentation

◆ load()

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

Loads a OMSSA file.

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