libpappsomspp
Library for mass spectrometry
obopsimodterm.h
Go to the documentation of this file.
1
/*******************************************************************************
2
* Copyright (c) 2015 Olivier Langella <Olivier.Langella@moulon.inra.fr>.
3
*
4
* This file is part of the PAPPSOms++ library.
5
*
6
* PAPPSOms++ is free software: you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation, either version 3 of the License, or
9
* (at your option) any later version.
10
*
11
* PAPPSOms++ is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with PAPPSOms++. If not, see <http://www.gnu.org/licenses/>.
18
*
19
******************************************************************************/
20
21
#pragma once
22
23
#include <QRegularExpression>
24
#include "../exportinmportconfig.h"
25
26
namespace
pappso
27
{
28
29
class
OboPsiMod;
30
31
class
PMSPP_LIB_DECL
OboPsiModTerm
32
{
33
friend
OboPsiMod
;
34
35
public
:
36
OboPsiModTerm
();
37
~
OboPsiModTerm
();
38
OboPsiModTerm
(
const
OboPsiModTerm
&);
39
OboPsiModTerm
&operator=(
const
OboPsiModTerm
&);
40
41
bool
isValid()
const
;
42
43
public
:
44
QString
m_accession
;
45
QString
m_name
;
46
QString
m_definition
;
47
QString
m_psiModLabel
;
48
QString
m_psiMsLabel
;
49
QString
m_diffFormula
;
50
QString
m_origin
;
51
52
double
m_diffMono
;
53
54
private
:
55
void
parseLine(
const
QString &line);
56
void
clearTerm();
57
58
static
QRegularExpression
m_firstParse
;
59
static
QRegularExpression
m_findExactPsiModLabel
;
60
static
QRegularExpression
m_findRelatedPsiMsLabel
;
61
};
62
63
}
// namespace pappso
64
65
66
67
extern
int
oboPsiModTermMetaTypeId
;
pappso::OboPsiModTerm
Definition:
obopsimodterm.h:32
pappso::OboPsiModTerm::m_psiModLabel
QString m_psiModLabel
Definition:
obopsimodterm.h:47
pappso::OboPsiModTerm::m_psiMsLabel
QString m_psiMsLabel
Definition:
obopsimodterm.h:48
pappso::OboPsiModTerm::m_diffFormula
QString m_diffFormula
Definition:
obopsimodterm.h:49
pappso::OboPsiModTerm::m_origin
QString m_origin
Definition:
obopsimodterm.h:50
pappso::OboPsiModTerm::m_definition
QString m_definition
Definition:
obopsimodterm.h:46
pappso::OboPsiModTerm::m_firstParse
static QRegularExpression m_firstParse
Definition:
obopsimodterm.h:58
pappso::OboPsiModTerm::m_findRelatedPsiMsLabel
static QRegularExpression m_findRelatedPsiMsLabel
Definition:
obopsimodterm.h:60
pappso::OboPsiModTerm::m_findExactPsiModLabel
static QRegularExpression m_findExactPsiModLabel
Definition:
obopsimodterm.h:59
pappso::OboPsiModTerm::m_diffMono
double m_diffMono
Definition:
obopsimodterm.h:52
pappso::OboPsiModTerm::m_accession
QString m_accession
Definition:
obopsimodterm.h:44
pappso::OboPsiModTerm::OboPsiMod
friend OboPsiMod
Definition:
obopsimodterm.h:33
pappso::OboPsiModTerm::m_name
QString m_name
Definition:
obopsimodterm.h:45
PMSPP_LIB_DECL
#define PMSPP_LIB_DECL
Definition:
exportinmportconfig.h:14
pappso
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
Definition:
aa.cpp:39
oboPsiModTermMetaTypeId
int oboPsiModTermMetaTypeId
Definition:
obopsimodterm.cpp:29
pappsomspp
obo
obopsimodterm.h
Generated on Sun Jan 1 2023 15:24:07 for libpappsomspp by
1.9.1