libpappsomspp
Library for mass spectrometry
Loading...
Searching...
No Matches
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
/** @brief tells if this term "is_a" another accession
43
* @return bool if true
44
*/
45
bool
isA(
const
QString &accession)
const
;
46
47
public
:
48
QString
m_accession
;
49
QString
m_name
;
50
QString
m_definition
;
51
QString
m_psiModLabel
;
52
QString
m_psiMsLabel
;
53
QString
m_diffFormula
;
54
QString
m_formula
;
55
QString
m_origin
;
56
57
double
m_diffMono
;
58
double
m_massMono
;
59
60
QStringList
m_isA
;
61
62
private
:
63
void
parseLine(
const
QString &
line
);
64
void
clearTerm();
65
66
static
QRegularExpression
m_firstParse
;
67
static
QRegularExpression
m_findExactPsiModLabel
;
68
static
QRegularExpression
m_findRelatedPsiMsLabel
;
69
};
70
71
}
// namespace pappso
72
73
74
extern
int
oboPsiModTermMetaTypeId
;
CardanoResultCase::line
@ line
pappso::OboPsiModTerm
Definition
obopsimodterm.h:32
pappso::OboPsiModTerm::m_psiModLabel
QString m_psiModLabel
Definition
obopsimodterm.h:51
pappso::OboPsiModTerm::m_isA
QStringList m_isA
Definition
obopsimodterm.h:60
pappso::OboPsiModTerm::m_psiMsLabel
QString m_psiMsLabel
Definition
obopsimodterm.h:52
pappso::OboPsiModTerm::m_diffFormula
QString m_diffFormula
Definition
obopsimodterm.h:53
pappso::OboPsiModTerm::m_origin
QString m_origin
Definition
obopsimodterm.h:55
pappso::OboPsiModTerm::m_definition
QString m_definition
Definition
obopsimodterm.h:50
pappso::OboPsiModTerm::m_formula
QString m_formula
Definition
obopsimodterm.h:54
pappso::OboPsiModTerm::m_firstParse
static QRegularExpression m_firstParse
Definition
obopsimodterm.h:66
pappso::OboPsiModTerm::m_findRelatedPsiMsLabel
static QRegularExpression m_findRelatedPsiMsLabel
Definition
obopsimodterm.h:68
pappso::OboPsiModTerm::m_findExactPsiModLabel
static QRegularExpression m_findExactPsiModLabel
Definition
obopsimodterm.h:67
pappso::OboPsiModTerm::m_massMono
double m_massMono
Definition
obopsimodterm.h:58
pappso::OboPsiModTerm::m_diffMono
double m_diffMono
Definition
obopsimodterm.h:57
pappso::OboPsiModTerm::m_accession
QString m_accession
Definition
obopsimodterm.h:48
pappso::OboPsiModTerm::OboPsiMod
friend OboPsiMod
Definition
obopsimodterm.h:33
pappso::OboPsiModTerm::m_name
QString m_name
Definition
obopsimodterm.h:49
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 Tue May 21 2024 17:16:44 for libpappsomspp by
1.9.8