OpenMS  2.7.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

 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

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.

filename the name of the file to read from protein_identification the protein ProteinIdentification data id_data the 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