OpenMS
QuantmsIO.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: Julianus Pfeuffer $
6 // $Authors: Julianus Pfeuffer $
7 // --------------------------------------------------------------------------
8 
9 #pragma once
10 
15 
16 #include <vector>
17 #include <set>
18 
19 namespace OpenMS
20 {
56  class OPENMS_DLLAPI QuantmsIO :
57  public ProgressLogger
58  {
59  public:
61  QuantmsIO() = default;
62 
65 
75  void store(const String& filename,
76  const std::vector<ProteinIdentification>& protein_identifications,
77  const PeptideIdentificationList& peptide_identifications);
78 
89  void store(const String& filename,
90  const std::vector<ProteinIdentification>& protein_identifications,
91  const PeptideIdentificationList& peptide_identifications,
92  bool export_all_psms);
93 
105  void store(const String& filename,
106  const std::vector<ProteinIdentification>& protein_identifications,
107  const PeptideIdentificationList& peptide_identifications,
108  bool export_all_psms,
109  const std::set<String>& meta_value_keys);
110 
111  };
112 
113 } // namespace OpenMS
Container for peptide identifications from multiple spectra.
Definition: PeptideIdentificationList.h:66
Base class for all classes that want to report their progress.
Definition: ProgressLogger.h:27
File adapter for writing PSM (Peptide Spectrum Match) data to parquet files.
Definition: QuantmsIO.h:58
void store(const String &filename, const std::vector< ProteinIdentification > &protein_identifications, const PeptideIdentificationList &peptide_identifications)
Store peptide and protein identifications in parquet format.
void store(const String &filename, const std::vector< ProteinIdentification > &protein_identifications, const PeptideIdentificationList &peptide_identifications, bool export_all_psms)
Store peptide and protein identifications in parquet format with all PSMs.
~QuantmsIO()
Destructor.
void store(const String &filename, const std::vector< ProteinIdentification > &protein_identifications, const PeptideIdentificationList &peptide_identifications, bool export_all_psms, const std::set< String > &meta_value_keys)
Store peptide and protein identifications in parquet format with enhanced options.
QuantmsIO()=default
Default constructor.
A more convenient string class.
Definition: String.h:34
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19