pappsomspp
Library for mass spectrometry
peptidesemienzyme.h
Go to the documentation of this file.
1
2
/*******************************************************************************
3
* Copyright (c) 2016 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 "
enzymeproductinterface.h
"
28
29
30
namespace
pappso
31
{
32
33
34
/** \brief cut a regular peptide obtained with an enzyme at any position from
35
* Nter or Cter
36
*
37
* WORK IN PROGRESS
38
* */
39
class
PMSPP_LIB_DECL
PeptideSemiEnzyme :
public
EnzymeProductInterface,
40
PeptideSinkInterface
41
{
42
private
:
43
EnzymeProductInterface *m_sink =
nullptr
;
44
45
public
:
46
PeptideSemiEnzyme();
47
~PeptideSemiEnzyme();
48
49
// EnzymeProductInterface
50
void
setPeptide(std::int8_t sequence_database_id,
51
const
ProteinSp
&protein_sp,
52
bool
is_decoy,
53
const
QString &peptide,
54
unsigned
int
start,
55
bool
is_nter,
56
unsigned
int
missed_cleavage_number,
57
bool
semi_enzyme)
override
;
58
59
// PeptideSinkInterface
60
void
61
setSink(
EnzymeProductInterface
*sink)
override
62
{
63
m_sink = sink;
64
};
65
};
66
67
68
}
// namespace pappso
enzymeproductinterface.h
PMSPP_LIB_DECL
#define PMSPP_LIB_DECL
Definition:
exportinmportconfig.h:12
pappso
Definition:
aa.cpp:38
pappso::EnzymeProductInterface
Definition:
enzymeproductinterface.h:52
pappso::ProteinSp
std::shared_ptr< const Protein > ProteinSp
shared pointer on a Protein object
Definition:
protein.h:62
pappsomspp
protein
peptidesemienzyme.h
Generated on Tue Apr 28 2020 14:35:52 for pappsomspp by
1.8.16