OpenMS
CsiFingerIdMzTabWriter.h
Go to the documentation of this file.
1 // Copyright (c) 2002-2023, The OpenMS Team -- EKU Tuebingen, ETH Zurich, and FU Berlin
2 // SPDX-License-Identifier: BSD-3-Clause
3 //
4 // --------------------------------------------------------------------------
5 // $Maintainer: Oliver Alka $
6 // $Authors: Oliver Alka $
7 // --------------------------------------------------------------------------
8 
9 #pragma once
10 
12 
13 namespace OpenMS
14 {
15  class OPENMS_DLLAPI CsiFingerIdMzTabWriter
16  {
17  public:
18 
47  {
48  public:
51  unsigned int rank = 0;
52  unsigned int formula_rank = 0;
55  double score = 0.;
60  std::vector<String> pubchemids;
61  std::vector<String> links;
62 
63  };
64 
66  {
67  public:
68  double mz = 0.;
69  double rt = 0.;
71  int scan_index = -1;
72  int scan_number = -1;
74  std::vector<CsiAdapterHit> hits;
75  };
76 
78  {
79  public:
80  std::vector <CsiAdapterIdentification> identifications;
81  };
82 
93  static void read(const std::vector<String>& sirius_output_paths,
94  const String& original_input_mzml,
95  const Size& top_n_hits,
96  MzTab& result);
97 
98  };
99 }
Definition: CsiFingerIdMzTabWriter.h:16
std::vector< CsiAdapterHit > hits
Definition: CsiFingerIdMzTabWriter.h:74
OpenMS::String molecular_formula
Definition: CsiFingerIdMzTabWriter.h:54
OpenMS::String feature_id
Definition: CsiFingerIdMzTabWriter.h:73
OpenMS::String adduct
Definition: CsiFingerIdMzTabWriter.h:53
OpenMS::String inchikey2D
Definition: CsiFingerIdMzTabWriter.h:49
std::vector< String > pubchemids
Definition: CsiFingerIdMzTabWriter.h:60
OpenMS::String inchi
Definition: CsiFingerIdMzTabWriter.h:50
OpenMS::String xlogp
Definition: CsiFingerIdMzTabWriter.h:58
std::vector< String > links
Definition: CsiFingerIdMzTabWriter.h:61
static void read(const std::vector< String > &sirius_output_paths, const String &original_input_mzml, const Size &top_n_hits, MzTab &result)
Conversion of CSI:FingerID output to mzTab.
OpenMS::String dbflags
Definition: CsiFingerIdMzTabWriter.h:59
std::vector< CsiAdapterIdentification > identifications
Definition: CsiFingerIdMzTabWriter.h:80
OpenMS::StringList native_ids
Definition: CsiFingerIdMzTabWriter.h:70
OpenMS::String smiles
Definition: CsiFingerIdMzTabWriter.h:57
OpenMS::String name
Definition: CsiFingerIdMzTabWriter.h:56
Internal structure used in SiriusAdapter that is used for the conversion of the Csi:FingerID output t...
Definition: CsiFingerIdMzTabWriter.h:47
Definition: CsiFingerIdMzTabWriter.h:66
Definition: CsiFingerIdMzTabWriter.h:78
Data model of MzTab files. Please see the official MzTab specification at https://code....
Definition: MzTab.h:452
A more convenient string class.
Definition: String.h:34
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:101
std::vector< String > StringList
Vector of String.
Definition: ListUtils.h:44
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22