libpappsomspp
Library for mass spectrometry
Toggle main menu visibility
Loading...
Searching...
No Matches
selfspectrumdatapoint.h
Go to the documentation of this file.
1
/**
2
* \file pappsomspp/processing/specself/selfspectrumdatapoint.h
3
* \date 23/03/2024
4
* \author Olivier Langella
5
* \brief spectrum self data points stored in the self spectrum matrix
6
*/
7
8
/*******************************************************************************
9
* Copyright (c) 2024 Olivier Langella
10
*<Olivier.Langella@universite-paris-saclay.fr>.
11
*
12
* This file is part of PAPPSOms++.
13
*
14
* PAPPSOms++ 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
* PAPPSOms++ 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 PAPPSOms++. If not, see <http://www.gnu.org/licenses/>.
26
*
27
******************************************************************************/
28
29
#pragma once
30
#include "
../../amino_acid/aastringcodemassmatching.h
"
31
#include "
../../trace/datapoint.h
"
32
33
namespace
pappso
34
{
35
namespace
specself
36
{
37
38
struct
SelfSpectrumDataPoint
39
{
40
void
fillSelfSpectrumDataPoint
(
41
const
pappso::AaStringCodeMassMatching
&codec_mass_matching,
42
const
DataPoint
&peak1,
43
const
DataPoint
&peak2);
44
void
fillAntiSpectrumDataPoint
(
45
double
precursor_mass,
46
const
pappso::AaStringCodeMassMatching
&codec_mass_matching,
47
const
DataPoint
&peak1,
48
const
DataPoint
&peak2);
49
50
51
void
setVariableModification
(
52
const
pappso::AaStringCodeMassMatching
&codec_mass_matching,
53
const
Aa
&aa,
54
int
quantifier);
55
56
bool
m_isComplement
=
false
;
57
double
massDelta
;
58
double
antiMassDelta
;
59
std::vector<uint32_t>
aaCodeList
;
60
std::vector<uint32_t>
antiAaCodeList
;
61
};
62
63
}
// namespace specself
64
}
// namespace pappso
65
aastringcodemassmatching.h
pappso::AaStringCodeMassMatching
convert a list of mass to amino acid string codes
Definition
aastringcodemassmatching.h:41
pappso::Aa
Definition
aa.h:45
datapoint.h
pappso::specself
Definition
selfspectrum.cpp:35
pappso
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
Definition
aa.cpp:39
pappso::DataPoint
Definition
datapoint.h:22
pappso::specself::SelfSpectrumDataPoint
Definition
selfspectrumdatapoint.h:39
pappso::specself::SelfSpectrumDataPoint::aaCodeList
std::vector< uint32_t > aaCodeList
Definition
selfspectrumdatapoint.h:59
pappso::specself::SelfSpectrumDataPoint::setVariableModification
void setVariableModification(const pappso::AaStringCodeMassMatching &codec_mass_matching, const Aa &aa, int quantifier)
Definition
selfspectrumdatapoint.cpp:88
pappso::specself::SelfSpectrumDataPoint::fillAntiSpectrumDataPoint
void fillAntiSpectrumDataPoint(double precursor_mass, const pappso::AaStringCodeMassMatching &codec_mass_matching, const DataPoint &peak1, const DataPoint &peak2)
Definition
selfspectrumdatapoint.cpp:62
pappso::specself::SelfSpectrumDataPoint::antiAaCodeList
std::vector< uint32_t > antiAaCodeList
Definition
selfspectrumdatapoint.h:60
pappso::specself::SelfSpectrumDataPoint::m_isComplement
bool m_isComplement
Definition
selfspectrumdatapoint.h:56
pappso::specself::SelfSpectrumDataPoint::antiMassDelta
double antiMassDelta
Definition
selfspectrumdatapoint.h:58
pappso::specself::SelfSpectrumDataPoint::fillSelfSpectrumDataPoint
void fillSelfSpectrumDataPoint(const pappso::AaStringCodeMassMatching &codec_mass_matching, const DataPoint &peak1, const DataPoint &peak2)
Definition
selfspectrumdatapoint.cpp:38
pappso::specself::SelfSpectrumDataPoint::massDelta
double massDelta
Definition
selfspectrumdatapoint.h:57
pappsomspp
core
processing
specself
selfspectrumdatapoint.h
Generated on
for libpappsomspp by
1.17.0