| 1 | /******************************************************************************* |
| 2 | * Copyright (c) 2016 Olivier Langella <[email protected]>. |
| 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 | * Contributors: |
| 20 | * Olivier Langella <[email protected]> - initial API and |
| 21 | *implementation |
| 22 | ******************************************************************************/ |
| 23 | |
| 24 | #pragma once |
| 25 | |
| 26 | |
| 27 | #include "enzymeproductinterface.h"cxx . . $ `<file>/src/pappsomspp/core/protein/enzymeproductinterface.h`/ |
| 28 | #include "peptidemodificatortee.h"cxx . . $ `<file>/src/pappsomspp/core/protein/peptidemodificatortee.h`/ |
| 29 | |
| 30 | namespace pappsocxx . . $ pappso/ |
| 31 | { |
| 32 | |
| 33 | class PMSPP_LIB_DECLcxx . . $ `src/pappsomspp/export-import-config.h:10:9`! PeptideModificatorPipelinecxx . . $ pappso/PeptideModificatorPipeline# |
| 34 | : public PeptideModificatorInterfacecxx . . $ pappso/PeptideModificatorInterface#, |
| 35 | public PeptideSpSinkInterfacecxx . . $ pappso/PeptideSpSinkInterface#, |
| 36 | public EnzymeProductInterfacecxx . . $ pappso/EnzymeProductInterface# |
| 37 | { |
| 38 | public: |
| 39 | PeptideModificatorPipelinecxx . . $ pappso/PeptideModificatorPipeline#PeptideModificatorPipeline(49f6e7a06ebc5aa8).(); |
| 40 | PeptideModificatorPipelinecxx . . $ pappso/PeptideModificatorPipeline#PeptideModificatorPipeline(91bb13881c12656).(const PeptideModificatorPipelinecxx . . $ pappso/PeptideModificatorPipeline# &other); |
| 41 | virtual ~cxx . . $ pappso/PeptideModificatorPipeline#`~PeptideModificatorPipeline`(ced63f7c635d850d).PeptideModificatorPipelinecxx . . $ pappso/PeptideModificatorPipeline#(); |
| 42 | |
| 43 | void addFixedModificationStringcxx . . $ pappso/PeptideModificatorPipeline#addFixedModificationString(3520e46b33348bf6).(const QStringcxx . . $ QString# &mod_str); |
| 44 | // protein Nter modification |
| 45 | void addFixedNterModificationStringcxx . . $ pappso/PeptideModificatorPipeline#addFixedNterModificationString(3520e46b33348bf6).(const QStringcxx . . $ QString# &mod_str); |
| 46 | // protein Cter modification |
| 47 | void addFixedCterModificationStringcxx . . $ pappso/PeptideModificatorPipeline#addFixedCterModificationString(3520e46b33348bf6).(const QStringcxx . . $ QString# &mod_str); |
| 48 | |
| 49 | void addPotentialModificationStringcxx . . $ pappso/PeptideModificatorPipeline#addPotentialModificationString(3520e46b33348bf6).(const QStringcxx . . $ QString# &mod_str); |
| 50 | // protein Nter modification |
| 51 | void addPotentialNterModificationStringcxx . . $ pappso/PeptideModificatorPipeline#addPotentialNterModificationString(3520e46b33348bf6).(const QStringcxx . . $ QString# &mod_str); |
| 52 | // protein Cter modification |
| 53 | void addPotentialCterModificationStringcxx . . $ pappso/PeptideModificatorPipeline#addPotentialCterModificationString(3520e46b33348bf6).(const QStringcxx . . $ QString# &mod_str); |
| 54 | |
| 55 | void setSinkcxx . . $ pappso/PeptideModificatorPipeline#setSink(5524f5f99f1ee8ff).(PeptideModificatorInterfacecxx . . $ pappso/PeptideModificatorInterface# *sink) override; |
| 56 | |
| 57 | void setPeptideSpcxx . . $ pappso/PeptideModificatorPipeline#setPeptideSp(ac4eb37e551afef6).(stdcxx . . $ std/::int8_tcxx . . $ std/int8_t# sequence_database_id, |
| 58 | const ProteinSpcxx . . $ pappso/ProteinSp# &protein_sp, |
| 59 | bool is_decoy, |
| 60 | const PeptideSpcxx . . $ pappso/PeptideSp# &peptide_sp_original, |
| 61 | unsigned int start, |
| 62 | bool is_nter, |
| 63 | unsigned int missed_cleavage_number, |
| 64 | bool semi_enzyme) override; |
| 65 | void setPeptidecxx . . $ pappso/PeptideModificatorPipeline#setPeptide(ae7714ca4f666e7).(stdcxx . . $ std/::int8_tcxx . . $ std/int8_t# sequence_database_id, |
| 66 | const ProteinSpcxx . . $ pappso/ProteinSp# &protein_sp, |
| 67 | bool is_decoy, |
| 68 | const QStringcxx . . $ QString# &peptide_str, |
| 69 | unsigned int start, |
| 70 | bool is_nter, |
| 71 | unsigned int missed_cleavage_number, |
| 72 | bool semi_enzyme) override; |
| 73 | |
| 74 | void addLabeledModificationStringcxx . . $ pappso/PeptideModificatorPipeline#addLabeledModificationString(3520e46b33348bf6).(const QStringcxx . . $ QString# &mod_str); |
| 75 | |
| 76 | |
| 77 | private: |
| 78 | PeptideModificatorTeecxx . . $ pappso/PeptideModificatorTee# *mp_peptideModificatorTeecxx . . $ pappso/PeptideModificatorPipeline#mp_peptideModificatorTee. = nullptr; |
| 79 | |
| 80 | PeptideModificatorInterfacecxx . . $ pappso/PeptideModificatorInterface# *m_sinkcxx . . $ pappso/PeptideModificatorPipeline#m_sink. = nullptr; |
| 81 | |
| 82 | PeptideSpSinkInterfacecxx . . $ pappso/PeptideSpSinkInterface# *mp_lastPeptideSinkInterfacecxx . . $ pappso/PeptideModificatorPipeline#mp_lastPeptideSinkInterface.; |
| 83 | |
| 84 | PeptideModificatorInterfacecxx . . $ pappso/PeptideModificatorInterface# *mp_firstModificatorcxx . . $ pappso/PeptideModificatorPipeline#mp_firstModificator. = nullptr; |
| 85 | |
| 86 | stdcxx . . $ std/::vectorcxx . . $ std/vector#<PeptideModificatorInterfacecxx . . $ pappso/PeptideModificatorInterface# *> m_pepModificatorPtrListcxx . . $ pappso/PeptideModificatorPipeline#m_pepModificatorPtrList.; |
| 87 | |
| 88 | void parseFixedModificationcxx . . $ pappso/PeptideModificatorPipeline#parseFixedModification(75ea41cb302fff5b).(const QStringcxx . . $ QString# &mod_str, |
| 89 | bool Nter, |
| 90 | bool Cter, |
| 91 | bool else_prot); |
| 92 | void privAddFixedModificationStringcxx . . $ pappso/PeptideModificatorPipeline#privAddFixedModificationString(75ea41cb302fff5b).(const QStringcxx . . $ QString# &mod_str, |
| 93 | bool Nter, |
| 94 | bool Cter, |
| 95 | bool else_prot); |
| 96 | void parsePotentialModificationcxx . . $ pappso/PeptideModificatorPipeline#parsePotentialModification(75ea41cb302fff5b).(const QStringcxx . . $ QString# &mod_str, |
| 97 | bool Nter, |
| 98 | bool Cter, |
| 99 | bool else_prot); |
| 100 | void privAddPotentialModificationStringcxx . . $ pappso/PeptideModificatorPipeline#privAddPotentialModificationString(75ea41cb302fff5b).(const QStringcxx . . $ QString# &mod_str, |
| 101 | bool Nter, |
| 102 | bool Cter, |
| 103 | bool else_prot); |
| 104 | void parseLabeledModificationcxx . . $ pappso/PeptideModificatorPipeline#parseLabeledModification(75ea41cb302fff5b).(const QStringcxx . . $ QString# &mod_str, |
| 105 | bool Nter, |
| 106 | bool Cter, |
| 107 | bool else_prot); |
| 108 | }; |
| 109 | |
| 110 | |
| 111 | } // namespace pappso |