annotate metaMS/metams_lcms_pick_and_group.xml @ 16:fe4682eb938c

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