libpappsomspp
Library for mass spectrometry
Toggle main menu visibility
Loading...
Searching...
No Matches
peptidestrparser.h
Go to the documentation of this file.
1
2
/*******************************************************************************
3
* Copyright (c) 2015 Olivier Langella <Olivier.Langella@moulon.inra.fr>.
4
*
5
* This file is part of the PAPPSOms++ library.
6
*
7
* PAPPSOms++ is free software: you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation, either version 3 of the License, or
10
* (at your option) any later version.
11
*
12
* PAPPSOms++ is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
16
*
17
* You should have received a copy of the GNU General Public License
18
* along with PAPPSOms++. If not, see <http://www.gnu.org/licenses/>.
19
*
20
* Contributors:
21
* Olivier Langella <Olivier.Langella@moulon.inra.fr> - initial API and
22
*implementation
23
******************************************************************************/
24
25
#pragma once
26
27
#include "
peptide.h
"
28
#include <QRegularExpression>
29
30
namespace
pappso
31
{
32
class
PMSPP_LIB_DECL
PeptideStrParser
33
{
34
public
:
35
static
PeptideSp
parseString
(
const
QString &pepstr);
36
static
NoConstPeptideSp
parseNoConstString
(
const
QString &pepstr);
37
38
private
:
39
static
void
parseStringToPeptide
(
const
QString &pepstr,
Peptide
&peptide);
40
41
private
:
42
static
QRegularExpression
_mod_parser
;
43
static
QRegularExpression
_rx_psimod
;
44
static
QRegularExpression
_rx_modmass
;
45
46
// static QMutex _mutex;
47
};
48
}
// namespace pappso
pappso::PeptideStrParser
Definition
peptidestrparser.h:33
pappso::PeptideStrParser::parseNoConstString
static NoConstPeptideSp parseNoConstString(const QString &pepstr)
Definition
peptidestrparser.cpp:149
pappso::PeptideStrParser::_rx_psimod
static QRegularExpression _rx_psimod
Definition
peptidestrparser.h:43
pappso::PeptideStrParser::parseString
static PeptideSp parseString(const QString &pepstr)
Definition
peptidestrparser.cpp:137
pappso::PeptideStrParser::parseStringToPeptide
static void parseStringToPeptide(const QString &pepstr, Peptide &peptide)
Definition
peptidestrparser.cpp:38
pappso::PeptideStrParser::_rx_modmass
static QRegularExpression _rx_modmass
Definition
peptidestrparser.h:44
pappso::PeptideStrParser::_mod_parser
static QRegularExpression _mod_parser
Definition
peptidestrparser.h:42
pappso::Peptide
Definition
peptide.h:102
PMSPP_LIB_DECL
#define PMSPP_LIB_DECL
Definition
export-import-config.h:14
pappso
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
Definition
aa.cpp:39
pappso::PeptideSp
std::shared_ptr< const Peptide > PeptideSp
Definition
aamodification.h:48
pappso::NoConstPeptideSp
std::shared_ptr< Peptide > NoConstPeptideSp
Definition
peptide.h:98
peptide.h
pappsomspp
core
peptide
peptidestrparser.h
Generated on
for libpappsomspp by
1.17.0