annotate metams_lcms_pick_and_group.xml @ 5:41f122255d14

small update
author pieter.lukasse@wur.nl
date Thu, 19 Mar 2015 12:13:13 +0100
parents dffc38727496
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
1 <tool id="metams_lcms_pick_and_group" name="METAMS-LC/MS Pick, Align and Group" version="0.0.4">
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
2 <description> Runs metaMS process for LC/MS feature picking, aligning and grouping</description>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
3 <requirements>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
4 <requirement type="package" version="3.1.1">R_bioc_metams</requirement>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
5 </requirements>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
6 <command interpreter="Rscript">
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
7 metaMS_cmd_pick_and_group.r
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
8 $data_files
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
9 $customMetaMSsettings
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
10 $outputFile
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
11 $xsetOut
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
12 $polarity
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
13 $htmlReportFile
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
14 $htmlReportFile.files_path
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
15 $outputLog
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
16 </command>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
17 <inputs>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
18 <param name="data_files" type="data" format="prims.fileset.zip" label="Data files (.zip file with CDF, mzML or mzXML files)" help=".zip file containing the CDF, mzML or mzXML files of the new measurements"/>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
19
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
20 <param name="protocolName" type="text" size="30" label="protocolName" value="e.g. Synapt.QTOF.RP"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
21 help="Choose a name to give for the specific settings in the parameters below"/><!-- TODO - let user choose this -->
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
22
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
23 <param name="polarity" type="select" size="30" label="polarity"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
24 help="Which polarity mode was used for measuring of the ms sample">
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
25 <option value="positive" selected="true">positive</option>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
26 <option value="negative" >negative</option>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
27 </param>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
28
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
29
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
30 <!-- ===========NB : if peak picking, alignment OR CAMERA settings have to be reused for runGC wrapper in the future, we can use Galaxy macro expansions here
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
31 to avoid defining these parameters again in the runGC wrapper ========================= -->
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
32 <conditional name="peakPicking">
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
33 <param name="method" type="select" size="30" label="PEAK PICKING method ====================================================="
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
34 help="matchedFilter=Feature detection in the chromatographic time domain ; centWave=Feature detection for high resolution LC/MS data">
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
35 <option value="matchedFilter" selected="true">matchedFilter</option>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
36 <option value="centWave" >centWave</option>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
37 </param>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
38 <when value="matchedFilter">
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
39 <param name="fwhm" type="integer" size="10" value="20" label="fwhm"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
40 help="full width at half maximum of matched filtration gaussian model peak. Only used to calculate the actual sigma" />
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
41 <param name="sigma_denom" type="float" size="10" value="2.3548" label="sigma_denominator"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
42 help="denominator for standard deviation (width) of matched filtration model peak (e.g. sigma = fwhm/2.3548)" />
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
43 <param name="max" type="integer" size="10" value="50" label="max"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
44 help="maximum number of peaks per extracted ion chromatogram" />
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
45 <param name="snthresh" type="integer" size="10" value="4" label="snthresh"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
46 help="signal to noise ratio cutoff" />
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
47 <param name="step" type="float" size="10" value="0.05" label="step"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
48 help="step size to use for profile generation"/>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
49 <param name="steps" type="integer" size="10" value="2" label="steps"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
50 help="number of steps to merge prior to filtration"/>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
51 <param name="mzdiff" type="float" size="10" value="0.8" label="mzdiff"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
52 help="minimum difference in m/z for peaks with overlapping retention times"/>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
53 </when>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
54 <when value="centWave">
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
55 <param name="ppm" type="integer" size="10" value="25" label="ppm"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
56 help="maxmial tolerated m/z deviation in consecutive scans, in ppm" />
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
57 <param name="peakwidth" type="text" size="10" value="20,50" label="peakwidth"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
58 help="Chromatographic peak width, given as range (min,max) in seconds" />
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
59 <param name="snthresh" type="integer" size="10" value="10" label="snthresh"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
60 help="signal to noise ratio cutoff" />
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
61 <param name="prefilter" type="text" size="10" value="3,100" label="prefilter=c(k,I)"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
62 help="Prefilter step for the first phase. Mass traces are only retained if
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
63 they contain at least k peaks with intensity &gt; = I" />
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
64 <param name="mzCenterFun" type="select" size="30" label="mzCenterFun"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
65 help="Function to calculate the m/z center of the feature: wMean intensity weighted mean of the
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
66 feature m/z values, mean mean of the feature m/z values, apex use m/z value at peak apex,
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
67 wMeanApex3 intensity weighted mean of the m/z value at peak apex and the m/z value left and
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
68 right of it, meanApex3 mean of the m/z value at peak apex and the m/z value left and right of it">
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
69 <option value="wMean" selected="true">wMean</option>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
70 <option value="mean" >mean</option>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
71 <option value="apex" >apex</option>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
72 <option value="wMeanApex3" >wMeanApex3</option>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
73 <option value="meanApex3" >meanApex3</option>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
74 </param>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
75 <param name="integrate" type="select" size="30" label="integrate"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
76 help="Integration method. If =1 peak limits are found through descent
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
77 on the mexican hat filtered data, if =2 the descent is done on the real data.
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
78 Method 2 is very accurate but prone to noise, while method 1 is more robust to noise but less exact">
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
79 <option value="1" selected="true">1</option>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
80 <option value="2" >2</option>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
81 </param>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
82 <param name="mzdiff" type="float" size="10" value="-0.001" label="mzdiff"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
83 help="minimum difference in m/z for peaks with overlapping retention times, can be negative to allow overlap" />
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
84 <param name="fitgauss" type="integer" size="10" value="20" label="fitgauss"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
85 help="logical, if Yes: a Gaussian is fitted to each peak" >
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
86 <option value="TRUE" selected="true">Yes</option>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
87 <option value="FALSE" >No</option>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
88 </param>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
89 <param name="noise" type="integer" size="10" value="0" label="noise"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
90 help="optional argument which is useful for data that was centroided without any intensity
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
91 threshold, centroids with intensity &lt; noise are omitted from ROI detection" />
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
92 </when>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
93 </conditional>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
94
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
95
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
96 <param name="min_class_fraction" type="float" size="10" value="0.3" label="ALIGNMENT min.class.fraction ====================================================="
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
97 help="Minimum fraction of samples necessary in the alignment to make it a valid alignment/group"/>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
98 <param name="min_class_size" type="integer" size="10" value="3" label="min.class.size"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
99 help="Minimum number of samples necessary in the alignment to make it a valid alignment/group. The lowest criteria
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
100 between this and min.class.fraction will be used." />
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
101 <param name="mzwid" type="float" size="10" value="0.1" label="mzwid"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
102 help="width of overlapping m/z slices to use for creating peak density chromatograms and grouping peaks across samples"/>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
103 <param name="bws" type="text" size="10" value="30,10" label="bws"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
104 help="bandwidth (standard deviation or half width at half maximum) of gaussian smoothing kernel
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
105 to apply to the peak density chromatogram. Fill in two values separated by comma. First value is used for
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
106 first grouping round, seccond value is used for last grouping/alignment round after retention time
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
107 correction. "/>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
108
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
109 <conditional name="retcor">
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
110 <param name="retcormethod" type="select" size="30" label="retcormethod"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
111 help="retention time correction method. 'peakgroups' is the default density based approach, 'obiwarp' is
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
112 alignment data by Ordered Bijective Interpolated Warping ">
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
113 <option value="peakgroups" selected="true">peakgroups</option>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
114 <option value="obiwarp" >obiwarp</option>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
115 </param>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
116 <when value="peakgroups">
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
117 <param name="retcorfamily" type="select" size="30" label="retcorfamily"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
118 help="retention time correction method type/family">
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
119 <option value="symmetric" selected="true">symmetric</option>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
120 <option value="gaussian">gaussian</option>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
121 </param>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
122 <param name="smooth" type="select" size="30" label="smooth"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
123 help="either 'loess' for non-linear alignment or 'linear' for linear alignment">
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
124 <option value="linear" selected="true">linear</option>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
125 <option value="loess">loess (TODO - waiting for metaMS to add/parse this option)</option>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
126 </param>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
127 <param name="missingratio" type="float" size="10" value="0.2" label="missingratio"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
128 help="ratio of missing samples to allow in retention time correction groups"/>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
129 <param name="extraratio" type="float" size="10" value="0.1" label="extraratio"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
130 help="ratio of extra peaks to allow in retention time correction correction groups"/>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
131 </when>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
132 <when value="obiwarp">
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
133 <param name="profStep" type="integer" size="10" value="1" label="profStep"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
134 help="step size (in m/z) to use for profile generation from the raw data files" />
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
135 </when>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
136 </conditional>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
137
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
138 <param name="fillPeaks" type="select" size="30" label="fillPeaks"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
139 help="Fill missing peaks in peak groups/alignments that do not include peaks from every sample.
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
140 This method produces intensity values for those missing samples by integrating raw data in peak group region.">
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
141 <option value="TRUE" selected="true">Yes</option>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
142 <option value="FALSE">No</option>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
143 </param>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
144 <param name="perfwhm" type="float" size="10" value="0.6" label="CAMERA perfwhm ====================================================="
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
145 help="percentage of FWHM width"/>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
146 <param name="cor_eic_th" type="float" size="10" value="0.7" label="cor_eic_th"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
147 help="correlation threshold (0..1)" />
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
148 <param name="ppm" type="float" size="10" value="5.0" label="ppm"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
149 help="General ppm error" />
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
150
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
151 <param name="groupCorr_graphMethod" type="select" size="30" label="(groupCorr)graphMethod"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
152 help="Method selection for grouping peaks after correlation analysis into pseudospectra.">
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
153 <option value="hcs" selected="true">hcs</option>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
154 </param>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
155
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
156 <param name="groupCorr_pval" type="float" size="10" value="0.05" label="(groupCorr)pval"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
157 help="significant correlation threshold" />
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
158
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
159 <param name="groupCorr_calcCiS" type="select" size="30" label="(groupCorr)calcCiS"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
160 help="Use correlation inside samples for peak grouping">
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
161 <option value="TRUE" selected="true">Yes</option>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
162 <option value="FALSE">No</option>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
163 </param>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
164
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
165 <param name="groupCorr_calcIso" type="select" size="30" label="(groupCorr)calcIso"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
166 help="Use isotopic relationship for peak grouping">
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
167 <option value="TRUE" >Yes</option>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
168 <option value="FALSE" selected="true">No</option>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
169 </param>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
170
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
171 <param name="groupCorr_calcCaS" type="select" size="30" label="(groupCorr)calcCaS"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
172 help="Use correlation across samples for peak grouping">
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
173 <option value="TRUE" >Yes</option>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
174 <option value="FALSE" selected="true">No</option>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
175 </param>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
176
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
177
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
178 <param name="findIsotopes_maxcharge" type="integer" size="10" value="3" label="(findIsotopes)maxcharge"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
179 help="max. ion charge" />
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
180
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
181 <param name="findIsotopes_maxiso" type="integer" size="10" value="4" label="(findIsotopes)maxiso"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
182 help="max. number of expected isotopes" />
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
183
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
184 <param name="findIsotopes_minfrac" type="float" size="10" value="0.5" label="(findIsotopes)minfrac"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
185 help="The ratio for the number of samples, which must satisfy the C12/C13 rule for isotope annotation" />
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
186
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
187
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
188 <param name="findAdducts_multiplier" type="integer" size="10" value="3" label="(findAdducts)multiplier"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
189 help="If no ruleset is provided, calculate ruleset with max. number n of [nM+x] clusterions" />
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
190
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
191
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
192
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
193 </inputs>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
194 <configfiles>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
195
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
196 <configfile name="customMetaMSsettings">## ====================================
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
197 ## metaMS process settings
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
198 customMetaMSsettings &lt;- metaMSsettings(protocolName = "${protocolName}",
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
199 chrom = "LC",
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
200 PeakPicking = list(
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
201 method = "${peakPicking.method}",
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
202 #if $peakPicking.method == "matchedFilter"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
203 fwhm = ${peakPicking.fwhm},
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
204 sigma = ${peakPicking.fwhm}/${peakPicking.sigma_denom},
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
205 max = ${peakPicking.max},
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
206 snthresh = ${peakPicking.snthresh},
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
207 step = ${peakPicking.step},
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
208 steps = ${peakPicking.steps},
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
209 mzdiff = ${peakPicking.mzdiff}),
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
210 #else
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
211 ppm = ${peakPicking.ppm},
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
212 peakwidth = c(${peakPicking.peakwidth}),
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
213 snthresh = ${peakPicking.snthresh},
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
214 prefilter = c(${peakPicking.prefilter}),
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
215 mzCenterFun = "${peakPicking.mzCenterFun}",
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
216 integrate = ${peakPicking.integrate},
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
217 mzdiff = ${peakPicking.mzdiff},
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
218 fitgauss = ${peakPicking.fitgauss},
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
219 noise = ${peakPicking.noise}),
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
220 #end if
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
221 Alignment = list(
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
222 min.class.fraction = ${min_class_fraction},
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
223 min.class.size = ${min_class_size},
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
224 mzwid = ${mzwid},
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
225 bws = c(${bws}),
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
226 retcormethod = "${retcor.retcormethod}",
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
227 #if $retcor.retcormethod == "peakgroups"
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
228 smooth = "${retcor.smooth}",
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
229 missingratio = ${retcor.missingratio},
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
230 extraratio = ${retcor.extraratio},
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
231 retcorfamily = "${retcor.retcorfamily}",
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
232 #else
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
233 ##repeating the method as workaround/ backwards compatibility (can remove this one after fix from metaMS):
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
234 method = "${retcor.retcormethod}",
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
235 profStep = ${retcor.profStep},
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
236 #end if
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
237 fillPeaks = ${fillPeaks}),
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
238 CAMERA = list(
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
239 perfwhm = ${perfwhm},
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
240 cor_eic_th = ${cor_eic_th},
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
241 ppm= ${ppm},
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
242 graphMethod= "${groupCorr_graphMethod}",
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
243 pval= ${groupCorr_pval},
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
244 calcCiS= ${groupCorr_calcCiS},
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
245 calcIso= ${groupCorr_calcIso},
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
246 calcCaS= ${groupCorr_calcCaS},
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
247 maxcharge= ${findIsotopes_maxcharge},
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
248 maxiso= ${findIsotopes_maxiso},
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
249 minfrac= ${findIsotopes_minfrac},
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
250 multiplier= ${findAdducts_multiplier}
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
251 ))</configfile>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
252
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
253 </configfiles>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
254
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
255 <outputs>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
256 <data name="outputFile" format="tabular" label="${tool.name} on ${on_string} - peaks table (TSV)"/>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
257 <data name="outputLog" format="txt" label="${tool.name} on ${on_string} - LOG" hidden="True"/>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
258 <data name="xsetOut" format="rdata" label="${tool.name} on ${on_string} - xcmsSet (RDATA)"/>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
259 <data name="htmlReportFile" format="html" label="${tool.name} on ${on_string} - report (HTML)"/>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
260 </outputs>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
261 <tests>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
262 <test>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
263 </test>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
264 </tests>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
265 <help>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
266
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
267 .. class:: infomark
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
268
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
269 Runs metaMS process for LC/MS feature feature picking, aligning and grouping.
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
270 This part of the metaMS process makes use of the XCMS and CAMERA tools and algorithms.
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
271 CAMERA is used for automatic deconvolution/annotation of LC/ESI-MS data.
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
272 The figure below shows the main parts of the metaMS process wrapped by this tool.
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
273
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
274 .. image:: $PATH_TO_IMAGES/metaMS_pick_align_camera.png
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
275
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
276
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
277 From CAMERA documentation:
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
278
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
279 .. image:: $PATH_TO_IMAGES/CAMERA_results.png
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
280
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
281 **References**
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
282
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
283 If you use this Galaxy tool in work leading to a scientific publication please
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
284 cite the following papers:
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
285
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
286 Wehrens, R.; Weingart, G.; Mattivi, F. (2014).
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
287 metaMS: an open-source pipeline for GC-MS-based untargeted metabolomics.
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
288 Journal of chromatography B: biomedical sciences and applications, 996 (1): 109-116.
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
289 doi: 10.1016/j.jchromb.2014.02.051
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
290 handle: http://hdl.handle.net/10449/24012
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
291
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
292 Wrapper by Pieter Lukasse.
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
293
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
294
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
295 </help>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
296 <citations>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
297 <citation type="doi">10.1016/j.jchromb.2014.02.051</citation> <!-- example
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
298 see also https://wiki.galaxyproject.org/Admin/Tools/ToolConfigSyntax#A.3Ccitations.3E_tag_set
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
299 -->
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
300 </citations>
dffc38727496 initial commit
pieter.lukasse@wur.nl
parents:
diff changeset
301 </tool>