|
OpenMS
2.5.0
|
Go to the documentation of this file.
44 class KDTreeFeatureMaps;
63 const String& getTmpDir()
const;
64 const String& getTmpOutDir()
const;
65 const String& getTmpMsFile()
const;
89 static void preprocessingSirius(
const String& featureinfo,
91 std::vector<FeatureMap>& v_fp,
106 static void checkFeatureSpectraNumber(
const String& featureinfo,
124 const static std::vector<String> callSiriusQProcess(
const String& tmp_ms_file,
125 const String& tmp_out_dir,
127 const String& out_csifingerid,
132 String getNoMasstraceInfoIsotopePattern();
133 int getIsotopePatternIterations();
166 void updateMembers_()
override;
int isotope_pattern_iterations_
Definition: SiriusAdapterAlgorithm.h:144
Management and storage of parameters / INI files.
Definition: Param.h:73
double precursor_mz_tolerance_
Definition: SiriusAdapterAlgorithm.h:141
String ion_tree_
Definition: SiriusAdapterAlgorithm.h:162
#define OPENMS_LOG_INFO
Macro if a information, e.g. a status should be reported.
Definition: LogStream.h:465
String database_
Definition: SiriusAdapterAlgorithm.h:151
int noise_
Definition: SiriusAdapterAlgorithm.h:152
String getNoMasstraceInfoIsotopePattern()
int getIsotopePatternIterations()
String isotope_
Definition: SiriusAdapterAlgorithm.h:154
String auto_charge_
Definition: SiriusAdapterAlgorithm.h:161
static void store(const MSExperiment &spectra, const OpenMS::String &msfile, const FeatureMapping::FeatureToMs2Indices &feature_mapping, const bool &feature_only, const int &isotope_pattern_iterations, const bool no_mt_info, std::vector< SiriusMSFile::CompoundInfo > &v_cmpinfo)
Internal structure used in SiriusAdapter that is used for the conversion of a MzMlFile to an internal...
String elements_
Definition: SiriusAdapterAlgorithm.h:155
String tmp_ms_file_
Definition: SiriusAdapterAlgorithm.h:71
static void preprocessingSirius(const String &featureinfo, const MSExperiment &spectra, std::vector< FeatureMap > &v_fp, KDTreeFeatureMaps &fp_map_kd, const SiriusAdapterAlgorithm &sirius_algo, FeatureMapping::FeatureToMs2Indices &feature_mapping)
Preprocessing needed for SIRIUS.
Definition: SiriusAdapterAlgorithm.h:46
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.
int candidates_
Definition: SiriusAdapterAlgorithm.h:150
void insert(const String &prefix, const Param ¶m)
Base class for TOPP applications.
Definition: TOPPBase.h:144
String tmp_dir_
Definition: SiriusAdapterAlgorithm.h:70
int cores_
Definition: SiriusAdapterAlgorithm.h:159
String no_masstrace_info_isotope_pattern_
Definition: SiriusAdapterAlgorithm.h:147
void setLogType(LogType type) const
Sets the progress log that should be used. The default type is NONE!
String profile_
Definition: SiriusAdapterAlgorithm.h:149
int ppm_max_
Definition: SiriusAdapterAlgorithm.h:153
File adapter for MzTab files.
Definition: MzTabFile.h:58
static void checkFeatureSpectraNumber(const String &featureinfo, const FeatureMapping::FeatureToMs2Indices &feature_mapping, const MSExperiment &spectra, const SiriusAdapterAlgorithm &sirius_algo)
logs number of features and spectra used
int compound_timeout_
Definition: SiriusAdapterAlgorithm.h:156
void setParameters(const Param ¶m)
Sets the parameters.
unsigned int filter_by_num_masstraces_
Definition: SiriusAdapterAlgorithm.h:140
In-Memory representation of a mass spectrometry experiment.
Definition: MSExperiment.h:77
int tree_timeout_
Definition: SiriusAdapterAlgorithm.h:157
Data model of MzTab files. Please see the official MzTab specification at https://code....
Definition: MzTab.h:855
String no_recalibration_
Definition: SiriusAdapterAlgorithm.h:163
Param copy(const String &prefix, bool remove_prefix=false) const
Returns a new Param object containing all entries that start with prefix.
String tmp_out_dir_
Definition: SiriusAdapterAlgorithm.h:72
Definition: FeatureMapping.h:48
Stores a set of features, together with a 2D tree for fast search.
Definition: KDTreeFeatureMaps.h:49
A base class for all classes handling default parameters.
Definition: DefaultParamHandler.h:91
String most_intense_ms2_
Definition: SiriusAdapterAlgorithm.h:164
QString toQString() const
Conversion to Qt QString.
void load(const String &filename, PeakMap &map)
Loads a map from a MzML file. Spectra and chromatograms are sorted by default (this can be disabled u...
File adapter for MzML files.
Definition: MzMLFile.h:55
int top_n_hits_
Definition: SiriusAdapterAlgorithm.h:158
A more convenient string class.
Definition: String.h:58
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.
Struct for temporary folder structure.
Definition: SiriusAdapterAlgorithm.h:53
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
#define OPENMS_LOG_WARN
Macro if a warning, a piece of information which should be read by the user, should be logged.
Definition: LogStream.h:460
double precursor_rt_tolerance_
Definition: SiriusAdapterAlgorithm.h:143
String feature_only_
Definition: SiriusAdapterAlgorithm.h:146
int debug_level_
Definition: SiriusAdapterAlgorithm.h:68
static bool copyDirRecursively(const QString &from_dir, const QString &to_dir, File::CopyOptions option=CopyOptions::OVERWRITE)
int main(int argc, const char **argv)
Definition: INIFileEditor.cpp:73
String precursor_mz_tolerance_unit_
Definition: SiriusAdapterAlgorithm.h:142
static int extract_scan_index(const String &path)
Extract scan_index from filepath.
void store(const String &filename, const MzTab &mz_tab) const
const static std::vector< String > callSiriusQProcess(const String &tmp_ms_file, const String &tmp_out_dir, String &executable, const String &out_csifingerid, const SiriusAdapterAlgorithm &sirius_algo)
Call SIRIUS with QProcess.