libpappsomspp
Library for mass spectrometry
Loading...
Searching...
No Matches
types.h
Go to the documentation of this file.
1/**
2 * \file pappsomspp/processing/specpeptidoms/types.h
3 * \date 24/03/2025
4 * \author Aurélien Berthier
5 *
6 * C++ implementation of the SpecPeptidOMS algorithm described in :
7 * (1) Benoist, É.; Jean, G.; Rogniaux, H.; Fertin, G.; Tessier, D. SpecPeptidOMS Directly and
8 * Rapidly Aligns Mass Spectra on Whole Proteomes and Identifies Peptides That Are Not Necessarily
9 * Tryptic: Implications for Peptidomics. J. Proteome Res. 2025.
10 * https://doi.org/10.1021/acs.jproteome.4c00870.
11 */
12
13/*
14 * Copyright (c) 2025 Aurélien Berthier
15 * <aurelien.berthier@ls2n.fr>
16 *
17 * This program is free software: you can redistribute it and/or modify
18 * it under the terms of the GNU General Public License as published by
19 * the Free Software Foundation, either version 3 of the License, or
20 * (at your option) any later version.
21 *
22 * This program is distributed in the hope that it will be useful,
23 * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 * GNU General Public License for more details.
26 *
27 * You should have received a copy of the GNU General Public License
28 * along with this program. If not, see <http://www.gnu.org/licenses/>.
29 */
30
31#pragma once
32
33#include "../../amino_acid/aa.h"
34
35namespace pappso
36{
37namespace specpeptidoms
38{
39// const std::unordered_map<pappso::Aa, double> aaMasses;
40enum class ScoreType : std::uint8_t
41{
43 found = 1,
47 init = 5,
48};
49
58
61const int MIN_ALIGNMENT_SCORE(15);
63
64} // namespace specpeptidoms
65} // namespace pappso
const uint ALIGNMENT_SURPLUS(5)
const uint MAX_SAVED_ALIGNMENTS(5)
const int MIN_ALIGNMENT_SCORE(15)
const uint MAX_RETURNED_RESULTS(2)
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
Definition aa.cpp:39
unsigned int uint
Definition types.h:68