|
pappsomspp
Library for mass spectrometry
|
Go to the documentation of this file.
31 #include <QSqlDatabase>
34 #include "../../massspectrum/qualifiedmassspectrum.h"
35 #include "../../processing/filters/filterinterface.h"
92 bool want_binary_data);
96 std::size_t ms2_index,
97 std::size_t precursor_index,
98 bool want_binary_data);
101 std::size_t ms2_index, std::size_t precursor_index,
bool want_binary_data);
108 double rt_end)
const;
116 std::pair<std::size_t, std::size_t>
120 std::size_t scan_num)
const;
pappso::FilterInterfaceCstSPtr mcsp_ms2Filter
std::size_t m_totalNumberOfPrecursors
std::shared_ptr< const MassSpectrum > MassSpectrumCstSPtr
void setMs2FilterCstSPtr(pappso::FilterInterfaceCstSPtr &filter)
pappso::MassSpectrumCstSPtr getMassSpectrumCstSPtrByRawIndex(std::size_t raw_index)
get a mass spectrum given its spectrum index
QualifiedMassSpectrum getQualifiedMs1MassSpectrumByPrecursorId(std::size_t ms2_index, std::size_t precursor_index, bool want_binary_data)
binary file handler of Bruker's TimsTof raw data
pappso::FilterInterfaceCstSPtr mcsp_ms1Filter
std::deque< TimsFrameBaseCstSPtr > m_timsFrameBaseCache
TimsFrameBaseCstSPtr getTimsFrameBaseCstSPtrCached(std::size_t timsId)
std::vector< std::size_t > getTimsMS1FrameIdRange(double rt_begin, double rt_end) const
handle a single Bruker's TimsTof frame
std::shared_ptr< const FilterInterface > FilterInterfaceCstSPtr
TimsData(QDir timsDataDirectory)
build using the tims data directory
void setMs1FilterCstSPtr(pappso::FilterInterfaceCstSPtr &filter)
std::shared_ptr< const TimsFrameBase > TimsFrameBaseCstSPtr
unsigned int getMsLevelBySpectrumIndex(std::size_t spectrum_index)
TimsFrameBaseCstSPtr getTimsFrameBaseCstSPtr(std::size_t timsId) const
get a Tims frame base (no binary data file access) with his database ID
TimsFrameCstSPtr getTimsFrameCstSPtrCached(std::size_t timsId)
get a Tims frame with his database ID but look in the cache first
Class representing a fully specified mass spectrum.
std::pair< std::size_t, std::size_t > getScanCoordinateFromRawIndex(std::size_t spectrum_index) const
pappso::MassSpectrumCstSPtr getMassSpectrumCstSPtr(std::size_t timsId, std::size_t scanNum)
get a mass spectrum given the tims frame database id and scan number within tims frame
QualifiedMassSpectrum getQualifiedMassSpectrumByRawIndex(std::size_t spectrum_index, bool want_binary_data)
std::size_t getTotalNumberOfPrecursors() const
get the number of precursors analyzes by PASEF
std::size_t m_totalNumberOfScans
TimsBinDec * mpa_timsBinDec
std::deque< TimsFrameCstSPtr > m_timsFrameCache
std::size_t getTotalNumberOfScans() const
get the total number of scans
void getQualifiedMs2MassSpectrumByPrecursorId(QualifiedMassSpectrum &mass_spectrum, std::size_t ms2_index, std::size_t precursor_index, bool want_binary_data)
TimsFrameCstSPtr getTimsFrameCstSPtr(std::size_t timsId) const
get a Tims frame with his database ID
std::size_t getRawIndexFromCoordinate(std::size_t frame_id, std::size_t scan_num) const
std::shared_ptr< const TimsFrame > TimsFrameCstSPtr
QSqlDatabase openDatabaseConnection() const