64 throw PappsoException(QObject::tr(
"ERROR in TimsMsRunReaderBase::initialize "
65 "msp_timsData is null for MsRunId %1")
74 qDebug() << file_name;
126 return msp_timsData.get()->getRetentionTimeLineInSeconds();
133 [[maybe_unused]])
const
136 QObject::tr(
"Not implemented %1 %2 %3").arg(__FILE__).arg(__FUNCTION__).arg(__LINE__));
145 QObject::tr(
"Not implemented %1 %2 %3").arg(__FILE__).arg(__FUNCTION__).arg(__LINE__));
222 QStringList timstof_list;
223 timstof_list <<
"MS:1003005"
233 QString instrument_name =
msp_timsData.get()->getGlobalMetadataValue(
"InstrumentName").toString();
235 for(
auto &accession : timstof_list)
238 if(test_term.
m_name == instrument_name)
const OboPsiModTerm & getOboPsiModTermWithAccession(const QString &accession) const
MsRunIdCstSPtr mcsp_msRunId
MsRunReader(const MsRunIdCstSPtr &ms_run_id)
const MsRunIdCstSPtr & getMsRunId() const
Class representing a fully specified mass spectrum.
TimsMsRunReaderBase(MsRunIdCstSPtr &msrun_id_csp)
virtual Trace getTicChromatogram() override
get a TIC chromatogram
virtual bool releaseDevice() override
release data back end device if a the data back end is released, the developper has to use acquireDev...
virtual void initialize() override
virtual const OboPsiModTerm getOboPsiModTermInstrumentModelName() const override
get OboPsiModTerm corresponding to the instrument model name child of : [Term] id: MS:1000031 name: i...
virtual pappso::XicCoordSPtr newXicCoordSPtrFromSpectrumIndex(std::size_t spectrum_index, pappso::PrecisionPtr precision) const override
get a xic coordinate object from a given spectrum index
virtual std::vector< double > getRetentionTimeLine() override
retention timeline get retention times along the MSrun in seconds
virtual ~TimsMsRunReaderBase()
virtual bool hasScanNumbers() const override
tells if spectra can be accessed using scan numbers by default, it returns false. Only overrided func...
virtual pappso::XicCoordSPtr newXicCoordSPtrFromQualifiedMassSpectrum(const pappso::QualifiedMassSpectrum &mass_spectrum, pappso::PrecisionPtr precision) const override
get a xic coordinate object from a given spectrum
virtual bool acquireDevice() override
acquire data back end device
virtual bool accept(const QString &file_name) const override
tells if the reader is able to handle this file must be implemented by private MS run reader,...
virtual TimsDataSp getTimsDataSPtr()
give an access to the underlying raw data pointer
A simple container of DataPoint instances.
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
std::shared_ptr< const MsRunId > MsRunIdCstSPtr
std::shared_ptr< TimsData > TimsDataSp
shared pointer on a TimsData object
const PrecisionBase * PrecisionPtr
std::shared_ptr< XicCoord > XicCoordSPtr