OpenMS
2.8.0
|
An class that uses on-disk SQLite database to read and write spectra and chromatograms. More...
#include <OpenMS/FORMAT/SqMassFile.h>
Classes | |
struct | SqMassConfig |
Configuration class for SqMassFile. More... | |
Public Types | |
typedef MSExperiment | MapType |
Public Member Functions | |
Constructors and Destructor | |
SqMassFile () | |
Default constructor. More... | |
~SqMassFile () | |
Default destructor. More... | |
Read / Write a complete mass spectrometric experiment | |
SqMassConfig | config_ |
void | load (const String &filename, MapType &map) const |
void | store (const String &filename, MapType &map) const |
Store an MSExperiment in sqMass format. More... | |
void | transform (const String &filename_in, Interfaces::IMSDataConsumer *consumer, bool skip_full_count=false, bool skip_first_pass=false) const |
void | setConfig (const SqMassConfig &config) |
An class that uses on-disk SQLite database to read and write spectra and chromatograms.
This class provides functions to read and write spectra and chromatograms to disk using a SQLite database and store them in sqMass format. This allows users to access, select and filter spectra and chromatograms on-demand even in a large collection of data.
Spectra and chromatograms with precursor information will additionally load/store the metavalue 'peptide_sequence' from the first precursor (if any).
struct OpenMS::SqMassFile::SqMassConfig |
Configuration class for SqMassFile.
Contains configuration options for SQLite file
typedef MSExperiment MapType |
SqMassFile | ( | ) |
Default constructor.
~SqMassFile | ( | ) |
Default destructor.
|
inline |
Store an MSExperiment in sqMass format.
If you want a specific RUN::ID in the sqMass file, make sure to populate MSExperiment::setSqlRunID(UInt64 id) before.
void transform | ( | const String & | filename_in, |
Interfaces::IMSDataConsumer * | consumer, | ||
bool | skip_full_count = false , |
||
bool | skip_first_pass = false |
||
) | const |
|
protected |