annotate metaMS/xcms_get_mass_eic.xml @ 25:9f03c8587d6b draft default tip

MetExp msclust upload format changed from tabular to csv
author linda-bakker
date Fri, 24 Aug 2018 09:56:05 -0400
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="xcms_get_mass_eic" name="XCMS Get EICs" version="0.0.4">
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
2 <description> Extracts EICs for a given list of masses</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 xcms_get_mass_eic.r
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
8 $xsetData
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
9 $rtStart
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
10 $rtEnd
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
11 #if $massParameters.massParametersType == "window"
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
12 $massParameters.mzStart
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
13 $massParameters.mzEnd
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
14 -1
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
15 "."
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
16 #else
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
17 -1
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
18 -1
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
19 "$massParameters.mzList"
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
20 $massParameters.mzTolPpm
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
21 #end if
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
22 "$sampleNames"
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
23 $combineSamples
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
24 $rtPlotMode
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
25 $htmlReportFile
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
26 $htmlReportFile.files_path
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
27 $outLogFile
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
28 </command>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
29 <inputs>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
30
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
31 <param name="xsetData" type="data" format="rdata" label="xset xcms data file" help="E.g. output data file resulting from METAMS run"/>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
32
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
33
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
34 <param name="rtStart" type="integer" value="" size="10" label="RT start" help="Start of Retention Time region to plot" />
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
35 <param name="rtEnd" type="integer" value="" size="10" label="RT end" help="End of Retention Time region to plot" />
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
36
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
37 <conditional name="massParameters">
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
38 <param name="massParametersType" type="select" size="50" label="Give masses as" >
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
39 <option value="list" selected="true">m/z list</option>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
40 <option value="window" >m/z window</option>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
41 </param>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
42 <when value="list">
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
43 <param name="mzList" type="text" area="true" size="7x70" label="m/z list"
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
44 help="Comma or line-separated list of m/z values for which to plot an EIC. One EIC will be plotted for each m/z given here.">
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
45 <sanitizer>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
46 <!-- this translates from line-separated to comma separated list, removes quotes -->
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
47 <valid/>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
48 <mapping initial="none">
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
49 <add source="&#10;" target=","/>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
50 <add source="&#13;" target=""/>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
51 <add source="&quot;" target=""/>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
52 </mapping>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
53 </sanitizer>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
54 </param>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
55 <param name="mzTolPpm" type="integer" size="10" value="5" label="m/z tolerance (ppm)" />
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
56 </when>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
57 <when value="window">
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
58 <param name="mzStart" type="float" value="" size="10" label="m/z start" help="Start of m/z window" />
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
59 <param name="mzEnd" type="float" value="" size="10" label="m/z end" help="End of m/z window" />
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
60 </when>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
61 </conditional>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
62
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
63
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
64 <param name="sampleNames" type="text" area="true" size="10x70" label="List of sample names"
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
65 value="sampleName1,sampleName2,etc"
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
66 help="Comma or line-separated list of sample names. Here you can specify the subset of samples
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
67 to use for the EIC plots. NB: if your dataset has many samples, specifying a subset here can significantly speed up the processing time." >
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
68 <sanitizer>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
69 <!-- this translates from line-separated to comma separated list, removes quotes -->
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
70 <valid/>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
71 <mapping initial="none">
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
72 <add source="&#10;" target=","/>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
73 <add source="&#13;" target=""/>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
74 <add source="&quot;" target=""/>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
75 </mapping>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
76 </sanitizer>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
77 </param>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
78
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
79 <param name="combineSamples" type="select" size="50" label="Combine samples in EIC"
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
80 help="Combining samples means plot contains the combined EIC of a m/z in the different samples. When NOT combining, each plot
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
81 only contains the EIC of the m/z in the respectively given sample (the sample name from the sample list in the same position as the
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
82 m/z in the m/z list.). Tip: use Yes for visualizing EIC of grouped masses (MsClust or CAMERA groups), use No for visualizing EICs of the same mass in
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
83 the different samples.">
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
84 <option value="No" selected="true">No</option>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
85 <option value="Yes" >Yes</option>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
86 </param>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
87 <param name="rtPlotMode" type="select" size="50" label="RT plot mode"
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
88 help="Select whether EIC should be on original or raw Retention Time">
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
89 <option value="raw" selected="true">Raw</option>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
90 <option value="corrected" >Corrected</option>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
91 </param>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
92 </inputs>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
93 <outputs>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
94 <data name="outLogFile" format="txt" label="${tool.name} on ${on_string} - log (LOG)" hidden="True"/>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
95 <data name="htmlReportFile" format="html" label="${tool.name} on ${on_string} - EIC(s) report (HTML)"/>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
96 </outputs>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
97 <tests>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
98 <test>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
99 </test>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
100 </tests>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
101 <help>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
102
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
103 .. class:: infomark
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
104
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
105 This tool will plot EICs for a given list of masses (or a mass window) using XCMS's getEIC method.
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
106 It produces a HTML report showing the EIC plots, one for each given mass. The figure below shows an example of such an EIC plot.
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
107
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
108 .. image:: $PATH_TO_IMAGES/massEIC.png
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
109
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
110
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
111 </help>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
112 <citations>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
113 <citation type="doi">10.1021/ac051437y</citation> <!-- example
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
114 see also https://wiki.galaxyproject.org/Admin/Tools/ToolConfigSyntax#A.3Ccitations.3E_tag_set
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
115 -->
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
116 </citations>
4393f982d18f reorganized sources
pieter.lukasse@wur.nl
parents:
diff changeset
117 </tool>