OpenMS
Loading...
Searching...
No Matches
TransitionParquetFile.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
12
15
16namespace OpenSwath
17{
18 struct LightTargetedExperiment;
19}
20
21namespace OpenMS
22{
23
100 class OPENMS_DLLAPI TransitionParquetFile
101 {
102 public:
105
108
133 const std::string& oswpq_dir,
134 OpenSwath::LightTargetedExperiment& targeted_exp) const;
135
147 const std::string& oswpq_dir,
150
168 const std::string& oswpq_path,
169 const OpenSwath::LightTargetedExperiment& targeted_exp) const;
170
184 const std::string& oswpq_path,
185 const OpenSwath::LightTargetedExperiment& targeted_exp,
186 const OpenSwathLibraryIDNormalizer::SourceIDMapping* source_ids) const;
187 };
188
189} // namespace OpenMS
Source-to-canonical precursor provenance captured during library loading.
Definition OpenSwathLibraryIDNormalizer.h:50
Read OpenSwath Parquet library input (.oswpq) into LightTargetedExperiment.
Definition TransitionParquetFile.h:101
void convertParquetToTargetedExperiment(const std::string &oswpq_dir, OpenSwath::LightTargetedExperiment &targeted_exp, OpenSwathLibraryIDNormalizer::SourceIDMapping *source_ids) const
Read a .oswpq library and additionally return source-ID provenance.
TransitionParquetFile()=default
Default constructor (the class is stateless; API consists of the two convert* methods)
void convertParquetToTargetedExperiment(const std::string &oswpq_dir, OpenSwath::LightTargetedExperiment &targeted_exp) const
Read a .oswpq library and populate a OpenSwath::LightTargetedExperiment.
void convertLightTargetedExperimentToParquet(const std::string &oswpq_path, const OpenSwath::LightTargetedExperiment &targeted_exp) const
Write a OpenSwath::LightTargetedExperiment to a .oswpq library.
void convertLightTargetedExperimentToParquet(const std::string &oswpq_path, const OpenSwath::LightTargetedExperiment &targeted_exp, const OpenSwathLibraryIDNormalizer::SourceIDMapping *source_ids) const
Write a canonical OpenSwath::LightTargetedExperiment with optional source precursor provenance.
~TransitionParquetFile()=default
Default destructor.
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19
Definition Scoring.h:18
Definition TransitionExperiment.h:369