0
|
1 <?xml version='1.0' encoding='UTF-8'?>
|
|
2 <tool id="AccurateMassSearch" name="AccurateMassSearch" version="2.0.0">
|
|
3 <description>Find potential HMDB ids within the given mass error window.</description>
|
|
4 <macros>
|
|
5 <token name="@EXECUTABLE@">AccurateMassSearch</token>
|
|
6 <import>macros.xml</import>
|
|
7 </macros>
|
|
8 <expand macro="stdio"/>
|
|
9 <expand macro="requirements"/>
|
|
10 <command>AccurateMassSearch
|
|
11
|
|
12 #if $param_in:
|
|
13 -in $param_in
|
|
14 #end if
|
|
15 #if $param_out:
|
|
16 -out $param_out
|
|
17 #end if
|
|
18 #if $param_out_annotation:
|
|
19 -out_annotation $param_out_annotation
|
|
20 #end if
|
|
21 #if $param_positive_adducts_file:
|
|
22 -positive_adducts_file $param_positive_adducts_file
|
|
23 #end if
|
|
24 #if $param_negative_adducts_file:
|
|
25 -negative_adducts_file $param_negative_adducts_file
|
|
26 #end if
|
|
27 -threads \${GALAXY_SLOTS:-24}
|
|
28 #if $param_db_mapping:
|
|
29 -db:mapping $param_db_mapping
|
|
30 #end if
|
|
31 #if $param_db_struct:
|
|
32 -db:struct $param_db_struct
|
|
33 #end if
|
|
34 #if $param_algorithm_mass_error_value:
|
|
35 -algorithm:mass_error_value $param_algorithm_mass_error_value
|
|
36 #end if
|
|
37 #if $param_algorithm_mass_error_unit:
|
|
38 -algorithm:mass_error_unit
|
|
39 #if " " in str($param_algorithm_mass_error_unit):
|
|
40 "$param_algorithm_mass_error_unit"
|
|
41 #else
|
|
42 $param_algorithm_mass_error_unit
|
|
43 #end if
|
|
44 #end if
|
|
45 #if $param_algorithm_ionization_mode:
|
|
46 -algorithm:ionization_mode
|
|
47 #if " " in str($param_algorithm_ionization_mode):
|
|
48 "$param_algorithm_ionization_mode"
|
|
49 #else
|
|
50 $param_algorithm_ionization_mode
|
|
51 #end if
|
|
52 #end if
|
|
53 #if $param_algorithm_isotopic_similarity:
|
|
54 -algorithm:isotopic_similarity
|
|
55 #end if
|
|
56 #if $param_algorithm_report_mode:
|
|
57 -algorithm:report_mode
|
|
58 #if " " in str($param_algorithm_report_mode):
|
|
59 "$param_algorithm_report_mode"
|
|
60 #else
|
|
61 $param_algorithm_report_mode
|
|
62 #end if
|
|
63 #end if
|
|
64 #if $param_algorithm_keep_unidentified_masses:
|
|
65 -algorithm:keep_unidentified_masses
|
|
66 #end if
|
|
67 #if $adv_opts.adv_opts_selector=='advanced':
|
|
68 #if $adv_opts.param_force:
|
|
69 -force
|
|
70 #end if
|
|
71 #end if
|
|
72 </command>
|
|
73 <inputs>
|
|
74 <param name="param_in" type="data" format="featurexml,consensusxml" optional="False" label="featureXML or consensusXML file" help="(-in) "/>
|
|
75 <param name="param_positive_adducts_file" type="data" format="tabular" optional="False" value="CHEMISTRY/PositiveAdducts.tsv" label="This file contains the list of potential positive adducts that will be looked for in the database" help="(-positive_adducts_file) Edit the list if you wish to exclude/include adducts. By default CHEMISTRY/PositiveAdducts.tsv in OpenMS/share is used! If empty, the default will be used"/>
|
|
76 <param name="param_negative_adducts_file" type="data" format="tabular" optional="False" value="CHEMISTRY/NegativeAdducts.tsv" label="This file contains the list of potential negative adducts that will be looked for in the database" help="(-negative_adducts_file) Edit the list if you wish to exclude/include adducts. By default CHEMISTRY/NegativeAdducts.tsv in OpenMS/share is used! If empty, the default will be used"/>
|
|
77 <param name="param_db_mapping" type="data" format="tabular" optional="False" value="CHEMISTRY/HMDBMappingFile.tsv" label="Database input file, containing three tab-separated columns of mass, formula, identifie" help="(-mapping) If 'mass' is 0, it is re-computed from the molecular sum formula. By default CHEMISTRY/HMDBMappingFile.tsv in OpenMS/share is used! If empty, the default will be used"/>
|
|
78 <param name="param_db_struct" type="data" format="tabular" optional="False" value="CHEMISTRY/HMDB2StructMapping.tsv" label="Database input file, containing four tab-separated columns of identifier, name, SMILES, INCHI.The identifier should match with mapping file" help="(-struct) SMILES and INCHI are reported in the output, but not used otherwise. By default CHEMISTRY/HMDB2StructMapping.tsv in OpenMS/share is used! If empty, the default will be used"/>
|
|
79 <param name="param_algorithm_mass_error_value" type="float" value="5.0" label="Tolerance allowed for accurate mass search" help="(-mass_error_value) "/>
|
|
80 <param name="param_algorithm_mass_error_unit" type="select" optional="True" value="ppm" label="Unit of mass error (ppm or Da)" help="(-mass_error_unit) ">
|
|
81 <option value="ppm">ppm</option>
|
|
82 <option value="Da">Da</option>
|
|
83 </param>
|
|
84 <param name="param_algorithm_ionization_mode" type="select" optional="True" value="positive" label="Positive or negative ionization mode?" help="(-ionization_mode) If 'auto' is used, the first feature of the input map must contain the meta-value 'scan_polarity'. If its missing, the tool will exit with error">
|
|
85 <option value="positive">positive</option>
|
|
86 <option value="negative">negative</option>
|
|
87 <option value="auto">auto</option>
|
|
88 </param>
|
|
89 <param name="param_algorithm_isotopic_similarity" type="boolean" truevalue="-algorithm:isotopic_similarity" falsevalue="" checked="false" optional="True" label="Computes a similarity score for each hit (only if the feature exhibits at least two isotopic mass traces)" help="(-isotopic_similarity) "/>
|
|
90 <param name="param_algorithm_report_mode" type="select" optional="True" value="all" label="Results are reported in one of several modes: Either (all) matching hits, the (top3) scoring hits, or the (best) scoring hit" help="(-report_mode) ">
|
|
91 <option value="all">all</option>
|
|
92 <option value="top3">top3</option>
|
|
93 <option value="best">best</option>
|
|
94 </param>
|
|
95 <param name="param_algorithm_keep_unidentified_masses" type="boolean" truevalue="-algorithm:keep_unidentified_masses" falsevalue="" checked="false" optional="True" label="Keep features that did not yield any DB hit" help="(-keep_unidentified_masses) "/>
|
|
96 <expand macro="advanced_options">
|
|
97 <param name="param_force" type="boolean" truevalue="-force" falsevalue="" checked="false" optional="True" label="Overwrite tool specific checks" help="(-force) "/>
|
|
98 </expand>
|
|
99 </inputs>
|
|
100 <outputs>
|
|
101 <data name="param_out" format="tabular"/>
|
|
102 <data name="param_out_annotation" metadata_source="param_in" format="input"/>
|
|
103 </outputs>
|
|
104 <help>**What it does**
|
|
105
|
|
106 Find potential HMDB ids within the given mass error window.
|
|
107
|
|
108
|
|
109 For more information, visit http://ftp.mi.fu-berlin.de/OpenMS/release-documentation/html/UTILS_AccurateMassSearch.html</help>
|
|
110 <expand macro="references"/>
|
|
111 </tool>
|