libpappsomspp
Library for mass spectrometry
Loading...
Searching...
No Matches
scorevalues.h
Go to the documentation of this file.
1/**
2 * \file pappsomspp/processing/specglob/scorevalues.h
3 * \date 06/11/2023
4 * \author Olivier Langella
5 * \brief scores to apply in comparisons
6 *
7 * C++ implementation of the SpecGlob algorithm described in :
8 * 1. Prunier, G. et al. Fast alignment of mass spectra in large proteomics
9 * datasets, capturing dissimilarities arising from multiple complex
10 * modifications of peptides. BMC Bioinformatics 24, 421 (2023).
11 *
12 * HAL Id : hal-04296170 , version 1
13 * Mot de passe : hxo20cl
14 * DOI : 10.1186/s12859-023-05555-y
15 */
16
17
18
19/*
20 * SpecGlobTool, Spectra to peptide alignment tool
21 * Copyright (C) 2023 Olivier Langella
22 * <olivier.langella@universite-paris-saclay.fr>
23 *
24 * This program is free software: you can redistribute it and/or modify
25 * it under the terms of the GNU General Public License as published by
26 * the Free Software Foundation, either version 3 of the License, or
27 * (at your option) any later version.
28 *
29 * This program is distributed in the hope that it will be useful,
30 * but WITHOUT ANY WARRANTY; without even the implied warranty of
31 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
32 * GNU General Public License for more details.
33 *
34 * You should have received a copy of the GNU General Public License
35 * along with this program. If not, see <http://www.gnu.org/licenses/>.
36 *
37 */
38
39#pragma once
40
41#include <cstdint>
42#include "../../exportinmportconfig.h"
43#include "types.h"
44
45
46namespace pappso
47{
48namespace specglob
49{
50
51/**
52 * @todo write docs
53 */
55{
56 public:
57 /**
58 * Default constructor
59 */
61
62
63 ScoreValues(const ScoreValues &other);
64
65 /**
66 * Destructor
67 */
68 virtual ~ScoreValues();
69
70 const ScoreValues &operator=(const ScoreValues &other);
71
72 int get(ScoreValueType type);
73
74 void set(ScoreValueType type, int value);
75
76 private:
77 int m_scoreTable[10];
78};
79} // namespace specglob
80} // namespace pappso
#define PMSPP_LIB_DECL
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
Definition aa.cpp:39
This header contains all the type re-definitions and all the global variables definitions used in the...