libpappsomspp
Library for mass spectrometry
Loading...
Searching...
No Matches
peptidemeasurements.h
Go to the documentation of this file.
1/**
2 * \file pappsomspp/masschroq/peptidemeasurements.h
3 * \date 26/09/2024
4 * \author Olivier Langella
5 * \brief peptide extracted measures 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>
34
35#include "peptidebase.h"
36
38
39
40namespace pappso::masschroq
41{
42
44
45typedef std::shared_ptr<PeptideObservation> PeptideObservationSp;
46
47
49
50typedef std::shared_ptr<PeptideMeasurements> PeptideMeasurementsSp;
51
52class MsRunGroup;
53
54/**
55 * group together a peptide and measurements made on this peptide
56 */
58{
59 public:
60 /**
61 * Default constructor
62 */
63 PeptideMeasurements(const PeptideObservationSp &peptide_observations);
64
65 /**
66 * Copy constructor
67 *
68 * @param other TODO
69 */
71
72 /**
73 * Destructor
74 */
75 virtual ~PeptideMeasurements();
76
77 void prepareMeasurements(const pappso::MsRunId &targeted_msrun,
78 const MsRunGroup *msrun_group_p,
79 const QuantificationMethodSp &quantification_method);
80
81
82 virtual void detectQuantifyPeaks(const QuantificationMethodSp &quantification_method) override;
83
85
86
87 private:
89};
90} // namespace pappso::masschroq
MS run identity MsRunId identifies an MS run with a unique ID (XmlId) and contains eventually informa...
Definition msrunid.h:54
const PeptideObservationSp & getPeptideObservationSp() const
PeptideMeasurements(const PeptideObservationSp &peptide_observations)
virtual void detectQuantifyPeaks(const QuantificationMethodSp &quantification_method) override
void prepareMeasurements(const pappso::MsRunId &targeted_msrun, const MsRunGroup *msrun_group_p, const QuantificationMethodSp &quantification_method)
std::shared_ptr< QuantificationMethod > QuantificationMethodSp
std::shared_ptr< PeptideMeasurements > PeptideMeasurementsSp
std::shared_ptr< PeptideObservation > PeptideObservationSp