|
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;
Struct for temporary folder structure.
Definition: SiriusAdapterAlgorithm.h:53
int ppm_max_
Definition: SiriusAdapterAlgorithm.h:153
Base class for TOPP applications.
Definition: TOPPBase.h:144
String auto_charge_
Definition: SiriusAdapterAlgorithm.h:161
Param copy(const String &prefix, bool remove_prefix=false) const
Returns a new Param object containing all entries that start with prefix.
File adapter for MzTab files.
Definition: MzTabFile.h:58
String isotope_
Definition: SiriusAdapterAlgorithm.h:154
int getIsotopePatternIterations()
String ion_tree_
Definition: SiriusAdapterAlgorithm.h:162
String getNoMasstraceInfoIsotopePattern()
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.
int debug_level_
Definition: SiriusAdapterAlgorithm.h:68
Definition: SiriusAdapterAlgorithm.h:46
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.
File adapter for MzML files.
Definition: MzMLFile.h:55
A more convenient string class.
Definition: String.h:58
In-Memory representation of a mass spectrometry experiment.
Definition: MSExperiment.h:77
String precursor_mz_tolerance_unit_
Definition: SiriusAdapterAlgorithm.h:142
Data model of MzTab files. Please see the official MzTab specification at https://code....
Definition: MzTab.h:855
String elements_
Definition: SiriusAdapterAlgorithm.h:155
String most_intense_ms2_
Definition: SiriusAdapterAlgorithm.h:164
int noise_
Definition: SiriusAdapterAlgorithm.h:152
String profile_
Definition: SiriusAdapterAlgorithm.h:149
#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
String tmp_dir_
Definition: SiriusAdapterAlgorithm.h:70
A base class for all classes handling default parameters.
Definition: DefaultParamHandler.h:91
int isotope_pattern_iterations_
Definition: SiriusAdapterAlgorithm.h:144
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
int tree_timeout_
Definition: SiriusAdapterAlgorithm.h:157
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...
static bool copyDirRecursively(const QString &from_dir, const QString &to_dir, File::CopyOptions option=CopyOptions::OVERWRITE)
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...
double precursor_rt_tolerance_
Definition: SiriusAdapterAlgorithm.h:143
void store(const String &filename, const MzTab &mz_tab) const
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.
int cores_
Definition: SiriusAdapterAlgorithm.h:159
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
static int extract_scan_index(const String &path)
Extract scan_index from filepath.
void setParameters(const Param ¶m)
Sets the parameters.
QString toQString() const
Conversion to Qt QString.
int main(int argc, const char **argv)
Definition: INIFileEditor.cpp:73
double precursor_mz_tolerance_
Definition: SiriusAdapterAlgorithm.h:141
int compound_timeout_
Definition: SiriusAdapterAlgorithm.h:156
int top_n_hits_
Definition: SiriusAdapterAlgorithm.h:158
Definition: FeatureMapping.h:48
String no_masstrace_info_isotope_pattern_
Definition: SiriusAdapterAlgorithm.h:147
String feature_only_
Definition: SiriusAdapterAlgorithm.h:146
String database_
Definition: SiriusAdapterAlgorithm.h:151
Management and storage of parameters / INI files.
Definition: Param.h:73
String no_recalibration_
Definition: SiriusAdapterAlgorithm.h:163
#define OPENMS_LOG_INFO
Macro if a information, e.g. a status should be reported.
Definition: LogStream.h:465
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.
void insert(const String &prefix, const Param ¶m)
String tmp_out_dir_
Definition: SiriusAdapterAlgorithm.h:72
int candidates_
Definition: SiriusAdapterAlgorithm.h:150
Stores a set of features, together with a 2D tree for fast search.
Definition: KDTreeFeatureMaps.h:49
void setLogType(LogType type) const
Sets the progress log that should be used. The default type is NONE!
unsigned int filter_by_num_masstraces_
Definition: SiriusAdapterAlgorithm.h:140
String tmp_ms_file_
Definition: SiriusAdapterAlgorithm.h:71