|
0
|
1 <?xml version='1.0' encoding='UTF-8'?>
|
|
|
2 <tool id="IDMassAccuracy" name="IDMassAccuracy" version="2.0.0">
|
|
|
3 <description>Calculates a distribution of the mass error from given mass spectra and IDs.</description>
|
|
|
4 <macros>
|
|
|
5 <token name="@EXECUTABLE@">IDMassAccuracy</token>
|
|
|
6 <import>macros.xml</import>
|
|
|
7 </macros>
|
|
|
8 <expand macro="stdio"/>
|
|
|
9 <expand macro="requirements"/>
|
|
|
10 <command>IDMassAccuracy
|
|
|
11
|
|
|
12 -in
|
|
|
13 #for token in $param_in:
|
|
|
14 $token
|
|
|
15 #end for
|
|
|
16 -id_in
|
|
|
17 #for token in $param_id_in:
|
|
|
18 $token
|
|
|
19 #end for
|
|
|
20 #if $param_precursor_out:
|
|
|
21 -precursor_out $param_precursor_out
|
|
|
22 #end if
|
|
|
23
|
|
|
24 #if $rep_param_precursor_columns:
|
|
|
25 -precursor_columns
|
|
|
26 #for token in $rep_param_precursor_columns:
|
|
|
27 #if " " in str(token):
|
|
|
28 "$token.param_precursor_columns"
|
|
|
29 #else
|
|
|
30 $token.param_precursor_columns
|
|
|
31 #end if
|
|
|
32 #end for
|
|
|
33 #end if
|
|
|
34 #if $param_precursor_error_ppm:
|
|
|
35 -precursor_error_ppm
|
|
|
36 #end if
|
|
|
37 #if $param_fragment_out:
|
|
|
38 -fragment_out $param_fragment_out
|
|
|
39 #end if
|
|
|
40
|
|
|
41 #if $rep_param_fragment_columns:
|
|
|
42 -fragment_columns
|
|
|
43 #for token in $rep_param_fragment_columns:
|
|
|
44 #if " " in str(token):
|
|
|
45 "$token.param_fragment_columns"
|
|
|
46 #else
|
|
|
47 $token.param_fragment_columns
|
|
|
48 #end if
|
|
|
49 #end for
|
|
|
50 #end if
|
|
|
51 #if $param_fragment_error_ppm:
|
|
|
52 -fragment_error_ppm
|
|
|
53 #end if
|
|
|
54 #if $param_fragment_mass_tolerance:
|
|
|
55 -fragment_mass_tolerance $param_fragment_mass_tolerance
|
|
|
56 #end if
|
|
|
57 #if $param_separator:
|
|
|
58 -separator "$param_separator"
|
|
|
59 #end if
|
|
|
60 -threads \${GALAXY_SLOTS:-24}
|
|
|
61 #if $adv_opts.adv_opts_selector=='advanced':
|
|
|
62 #if $adv_opts.param_number_of_bins:
|
|
|
63 -number_of_bins $adv_opts.param_number_of_bins
|
|
|
64 #end if
|
|
|
65 #if $adv_opts.param_generate_gnuplot_scripts:
|
|
|
66 -generate_gnuplot_scripts
|
|
|
67 #end if
|
|
|
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="mzml" multiple="true" optional="False" size="30" label="Input mzML file list, containing the spectra" help="(-in) ">
|
|
|
75 <sanitizer>
|
|
|
76 <valid initial="string.printable">
|
|
|
77 <remove value="'"/>
|
|
|
78 <remove value="""/>
|
|
|
79 </valid>
|
|
|
80 </sanitizer>
|
|
|
81 </param>
|
|
|
82 <param name="param_id_in" type="data" format="idxml" multiple="true" optional="False" size="30" label="Input idXML file list, containing the identifications" help="(-id_in) ">
|
|
|
83 <sanitizer>
|
|
|
84 <valid initial="string.printable">
|
|
|
85 <remove value="'"/>
|
|
|
86 <remove value="""/>
|
|
|
87 </valid>
|
|
|
88 </sanitizer>
|
|
|
89 </param>
|
|
|
90 <repeat name="rep_param_precursor_columns" min="0" max="1" title="param_precursor_columns">
|
|
|
91 <param name="param_precursor_columns" type="select" optional="True" value="MassDifference" label="Columns which will be written to the output file" help="(-precursor_columns) ">
|
|
|
92 <option value="MassDifference">MassDifference</option>
|
|
|
93 <option value="none">none</option>
|
|
|
94 </param>
|
|
|
95 </repeat>
|
|
|
96 <param name="param_precursor_error_ppm" type="boolean" truevalue="-precursor_error_ppm" falsevalue="" checked="false" optional="True" label="If this flag is used, the precursor mass tolerances are estimated in ppm instead of Da" help="(-precursor_error_ppm) "/>
|
|
|
97 <repeat name="rep_param_fragment_columns" min="0" max="1" title="param_fragment_columns">
|
|
|
98 <param name="param_fragment_columns" type="select" optional="True" value="MassDifference" label="Columns which will be written to the output file" help="(-fragment_columns) ">
|
|
|
99 <option value="MassDifference">MassDifference</option>
|
|
|
100 <option value="none">none</option>
|
|
|
101 </param>
|
|
|
102 </repeat>
|
|
|
103 <param name="param_fragment_error_ppm" type="boolean" truevalue="-fragment_error_ppm" falsevalue="" checked="false" optional="True" label="If this flag is used, the fragment mass tolerances are estimated in ppm instead of Da" help="(-fragment_error_ppm) "/>
|
|
|
104 <param name="param_fragment_mass_tolerance" type="float" value="0.5" label="Maximal fragment mass tolerance which is allowed for MS/MS spectra, used for the calculation of matching ions" help="(-fragment_mass_tolerance) "/>
|
|
|
105 <param name="param_separator" type="text" size="30" value=" " label="character which should be used to separate the columns in the output files" help="(-separator) ">
|
|
|
106 <sanitizer>
|
|
|
107 <valid initial="string.printable">
|
|
|
108 <remove value="'"/>
|
|
|
109 <remove value="""/>
|
|
|
110 </valid>
|
|
|
111 </sanitizer>
|
|
|
112 </param>
|
|
|
113 <expand macro="advanced_options">
|
|
|
114 <param name="param_number_of_bins" type="integer" min="10" optional="True" value="100" label="Number of bins that should be used to calculate the histograms for the fitting" help="(-number_of_bins) "/>
|
|
|
115 <param name="param_generate_gnuplot_scripts" type="boolean" truevalue="-generate_gnuplot_scripts" falsevalue="" checked="false" optional="True" label="If this option is set to true, the distributions and the fits are used to generate a gnuplot script, that can be used to generate plots" help="(-generate_gnuplot_scripts) The options 'precursor_out' and 'fragment_out' must be set to take this effect"/>
|
|
|
116 <param name="param_force" type="boolean" truevalue="-force" falsevalue="" checked="false" optional="True" label="Overwrite tool specific checks" help="(-force) "/>
|
|
|
117 </expand>
|
|
|
118 </inputs>
|
|
|
119 <outputs>
|
|
|
120 <data name="param_precursor_out" format="tabular"/>
|
|
|
121 <data name="param_fragment_out" format="tabular"/>
|
|
|
122 </outputs>
|
|
|
123 <help>**What it does**
|
|
|
124
|
|
|
125 Calculates a distribution of the mass error from given mass spectra and IDs.
|
|
|
126
|
|
|
127
|
|
|
128 For more information, visit http://ftp.mi.fu-berlin.de/OpenMS/release-documentation/html/UTILS_IDMassAccuracy.html</help>
|
|
|
129 <expand macro="references"/>
|
|
|
130 </tool>
|