83 double iso_score = 0.0;
84 double tree_score = 0.0;
85 double sirius_score = 0.0;
86 int explainedpeaks = 0;
87 double explainedintensity = 0.0;
88 double median_mass_error_fragment_peaks_ppm = 0.0;
89 double median_absolute_mass_error_fragment_peaks_ppm = 0.0;
90 double mass_error_precursor_ppm = 0.0;
100 int scan_number = -1;
102 std::vector<SiriusAdapterHit>
hits;
154 static void read(
const std::vector<String>& sirius_output_paths,
155 const String& original_input_mzml,
156 const Size& top_n_hits,
161 namespace SiriusVersion
This class handles csv files. Currently only loading is implemented.
Definition: CsvFile.h:51
Data model of MzTab files. Please see the official MzTab specification at https://code....
Definition: MzTab.h:809
Definition: SiriusMzTabWriter.h:43
std::vector< SiriusAdapterHit > hits
Definition: SiriusMzTabWriter.h:102
static SiriusSpectrumMSInfo extractSpectrumMSInfo(const String &single_sirius_path)
Extract mz, rt of the precursor and the nativeID of the corresponding MS2 spectra in the spectrum....
OpenMS::String feature_id
Definition: SiriusMzTabWriter.h:101
static std::map< std::string, Size > extract_columnname_to_columnindex(CsvFile &csvfile)
Extract columnname and index based in SIRIUS entries.
OpenMS::String adduct
Definition: SiriusMzTabWriter.h:80
static String extractFeatureId(const String &path)
Extract feature_id from filepath.
static int extractScanNumber(const String &path)
Extract scan_number from filepath.
OpenMS::String precursor_formula
Definition: SiriusMzTabWriter.h:81
static void read(const std::vector< String > &sirius_output_paths, const String &original_input_mzml, const Size &top_n_hits, MzTab &result)
Conversion of sirius output to mzTab.
OpenMS::String formula
Definition: SiriusMzTabWriter.h:79
static int extractScanIndex(const String &path)
Extract scan_index from filepath.
StringList ext_n_id
Definition: SiriusMzTabWriter.h:114
OpenMS::StringList native_ids
Definition: SiriusMzTabWriter.h:98
std::vector< SiriusAdapterIdentification > identifications
Definition: SiriusMzTabWriter.h:108
Internal structure used in SiriusAdapter that is used for the conversion of the sirius output to an m...
Definition: SiriusMzTabWriter.h:77
Definition: SiriusMzTabWriter.h:94
Definition: SiriusMzTabWriter.h:106
Definition: SiriusMzTabWriter.h:112
A more convenient string class.
Definition: String.h:61
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
std::vector< String > StringList
Vector of String.
Definition: ListUtils.h:70
const std::string CURRENT_VERSION
Definition: SiriusMzTabWriter.h:165
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47