OpenMS
Loading...
Searching...
No Matches
OpenSwathOSWParquetWriter.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: Justin Sing $
6// $Authors: Justin Sing $
7// --------------------------------------------------------------------------
8
9#pragma once
10
14
15namespace OpenSwath
16{
17 struct LightTargetedExperiment;
18}
19
20namespace OpenMS
21{
22
51 class OPENMS_DLLAPI OpenSwathOSWParquetWriter
52 {
53 public:
73 void write(const String& output_path,
74 const OpenSwath::LightTargetedExperiment& assay_library,
75 const FeatureMap& feature_map,
76 UInt64 run_id,
77 const String& input_filename,
78 bool enable_uis_scoring) const;
79
85 void setPreserveExisting(bool preserve);
86 private:
87 // Mutable so the const write() method may consult this flag.
88 mutable bool preserve_existing_ = false;
89 };
90
91} // namespace OpenMS
A container for features.
Definition FeatureMap.h:82
Definition OpenSwathOSWParquetWriter.h:52
void setPreserveExisting(bool preserve)
Set whether the writer should preserve (append) existing archives.
void write(const String &output_path, const OpenSwath::LightTargetedExperiment &assay_library, const FeatureMap &feature_map, UInt64 run_id, const String &input_filename, bool enable_uis_scoring) const
Write an OSW parquet directory or zip archive.
A more convenient string class.
Definition String.h:34
uint64_t UInt64
Unsigned integer type (64bit)
Definition Types.h:47
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19
Definition Scoring.h:18
Definition TransitionExperiment.h:356