libpappsomspp
Library for mass spectrometry
wraptandeminput.h
Go to the documentation of this file.
1/**
2 * \file pappsomspp/processing/tandemwrapper/wraptandeminput.h
3 * \date 13/11/2021
4 * \author Olivier Langella
5 * \brief rewrites tandem xml input file with temporary files
6 */
7
8/*******************************************************************************
9 * Copyright (c) 2021 Olivier Langella <Olivier.Langella@u-psud.fr>.
10 *
11 * This file is part of PAPPSOms-tools.
12 *
13 * PAPPSOms-tools is free software: you can redistribute it and/or modify
14 * it under the terms of the GNU General Public License as published by
15 * the Free Software Foundation, either version 3 of the License, or
16 * (at your option) any later version.
17 *
18 * PAPPSOms-tools is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
22 *
23 * You should have received a copy of the GNU General Public License
24 * along with PAPPSOms-tools. If not, see <http://www.gnu.org/licenses/>.
25 *
26 ******************************************************************************/
27
28#pragma once
29
30#include <QDebug>
31#include <QFile>
32#include "../xml/xmlstreamreaderinterface.h"
33/**
34 * @todo write docs
35 */
36namespace pappso
37{
38
39/**
40 * @todo write docs
41 */
43{
44 public:
45 /**
46 * Default constructor
47 */
48 WrapTandemInput(const QString &destinationMzXmlFile,
49 const QString &destinationTandemInputFile,
50 const QString &destinationTandemOutputFile);
51
52 /**
53 * Destructor
54 */
55 virtual ~WrapTandemInput();
56
57
58 const QString &getOriginalMsDataFileName() const;
59 const QString &getOriginalTandemOutputFileName() const;
60
61 const QString &getOriginalTandemPresetFileName() const;
62
63
64 protected:
65 virtual void readStream() override;
66
67 private:
75 QXmlStreamWriter m_writerXmlTandemInput;
76};
77} // namespace pappso
QXmlStreamWriter m_writerXmlTandemInput
virtual void readStream() override
WrapTandemInput(const QString &destinationMzXmlFile, const QString &destinationTandemInputFile, const QString &destinationTandemOutputFile)
const QString & getOriginalTandemOutputFileName() const
QString m_destinationTandemInputFileName
QString m_destinationTandemOutputFileName
const QString & getOriginalTandemPresetFileName() const
const QString & getOriginalMsDataFileName() const
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
Definition: aa.cpp:39