OpenMS
Loading...
Searching...
No Matches
IBSpectraFile.h
Go to the documentation of this file.
1// Copyright (c) 2002-present, OpenMS Inc. -- EKU Tuebingen, ETH Zurich, and FU Berlin
2// SPDX-License-Identifier: BSD-3-Clause
3//
4// --------------------------------------------------------------------------
5// $Maintainer: Timo Sachsenberg $
6// $Authors: Stephan Aiche $
7// --------------------------------------------------------------------------
8
9#pragma once
10
11#include <OpenMS/config.h>
13
14// std::shared_ptr
15#include <memory>
16
17namespace OpenMS
18{
19
20 // forward declaration
21 class ConsensusMap;
22 class IsobaricQuantitationMethod;
23 class AASequence;
24
29 class OPENMS_DLLAPI IBSpectraFile
30 {
31public:
36
41
46
55 void store(const std::string& filename, const ConsensusMap& cm);
56private:
57
63 std::shared_ptr<IsobaricQuantitationMethod> guessExperimentType_(const ConsensusMap& cm);
64
71
78 std::string getModifString_(const AASequence& sequence);
79 };
80
81}
82
Representation of a peptide/protein sequence.
Definition AASequence.h:88
A container for consensus elements.
Definition ConsensusMap.h:67
Implements the export of consensusmaps into the IBSpectra format used by isobar to load quantificatio...
Definition IBSpectraFile.h:30
StringList constructHeader_(const IsobaricQuantitationMethod &quantMethod)
Constructs the matching file header for the given quantitation method.
IBSpectraFile()
Constructor.
IBSpectraFile & operator=(const IBSpectraFile &rhs)
Assignment operator.
void store(const std::string &filename, const ConsensusMap &cm)
Writes the contents of the ConsensusMap cm into the file named by filename.
std::string getModifString_(const AASequence &sequence)
Generates the modification string for the given AASequence.
IBSpectraFile(const IBSpectraFile &other)
Copy constructor.
std::shared_ptr< IsobaricQuantitationMethod > guessExperimentType_(const ConsensusMap &cm)
Guesses the type of isobaric quantitation performed on the experiment.
Abstract base class describing an isobaric quantitation method in terms of the used channels and an i...
Definition IsobaricQuantitationMethod.h:32
std::vector< std::string > StringList
Vector of String.
Definition ListUtils.h:44
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19