Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
MzMLSqliteSwathHandler Class Reference

Sqlite handler for SWATH data sets. More...

#include <OpenMS/FORMAT/HANDLERS/MzMLSqliteSwathHandler.h>

Public Member Functions

 MzMLSqliteSwathHandler (String filename)
 Constructor. More...
 
std::vector< OpenSwath::SwathMapreadSwathWindows ()
 Read SWATH windows boundaries from file. More...
 
std::vector< int > readMS1Spectra ()
 Read indices of MS1 spectra from file. More...
 
std::vector< int > readSpectraForWindow (OpenSwath::SwathMap swath_map)
 Read indices of spectra belonging to specified SWATH window from file. More...
 

Protected Member Functions

sqlite3 * openDB ()
 

Protected Attributes

String filename_
 
Base64 base64coder_
 Decoder/Encoder for Base64-data in MzML. More...
 
MSNumpressCoder numpress_coder_
 
Int spec_id_
 
Int chrom_id_
 

Detailed Description

Sqlite handler for SWATH data sets.

This class represents a single sqMass file acquired in SWATH / DIA mode and provides some useful access to the indices of the individual SWATH windows.

Constructor & Destructor Documentation

◆ MzMLSqliteSwathHandler()

MzMLSqliteSwathHandler ( String  filename)
inline

Constructor.

Parameters
filenameThe sqMass filename

Member Function Documentation

◆ openDB()

sqlite3* openDB ( )
protected

◆ readMS1Spectra()

std::vector<int> readMS1Spectra ( )

Read indices of MS1 spectra from file.

Returns
A list of spectral indices for the MS1 spectra

◆ readSpectraForWindow()

std::vector<int> readSpectraForWindow ( OpenSwath::SwathMap  swath_map)

Read indices of spectra belonging to specified SWATH window from file.

Parameters
swath_mapContains the upper/lower boundaries of the SWATH window
Returns
A list of spectral indices for the provided SWATH window

◆ readSwathWindows()

std::vector<OpenSwath::SwathMap> readSwathWindows ( )

Read SWATH windows boundaries from file.

Returns
A vector populated with SwathMap, with the following attributes initialized: center, lower and upper

Member Data Documentation

◆ base64coder_

Base64 base64coder_
protected

Decoder/Encoder for Base64-data in MzML.

◆ chrom_id_

Int chrom_id_
protected

◆ filename_

String filename_
protected

◆ numpress_coder_

MSNumpressCoder numpress_coder_
protected

◆ spec_id_

Int spec_id_
protected

OpenMS / TOPP release 2.3.0 Documentation generated on Wed Apr 18 2018 19:29:19 using doxygen 1.8.14