Mercurial > repos > lecorguille > xcms_retcor
comparison abims_xcms_retcor.xml @ 7:bb602a5b8819 draft
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 08e7f269a5c59687a7768be8db5fcb4e4d736093
author | lecorguille |
---|---|
date | Mon, 30 Jan 2017 08:53:30 -0500 |
parents | 123824c7eaa8 |
children | 4bfef820569b |
comparison
equal
deleted
inserted
replaced
6:123824c7eaa8 | 7:bb602a5b8819 |
---|---|
1 <tool id="abims_xcms_retcor" name="xcms.retcor" version="2.0.7"> | 1 <tool id="abims_xcms_retcor" name="xcms.retcor" version="2.0.8"> |
2 | 2 |
3 <description>Retention Time Correction using retcor function from xcms R package </description> | 3 <description>Retention Time Correction using retcor function from xcms R package </description> |
4 | 4 |
5 <macros> | 5 <macros> |
6 <import>macros.xml</import> | 6 <import>macros.xml</import> |
8 | 8 |
9 <expand macro="requirements"/> | 9 <expand macro="requirements"/> |
10 <expand macro="stdio"/> | 10 <expand macro="stdio"/> |
11 | 11 |
12 <command><![CDATA[ | 12 <command><![CDATA[ |
13 @COMMAND_XCMS_SCRIPT@ | 13 @COMMAND_XCMS_SCRIPT@ |
14 image $image | 14 image $image |
15 xfunction retcor | 15 xfunction retcor |
16 | 16 |
17 xsetRdataOutput $xsetRData | 17 xsetRdataOutput $xsetRData |
18 ticspdf $ticsCorPdf | 18 ticspdf $ticsCorPdf |
19 bicspdf $bpcsCorPdf | 19 bicspdf $bpcsCorPdf |
20 rplotspdf $rplotsPdf | 20 rplotspdf $rplotsPdf |
33 #end if | 33 #end if |
34 #end if | 34 #end if |
35 | 35 |
36 @COMMAND_ZIPFILE_LOAD@ | 36 @COMMAND_ZIPFILE_LOAD@ |
37 | 37 |
38 @COMMAND_LOG_EXIT@ | 38 @COMMAND_LOG_EXIT@ |
39 ]]></command> | 39 ]]></command> |
40 | 40 |
41 <inputs> | 41 <inputs> |
42 <param name="image" type="data" format="rdata.xcms.raw,rdata.xcms.group,rdata" label="xset RData file" help="output file from another function xcms (xcmsSet, retcor etc.)" /> | 42 <param name="image" type="data" format="rdata.xcms.raw,rdata.xcms.group,rdata" label="xset RData file" help="output file from another function xcms (xcmsSet, retcor etc.)" /> |
43 <conditional name="methods"> | 43 <conditional name="methods"> |
45 <option value="obiwarp" >obiwarp</option> | 45 <option value="obiwarp" >obiwarp</option> |
46 <option value="peakgroups" selected="peakgroups">peakgroups</option> | 46 <option value="peakgroups" selected="peakgroups">peakgroups</option> |
47 </param> | 47 </param> |
48 <when value="obiwarp"> | 48 <when value="obiwarp"> |
49 <param name="profStep" type="float" value="1" label="Step size (in m/z)" help="[profStep] to use for profile generation from the raw data files" /> | 49 <param name="profStep" type="float" value="1" label="Step size (in m/z)" help="[profStep] to use for profile generation from the raw data files" /> |
50 </when> | 50 </when> |
51 <when value="peakgroups"> | 51 <when value="peakgroups"> |
52 <param name="smooth" type="select" label="Smooth method" help="[smooth] either 'loess’ for non-linear alignment or ‘linear’ for linear alignment" > | 52 <param name="smooth" type="select" label="Smooth method" help="[smooth] either 'loess’ for non-linear alignment or ‘linear’ for linear alignment" > |
53 <option value="loess">loess</option> | 53 <option value="loess">loess</option> |
54 <option value="linear">linear</option> | 54 <option value="linear">linear</option> |
55 </param> | 55 </param> |
56 <param name="extra" type="integer" value="1" label="Number of extra peaks to allow in retention time correction correction groups" help="[extra]" /> | 56 <param name="extra" type="integer" value="1" label="Number of extra peaks to allow in retention time correction correction groups" help="[extra]" /> |
61 <option value="show">show</option> | 61 <option value="show">show</option> |
62 <option value="hide" selected="true">hide</option> | 62 <option value="hide" selected="true">hide</option> |
63 </param> | 63 </param> |
64 <when value="show"> | 64 <when value="show"> |
65 <param name="span" type="float" value="0.2" label="Degree of smoothing for local polynomial regression fitting" help="[span]"/> | 65 <param name="span" type="float" value="0.2" label="Degree of smoothing for local polynomial regression fitting" help="[span]"/> |
66 | 66 |
67 <param name="family" type="select" label="Family" help="[family] if gaussian fitting is by least-squares with no outlier removal, and if symmetric a re descending M estimator is used with Tukey's biweight function, allowing outlier removal"> | 67 <param name="family" type="select" label="Family" help="[family] if gaussian fitting is by least-squares with no outlier removal, and if symmetric a re descending M estimator is used with Tukey's biweight function, allowing outlier removal"> |
68 <option value="gaussian" selected="true">gaussian</option> | 68 <option value="gaussian" selected="true">gaussian</option> |
69 <option value="symmetric">symmetric</option> | 69 <option value="symmetric">symmetric</option> |
70 </param> | 70 </param> |
71 | 71 |
96 </data> | 96 </data> |
97 <data name="ticsCorPdf" format="pdf" label="${image.name[:-6]}.retcor.TICs_corrected.pdf" /> | 97 <data name="ticsCorPdf" format="pdf" label="${image.name[:-6]}.retcor.TICs_corrected.pdf" /> |
98 <data name="bpcsCorPdf" format="pdf" label="${image.name[:-6]}.retcor.BPCs_corrected.pdf" /> | 98 <data name="bpcsCorPdf" format="pdf" label="${image.name[:-6]}.retcor.BPCs_corrected.pdf" /> |
99 <data name="log" format="txt" label="xset.log.txt" hidden="true" /> | 99 <data name="log" format="txt" label="xset.log.txt" hidden="true" /> |
100 </outputs> | 100 </outputs> |
101 | 101 |
102 <tests> | 102 <tests> |
103 <!--<test> | 103 <!--<test> |
104 <param name="image" value="xset.group.RData"/> | 104 <param name="image" value="xset.group.RData"/> |
105 <param name="methods|method" value="peakgroups"/> | 105 <param name="methods|method" value="peakgroups"/> |
106 <param name="methods|smooth" value="loess"/> | 106 <param name="methods|smooth" value="loess"/> |
147 </output> | 147 </output> |
148 </test> | 148 </test> |
149 </tests> | 149 </tests> |
150 | 150 |
151 <help><![CDATA[ | 151 <help><![CDATA[ |
152 | 152 |
153 @HELP_AUTHORS@ | 153 @HELP_AUTHORS@ |
154 | 154 |
155 =========== | 155 =========== |
156 Xcms.retcor | 156 Xcms.retcor |
157 =========== | 157 =========== |
158 | 158 |
159 ----------- | 159 ----------- |
160 Description | 160 Description |
161 ----------- | 161 ----------- |
162 | 162 |
163 After matching peaks into groups, xcms can use those groups to identify and correct | 163 After matching peaks into groups, xcms can use those groups to identify and correct |
164 correlated drifts in retention time from run to run. The aligned peaks can then be | 164 correlated drifts in retention time from run to run. The aligned peaks can then be |
165 used for a second pass of peak grouping which will be more accurate than the first. | 165 used for a second pass of peak grouping which will be more accurate than the first. |
166 The whole process can be repeated in an iterative fashion. Not all peak groups will be helpful | 166 The whole process can be repeated in an iterative fashion. Not all peak groups will be helpful |
167 for identifying retention time drifts. Some groups may be missing peaks from a large | 167 for identifying retention time drifts. Some groups may be missing peaks from a large |
168 fraction of samples and thus provide an incomplete picture of the drift at that time point. | 168 fraction of samples and thus provide an incomplete picture of the drift at that time point. |
169 Still others may contain multiple peaks from the same sample, which is a sign of impropper grouping. | 169 Still others may contain multiple peaks from the same sample, which is a sign of impropper grouping. |
170 | 170 |
171 .. class:: warningmark | 171 .. class:: warningmark |
172 | 172 |
173 **After an retcor step, it is mandatory to do a group step, otherwise the rest of the workflow will not work with the RData file. (the initial peak grouping becomes invalid and is | 173 **After an retcor step, it is mandatory to do a group step, otherwise the rest of the workflow will not work with the RData file. (the initial peak grouping becomes invalid and is |
248 | "Total Io"Base Peak Chromatograms" graph in pdf format,corrected after a retcor step | 248 | "Total Io"Base Peak Chromatograms" graph in pdf format,corrected after a retcor step |
249 | 249 |
250 xset.group.retcor.RData: rdata.xcms.retcor format | 250 xset.group.retcor.RData: rdata.xcms.retcor format |
251 | 251 |
252 | Rdata file that will be necessary in the **xcms.group** step of the workflow. | 252 | Rdata file that will be necessary in the **xcms.group** step of the workflow. |
253 | 253 |
254 | 254 |
255 ------ | 255 ------ |
256 | 256 |
257 .. class:: infomark | 257 .. class:: infomark |
258 | 258 |
259 The output file is an xset.retcor.RData file. You can continue your analysis using it in **xcms.fillPeaks** tool. | 259 The output file is an xset.retcor.RData file. You can continue your analysis using it in **xcms.fillPeaks** tool. |
260 | 260 |
261 | 261 |
262 --------------------------------------------------- | 262 --------------------------------------------------- |
263 | 263 |
264 --------------- | 264 --------------- |
265 Working example | 265 Working example |
266 --------------- | 266 --------------- |
279 | missing -> **1** | 279 | missing -> **1** |
280 | Advanced options: -> **show** | 280 | Advanced options: -> **show** |
281 | span -> **0.2** | 281 | span -> **0.2** |
282 | family -> **gaussian** | 282 | family -> **gaussian** |
283 | plottype -> **deviation** | 283 | plottype -> **deviation** |
284 | 284 |
285 | 285 |
286 Output files | 286 Output files |
287 ------------ | 287 ------------ |
288 | 288 |
289 | **1) xset.group.retcor.RData: RData file** | 289 | **1) xset.group.retcor.RData: RData file** |
296 --------------------------------------------------- | 296 --------------------------------------------------- |
297 | 297 |
298 Changelog/News | 298 Changelog/News |
299 -------------- | 299 -------------- |
300 | 300 |
301 **Version 2.0.8 - 22/12/2016** | |
302 | |
303 - BUGFIX: when having only one group (i.e. one folder of raw data) the BPC and TIC pdf files do not contain any graph | |
304 | |
301 **Version 2.0.7 - 06/07/2016** | 305 **Version 2.0.7 - 06/07/2016** |
302 | 306 |
303 - UPGRADE: upgrate the xcms version from 1.44.0 to 1.46.0 | 307 - UPGRADE: upgrate the xcms version from 1.44.0 to 1.46.0 |
304 | 308 |
305 **Version 2.0.6 - 04/04/2016** | 309 **Version 2.0.6 - 04/04/2016** |