OpenMS
2.7.0
|
Implements the export of consensusmaps into the IBSpectra format used by isobar to load quantification results. More...
#include <OpenMS/FORMAT/IBSpectraFile.h>
Public Member Functions | |
IBSpectraFile () | |
Constructor. More... | |
IBSpectraFile (const IBSpectraFile &other) | |
Copy constructor. More... | |
IBSpectraFile & | operator= (const IBSpectraFile &rhs) |
Assignment operator. More... | |
void | store (const String &filename, const ConsensusMap &cm) |
Writes the contents of the ConsensusMap cm into the file named by filename. More... | |
Private Member Functions | |
boost::shared_ptr< IsobaricQuantitationMethod > | guessExperimentType_ (const ConsensusMap &cm) |
Guesses the type of isobaric quantitation performed on the experiment. More... | |
StringList | constructHeader_ (const IsobaricQuantitationMethod &quantMethod) |
Constructs the matching file header for the given quantitation method. More... | |
String | getModifString_ (const AASequence &sequence) |
Generates the modification string for the given AASequence. More... | |
Implements the export of consensusmaps into the IBSpectra format used by isobar to load quantification results.
IBSpectraFile | ( | ) |
Constructor.
IBSpectraFile | ( | const IBSpectraFile & | other | ) |
Copy constructor.
|
private |
Constructs the matching file header for the given quantitation method.
quantMethod | The used quantitation method. |
|
private |
Generates the modification string for the given AASequence.
sequence | The sequence for which the modification string should be generated. |
|
private |
Guesses the type of isobaric quantitation performed on the experiment.
Exception::InvalidParameter | if the ConsensusMap does not hold the result of an isobaric quantification experiment (e.g., itraq). |
IBSpectraFile& operator= | ( | const IBSpectraFile & | rhs | ) |
Assignment operator.
void store | ( | const String & | filename, |
const ConsensusMap & | cm | ||
) |
Writes the contents of the ConsensusMap cm into the file named by filename.
filename | The name of the file where the contents of cm should be stored. |
cm | The ConsensusMap that should be exported to filename. |
Exception::InvalidParameter | if the ConsensusMap does not hold the result of an isobaric quantification experiment (e.g., itraq). |