libpappsomspp
Library for mass spectrometry
Toggle main menu visibility
Loading...
Searching...
No Matches
mbrpeptidemeasurements.h
Go to the documentation of this file.
1
/**
2
* \file pappsomspp/masschroq/mbrpeptidemeasurements.h
3
* \date 27/10/2024
4
* \author Olivier Langella
5
* \brief peptide extracted measures in MBR mode model in masschroqlite
6
*/
7
8
/*******************************************************************************
9
* Copyright (c) 2024 Olivier Langella
10
*<Olivier.Langella@universite-paris-saclay.fr>.
11
*
12
* This file is part of MassChroQ.
13
*
14
* MassChroQ is free software: you can redistribute it and/or modify
15
* it under the terms of the GNU General Public License as published by
16
* the Free Software Foundation, either version 3 of the License, or
17
* (at your option) any later version.
18
*
19
* MassChroQ is distributed in the hope that it will be useful,
20
* but WITHOUT ANY WARRANTY; without even the implied warranty of
21
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22
* GNU General Public License for more details.
23
*
24
* You should have received a copy of the GNU General Public License
25
* along with MassChroQ. If not, see <http://www.gnu.org/licenses/>.
26
*
27
******************************************************************************/
28
29
#pragma once
30
31
32
#include <cstdint>
33
#include "
peptide.h
"
34
#include "
peptidemeasurementsbase.h
"
35
#include "
pappsomspp/core/msrun/alignment/msrunretentiontime.h
"
36
37
38
namespace
pappso::masschroq
39
{
40
41
42
class
MbrPeptideMeasurements
;
43
44
typedef
std::shared_ptr<MbrPeptideMeasurements>
MbrPeptideMeasurementsSp
;
45
/**
46
* @todo write docs
47
*/
48
class
MbrPeptideMeasurements
:
public
PeptideMeasurementsBase
49
{
50
public
:
51
/**
52
* Default constructor
53
*/
54
MbrPeptideMeasurements
(
const
PeptideSp
&peptide_sp);
55
56
MbrPeptideMeasurements
(
const
MbrPeptideMeasurements
&other);
57
58
/**
59
* Destructor
60
*/
61
virtual
~MbrPeptideMeasurements
();
62
63
64
void
prepareMeasurements
(
const
pappso::MsRunId
&targeted_msrun,
65
const
MsRunGroup
*msrun_group_p,
66
const
pappso::MsRunRetentionTime<QString>
&msrun_retention_time,
67
const
QuantificationMethodSp
&quantification_method);
68
69
70
virtual
void
detectQuantifyPeaks
(
const
QuantificationMethodSp
&quantification_method)
override
;
71
72
const
PeptideSp
&
getPeptideSp
()
const
;
73
74
75
private
:
76
PeptideSp
msp_peptide
;
77
78
double
m_consensusMs2RetentionTime
= 0;
79
};
80
}
// namespace pappso::masschroq
pappso::MsRunId
MS run identity MsRunId identifies an MS run with a unique ID (XmlId) and contains eventually informa...
Definition
msrunid.h:54
pappso::MsRunRetentionTime
Definition
msrunretentiontime.h:43
pappso::masschroq::MbrPeptideMeasurements
Definition
mbrpeptidemeasurements.h:49
pappso::masschroq::MbrPeptideMeasurements::detectQuantifyPeaks
virtual void detectQuantifyPeaks(const QuantificationMethodSp &quantification_method) override
Definition
mbrpeptidemeasurements.cpp:121
pappso::masschroq::MbrPeptideMeasurements::MbrPeptideMeasurements
MbrPeptideMeasurements(const PeptideSp &peptide_sp)
Definition
mbrpeptidemeasurements.cpp:35
pappso::masschroq::MbrPeptideMeasurements::getPeptideSp
const PeptideSp & getPeptideSp() const
Definition
mbrpeptidemeasurements.cpp:172
pappso::masschroq::MbrPeptideMeasurements::m_consensusMs2RetentionTime
double m_consensusMs2RetentionTime
Definition
mbrpeptidemeasurements.h:78
pappso::masschroq::MbrPeptideMeasurements::msp_peptide
PeptideSp msp_peptide
Definition
mbrpeptidemeasurements.h:76
pappso::masschroq::MbrPeptideMeasurements::prepareMeasurements
void prepareMeasurements(const pappso::MsRunId &targeted_msrun, const MsRunGroup *msrun_group_p, const pappso::MsRunRetentionTime< QString > &msrun_retention_time, const QuantificationMethodSp &quantification_method)
Definition
mbrpeptidemeasurements.cpp:61
pappso::masschroq::MbrPeptideMeasurements::~MbrPeptideMeasurements
virtual ~MbrPeptideMeasurements()
Definition
mbrpeptidemeasurements.cpp:55
pappso::masschroq::MsRunGroup
Definition
msrungroup.h:48
pappso::masschroq::PeptideMeasurementsBase::PeptideMeasurementsBase
PeptideMeasurementsBase()
Definition
peptidemeasurementsbase.cpp:34
peptide.h
msrunretentiontime.h
pappso::masschroq
Definition
alignmentmethod.h:38
pappso::masschroq::QuantificationMethodSp
std::shared_ptr< QuantificationMethod > QuantificationMethodSp
Definition
quantificationmethod.h:46
pappso::masschroq::MbrPeptideMeasurementsSp
std::shared_ptr< MbrPeptideMeasurements > MbrPeptideMeasurementsSp
Definition
mbrpeptidemeasurements.h:44
pappso::masschroq::PeptideSp
std::shared_ptr< Peptide > PeptideSp
Definition
peptide.h:46
peptidemeasurementsbase.h
pappsomspp
core
masschroq
mbrpeptidemeasurements.h
Generated on
for libpappsomspp by
1.17.0