annotate abims_xcms_group.xml @ 11:dc29a74d307b draft

planemo upload for repository https://github.com/workflow4metabolomics/xcms commit cb8acec98a477af7d69192d5f2dfe977843a7f0f
author lecorguille
date Mon, 14 Nov 2016 16:19:18 -0500
parents 676c748b23ea
children f4dc089f9d19
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10
676c748b23ea planemo upload for repository https://github.com/workflow4metabolomics/xcms commit ec6f0c17bb277ea34f898d96d12d3357220f73d4
lecorguille
parents: 7
diff changeset
1 <tool id="abims_xcms_group" name="xcms.group" version="2.0.6">
0
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
2
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
3 <description>Group peaks together across samples using overlapping m/z bins and calculation of smoothed peak distributions in chromatographic time.</description>
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
4
4
fef3d1b8e7f4 planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents: 3
diff changeset
5 <macros>
fef3d1b8e7f4 planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents: 3
diff changeset
6 <import>macros.xml</import>
fef3d1b8e7f4 planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents: 3
diff changeset
7 </macros>
0
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
8
4
fef3d1b8e7f4 planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents: 3
diff changeset
9 <expand macro="requirements"/>
fef3d1b8e7f4 planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents: 3
diff changeset
10 <expand macro="stdio"/>
0
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
11
1
df264428a5e1 Uploaded
lecorguille
parents: 0
diff changeset
12 <command><![CDATA[
4
fef3d1b8e7f4 planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents: 3
diff changeset
13 @COMMAND_XCMS_SCRIPT@
1
df264428a5e1 Uploaded
lecorguille
parents: 0
diff changeset
14 xfunction group
df264428a5e1 Uploaded
lecorguille
parents: 0
diff changeset
15 image $image
df264428a5e1 Uploaded
lecorguille
parents: 0
diff changeset
16
df264428a5e1 Uploaded
lecorguille
parents: 0
diff changeset
17 xsetRdataOutput $xsetRData
df264428a5e1 Uploaded
lecorguille
parents: 0
diff changeset
18 rplotspdf $rplotsPdf
df264428a5e1 Uploaded
lecorguille
parents: 0
diff changeset
19
df264428a5e1 Uploaded
lecorguille
parents: 0
diff changeset
20 method $methods.method sleep 0.001
0
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
21 #if $methods.method == "density":
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
22 ## minsamp $methods.minsamp
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
23 minfrac $methods.minfrac
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
24 bw $methods.bw
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
25 mzwid $methods.mzwid
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
26 #if $methods.density_options.option == "show":
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
27 max $methods.density_options.max
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
28 #end if
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
29 #elif $methods.method == "mzClust":
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
30 mzppm $methods.mzppm
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
31 mzabs $methods.mzabs
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
32 minfrac $methods.minfrac
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
33 ## minsamp $methods.minsamp
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
34 #else:
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
35 mzVsRTbalance $methods.mzVsRTbalance
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
36 mzCheck $methods.mzCheck
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
37 rtCheck $methods.rtCheck
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
38 kNN $methods.kNN
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
39 #end if
4
fef3d1b8e7f4 planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents: 3
diff changeset
40 @COMMAND_LOG_EXIT@
1
df264428a5e1 Uploaded
lecorguille
parents: 0
diff changeset
41 ]]></command>
0
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
42
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
43 <inputs>
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
44 <param name="image" type="data" format="rdata.xcms.raw,rdata.xcms.group,rdata.xcms.retcor,rdata" label="xset RData file" help="output file from another function xcms (xcmsSet, retcor etc.)" />
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
45 <conditional name="methods">
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
46 <param name="method" type="select" label="Method to use for grouping" help="[method] See the help section below">
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
47 <option value="density" selected="true">density</option>
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
48 <option value="mzClust" >mzClust</option>
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
49 <option value="nearest" >nearest</option>
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
50 </param>
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
51 <when value="density">
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
52 <param name="bw" type="integer" value="30" label="Bandwidth" help="[bw] bandwidth (standard deviation or half width at half maximum) of gaussian smoothing kernel to apply to the peak density chromatogram" />
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
53 <param name="minfrac" type="float" value="0.5" label="Minimum fraction of samples necessary" help="[minfrac] in at least one of the sample groups for it to be a valid group" />
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
54 <param name="mzwid" type="float" value="0.25" label="Width of overlapping m/z slices" help="[mzwid] to use for creating peak density chromatograms and grouping peaks across samples " />
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
55 <!--
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
56 <param name="minsamp" type="hidden" value="1" label="minsamp" help="minimum number of samples necessary in at least one of the sample groups for it to be a valid group " />
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
57 -->
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
58 <conditional name="density_options">
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
59 <param name="option" type="select" label="Advanced options">
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
60 <option value="show">show</option>
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
61 <option value="hide" selected="true">hide</option>
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
62 </param>
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
63 <when value="show">
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
64 <param name="max" type="integer" value="5" label="Maximum number of groups to identify in a single m/z slice" help="[max]" />
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
65 </when>
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
66 <when value="hide">
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
67 </when>
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
68 </conditional>
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
69
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
70 </when>
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
71 <when value="mzClust">
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
72 <param name="mzppm" type="integer" value="20 " label="Relative error used for clustering/grouping in ppm" help="[mzppm]" />
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
73 <param name="mzabs" type="float" value="0" label="Absolute error used for clustering/grouping" help="[mzabs]" />
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
74 <param name="minfrac" type="float" value="0" label="Minimum fraction of each class in one bin" help="[minfrac] minimum fraction of samples necessary in at least one of the sample groups for it to be a valid group" />
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
75 <!--
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
76 <param name="minsamp" type="hidden" value="1" label="minsamp" help="minimum number of samples necessary in at least one of the sample groups for it to be a valid group " />
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
77 -->
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
78 </when>
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
79 <when value="nearest">
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
80 <param name="mzVsRTbalance" type="integer" value="10 " label="Multiplicator for mz value before calculating the (euclidean) distance between two peaks." help="[mzVsRTbalance]" />
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
81 <param name="mzCheck" type="float" value="0.2" label="Maximum tolerated distance for mz" help="[mzCheck]" />
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
82 <param name="rtCheck" type="integer" value="15" label="Maximum tolerated distance for RT" help="[rtCheck]" />
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
83 <param name="kNN" type="integer" value="10" label="Number of nearest Neighbours to check" help="[kNN]" />
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
84 </when>
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
85 </conditional>
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
86 <!--
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
87 <param name="sleepy" type="float" value="0.001" label="sleep" help="seconds to pause between plotting successive steps of the peak grouping algorithm. peaks are plotted as points showing relative intensity. identified groups are flanked by dotted vertical lines">
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
88 <validator type="in_range" message="Must be more than 0" min="0.001" max="inf"/>
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
89 </param>
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
90 -->
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
91
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
92 </inputs>
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
93
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
94 <outputs>
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
95 <data name="xsetRData" format="rdata.xcms.group" label="${image.name[:-6]}.group.RData"/>
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
96 <data name="rplotsPdf" format="pdf" label="${image.name[:-6]}.group.Rplots.pdf"/>
1
df264428a5e1 Uploaded
lecorguille
parents: 0
diff changeset
97 <data name="log" format="txt" label="xset.log.txt" hidden="true" />
0
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
98 </outputs>
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
99
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
100 <tests>
7
75be85d996d9 planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents: 4
diff changeset
101 <!--<test>
0
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
102 <param name="image" value="xset.RData"/>
4
fef3d1b8e7f4 planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents: 3
diff changeset
103 <param name="methods|method" value="density"/>
fef3d1b8e7f4 planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents: 3
diff changeset
104 <param name="methods|bw" value="5"/>
fef3d1b8e7f4 planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents: 3
diff changeset
105 <param name="methods|minfrac" value="0.3"/>
fef3d1b8e7f4 planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents: 3
diff changeset
106 <param name="methods|mzwid" value="0.01"/>
fef3d1b8e7f4 planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents: 3
diff changeset
107 <param name="methods|density_options|option" value="show"/>
fef3d1b8e7f4 planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents: 3
diff changeset
108 <param name="methods|density_options|max" value="50"/>
1
df264428a5e1 Uploaded
lecorguille
parents: 0
diff changeset
109 <output name="log">
df264428a5e1 Uploaded
lecorguille
parents: 0
diff changeset
110 <assert_contents>
4
fef3d1b8e7f4 planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents: 3
diff changeset
111 <has_text text="object with 4 samples" />
fef3d1b8e7f4 planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents: 3
diff changeset
112 <has_text text="Time range: 0.7-1139.7 seconds (0-19 minutes)" />
fef3d1b8e7f4 planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents: 3
diff changeset
113 <has_text text="Mass range: 50.0021-999.9863 m/z" />
fef3d1b8e7f4 planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents: 3
diff changeset
114 <has_text text="Peaks: 59359 (about 14840 per sample)" />
fef3d1b8e7f4 planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents: 3
diff changeset
115 <has_text text="Peak Groups: 48998" />
1
df264428a5e1 Uploaded
lecorguille
parents: 0
diff changeset
116 <has_text text="Sample classes: bio, blank" />
df264428a5e1 Uploaded
lecorguille
parents: 0
diff changeset
117 </assert_contents>
df264428a5e1 Uploaded
lecorguille
parents: 0
diff changeset
118 </output>
7
75be85d996d9 planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents: 4
diff changeset
119 </test>-->
75be85d996d9 planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents: 4
diff changeset
120 <test>
75be85d996d9 planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents: 4
diff changeset
121 <param name="image" value="faahKO.xset.RData"/>
75be85d996d9 planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents: 4
diff changeset
122 <param name="methods|method" value="density"/>
75be85d996d9 planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents: 4
diff changeset
123 <param name="methods|bw" value="5"/>
75be85d996d9 planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents: 4
diff changeset
124 <param name="methods|minfrac" value="0.3"/>
75be85d996d9 planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents: 4
diff changeset
125 <param name="methods|mzwid" value="0.01"/>
75be85d996d9 planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents: 4
diff changeset
126 <param name="methods|density_options|option" value="show"/>
75be85d996d9 planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents: 4
diff changeset
127 <param name="methods|density_options|max" value="50"/>
75be85d996d9 planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents: 4
diff changeset
128 <output name="log">
75be85d996d9 planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents: 4
diff changeset
129 <assert_contents>
75be85d996d9 planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents: 4
diff changeset
130 <has_text text="object with 4 samples" />
75be85d996d9 planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents: 4
diff changeset
131 <has_text text="Time range: 2506.1-4477.9 seconds (41.8-74.6 minutes)" />
75be85d996d9 planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents: 4
diff changeset
132 <has_text text="Mass range: 200.1-600 m/z" />
75be85d996d9 planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents: 4
diff changeset
133 <has_text text="Peaks: 9251 (about 2313 per sample)" />
75be85d996d9 planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents: 4
diff changeset
134 <has_text text="Peak Groups: 8275" />
75be85d996d9 planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents: 4
diff changeset
135 <has_text text="Sample classes: KO, WT" />
75be85d996d9 planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents: 4
diff changeset
136 </assert_contents>
75be85d996d9 planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents: 4
diff changeset
137 </output>
4
fef3d1b8e7f4 planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents: 3
diff changeset
138 </test>
7
75be85d996d9 planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents: 4
diff changeset
139 <!--<test>
4
fef3d1b8e7f4 planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents: 3
diff changeset
140 <param name="image" value="xset.group.retcor.RData"/>
fef3d1b8e7f4 planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents: 3
diff changeset
141 <param name="methods|method" value="density"/>
fef3d1b8e7f4 planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents: 3
diff changeset
142 <param name="methods|bw" value="5"/>
fef3d1b8e7f4 planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents: 3
diff changeset
143 <param name="methods|minfrac" value="0.3"/>
fef3d1b8e7f4 planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents: 3
diff changeset
144 <param name="methods|mzwid" value="0.01"/>
fef3d1b8e7f4 planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents: 3
diff changeset
145 <param name="methods|density_options|option" value="show"/>
fef3d1b8e7f4 planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents: 3
diff changeset
146 <param name="methods|density_options|max" value="50"/>
fef3d1b8e7f4 planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents: 3
diff changeset
147 <output name="log">
fef3d1b8e7f4 planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents: 3
diff changeset
148 <assert_contents>
fef3d1b8e7f4 planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents: 3
diff changeset
149 <has_text text="object with 4 samples" />
fef3d1b8e7f4 planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents: 3
diff changeset
150 <has_text text="Time range: 0.2-1140.1 seconds (0-19 minutes)" />
fef3d1b8e7f4 planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents: 3
diff changeset
151 <has_text text="Mass range: 50.0021-999.9863 m/z" />
fef3d1b8e7f4 planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents: 3
diff changeset
152 <has_text text="Peaks: 59359 (about 14840 per sample)" />
fef3d1b8e7f4 planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents: 3
diff changeset
153 <has_text text="Peak Groups: 48958" />
fef3d1b8e7f4 planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents: 3
diff changeset
154 <has_text text="Sample classes: bio, blank" />
fef3d1b8e7f4 planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents: 3
diff changeset
155 </assert_contents>
fef3d1b8e7f4 planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents: 3
diff changeset
156 </output>
7
75be85d996d9 planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents: 4
diff changeset
157 </test>-->
75be85d996d9 planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents: 4
diff changeset
158 <test>
75be85d996d9 planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents: 4
diff changeset
159 <param name="image" value="faahKO.xset.group.retcor.RData"/>
75be85d996d9 planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents: 4
diff changeset
160 <param name="methods|method" value="density"/>
75be85d996d9 planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents: 4
diff changeset
161 <param name="methods|bw" value="5"/>
75be85d996d9 planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents: 4
diff changeset
162 <param name="methods|minfrac" value="0.3"/>
75be85d996d9 planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents: 4
diff changeset
163 <param name="methods|mzwid" value="0.01"/>
75be85d996d9 planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents: 4
diff changeset
164 <param name="methods|density_options|option" value="show"/>
75be85d996d9 planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents: 4
diff changeset
165 <param name="methods|density_options|max" value="50"/>
75be85d996d9 planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents: 4
diff changeset
166 <output name="log">
75be85d996d9 planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents: 4
diff changeset
167 <assert_contents>
75be85d996d9 planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents: 4
diff changeset
168 <has_text text="object with 4 samples" />
75be85d996d9 planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents: 4
diff changeset
169 <has_text text="Time range: 2507.7-4481.7 seconds (41.8-74.7 minutes)" />
75be85d996d9 planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents: 4
diff changeset
170 <has_text text="Mass range: 200.1-600 m/z" />
75be85d996d9 planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents: 4
diff changeset
171 <has_text text="Peaks: 9251 (about 2313 per sample)" />
75be85d996d9 planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents: 4
diff changeset
172 <has_text text="Peak Groups: 8157" />
75be85d996d9 planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents: 4
diff changeset
173 <has_text text="Sample classes: KO, WT" />
75be85d996d9 planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents: 4
diff changeset
174 </assert_contents>
75be85d996d9 planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents: 4
diff changeset
175 </output>
0
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
176 </test>
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
177 </tests>
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
178
1
df264428a5e1 Uploaded
lecorguille
parents: 0
diff changeset
179 <help><![CDATA[
0
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
180
4
fef3d1b8e7f4 planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents: 3
diff changeset
181 @HELP_AUTHORS@
0
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
182
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
183 ==========
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
184 Xcms.Group
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
185 ==========
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
186
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
187 -----------
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
188 Description
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
189 -----------
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
190
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
191 After peak identification with xcmsSet, this tool groups the peaks which represent the same analyte across samples using overlapping m/z bins and calculation of smoothed peak distributions in chromatographic time. Allows rejection of features, which are only partially detected within the replicates of a sample class.
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
192
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
193
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
194
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
195 -----------------
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
196 Workflow position
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
197 -----------------
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
198
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
199 **Upstream tools**
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
200
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
201 ========================= ================= =================== ==========
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
202 Name output file format parameter
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
203 ========================= ================= =================== ==========
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
204 xcms.xcmsSet xset.RData rdata.xcms.raw RData file
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
205 ------------------------- ----------------- ------------------- ----------
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
206 xcms.retcor xset.RData rdata.xcms.retcor RData file
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
207 ========================= ================= =================== ==========
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
208
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
209
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
210 **Downstream tools**
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
211
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
212 +---------------------------+--------------------------------------+
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
213 | Name | Output file | Format |
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
214 +===========================+=================+====================+
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
215 |xcms.retcor | xset.RData | rdata.xcms.group |
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
216 +---------------------------+--------------------------------------+
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
217 |xcms.fillPeaks | xset.RData | rdata.xcms.group |
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
218 +---------------------------+--------------------------------------+
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
219
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
220 The output file is an xcmsSet.RData file. You can continue your analysis using it in **xcms.retcor** tool as an next step and then **xcms.fillPeaks**.
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
221
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
222 **General schema of the metabolomic workflow**
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
223
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
224 .. image:: xcms_group_workflow.png
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
225
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
226
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
227 -----------
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
228 Input files
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
229 -----------
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
230
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
231 +---------------------------+-----------------------+
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
232 | Parameter : num + label | Format |
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
233 +===========================+=======================+
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
234 | 1 : RData file | rdata.xcms.group |
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
235 +---------------------------+-----------------------+
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
236
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
237
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
238 ----------
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
239 Parameters
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
240 ----------
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
241
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
242 Method to use for grouping
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
243 --------------------------
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
244
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
245 **mzClust**
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
246
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
247 | Runs high resolution alignment on single spectra samples stored in the RData file generated by the **xcmsSet tool**.
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
248
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
249 **density**
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
250
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
251 | Groups peaks together across samples using overlapping m/z bins and calculation of smoothed peak distributions in chromatographic time.
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
252
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
253 **nearest**
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
254
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
255 | Groups peaks together across samples by creating a master peak list and assigning corresponding peaks from all samples. It is inspired by the alignment algorithm of mzMine.
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
256
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
257
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
258 ------------
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
259 Output files
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
260 ------------
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
261
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
262 xset.group.Rplots.pdf
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
263
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
264 xset.group.RData: rdata.xcms.group format
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
265
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
266 | Rdata file that will be necessary in the third and fourth step of the workflow (xcms.retcor and xcms.fillpeaks).
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
267
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
268
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
269 ------
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
270
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
271 .. class:: infomark
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
272
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
273 The output file is an xset.group.RData file. You can continue your analysis using it in **xcms.retcor** tool.
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
274
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
275
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
276 ---------------------------------------------------
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
277
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
278
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
279 ---------------
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
280 Working example
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
281 ---------------
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
282
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
283 Input files
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
284 -----------
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
285
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
286 | RData file -> **xset.RData**
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
287
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
288 Parameters
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
289 ----------
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
290
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
291 | Method -> **density**
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
292 | bw -> **5**
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
293 | minfrac -> **0.3**
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
294 | mzwid -> **0.01**
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
295 | Advanced options: **show**
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
296 | max -> **50**
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
297
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
298
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
299 Output files
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
300 ------------
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
301
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
302 | **1) xset.RData: RData file**
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
303
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
304 | **2) Example of an xset.group.Rplots pdf file**
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
305
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
306 .. image:: xcms_group.png
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
307 :width: 700
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
308
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
309
3
003373d58672 planemo upload
lecorguille
parents: 2
diff changeset
310 ---------------------------------------------------
003373d58672 planemo upload
lecorguille
parents: 2
diff changeset
311
003373d58672 planemo upload
lecorguille
parents: 2
diff changeset
312 Changelog/News
003373d58672 planemo upload
lecorguille
parents: 2
diff changeset
313 --------------
003373d58672 planemo upload
lecorguille
parents: 2
diff changeset
314
10
676c748b23ea planemo upload for repository https://github.com/workflow4metabolomics/xcms commit ec6f0c17bb277ea34f898d96d12d3357220f73d4
lecorguille
parents: 7
diff changeset
315 **Version 2.0.6 - 06/07/2016**
676c748b23ea planemo upload for repository https://github.com/workflow4metabolomics/xcms commit ec6f0c17bb277ea34f898d96d12d3357220f73d4
lecorguille
parents: 7
diff changeset
316
676c748b23ea planemo upload for repository https://github.com/workflow4metabolomics/xcms commit ec6f0c17bb277ea34f898d96d12d3357220f73d4
lecorguille
parents: 7
diff changeset
317 - UPGRADE: upgrate the xcms version from 1.44.0 to 1.46.0
676c748b23ea planemo upload for repository https://github.com/workflow4metabolomics/xcms commit ec6f0c17bb277ea34f898d96d12d3357220f73d4
lecorguille
parents: 7
diff changeset
318
4
fef3d1b8e7f4 planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents: 3
diff changeset
319 **Version 2.0.5 - 04/04/2016**
fef3d1b8e7f4 planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents: 3
diff changeset
320
fef3d1b8e7f4 planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents: 3
diff changeset
321 - TEST: refactoring to pass planemo test using conda dependencies
fef3d1b8e7f4 planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents: 3
diff changeset
322
fef3d1b8e7f4 planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents: 3
diff changeset
323
3
003373d58672 planemo upload
lecorguille
parents: 2
diff changeset
324 **Version 2.0.4 - 10/02/2016**
003373d58672 planemo upload
lecorguille
parents: 2
diff changeset
325
003373d58672 planemo upload
lecorguille
parents: 2
diff changeset
326 - BUGFIX: better management of errors. Datasets remained green although the process failed
003373d58672 planemo upload
lecorguille
parents: 2
diff changeset
327
003373d58672 planemo upload
lecorguille
parents: 2
diff changeset
328 - UPDATE: refactoring of internal management of inputs/outputs
003373d58672 planemo upload
lecorguille
parents: 2
diff changeset
329
003373d58672 planemo upload
lecorguille
parents: 2
diff changeset
330 - UPDATE: refactoring to feed the new report tool
003373d58672 planemo upload
lecorguille
parents: 2
diff changeset
331
003373d58672 planemo upload
lecorguille
parents: 2
diff changeset
332
003373d58672 planemo upload
lecorguille
parents: 2
diff changeset
333 **Version 2.0.2 - 02/06/2015**
003373d58672 planemo upload
lecorguille
parents: 2
diff changeset
334
003373d58672 planemo upload
lecorguille
parents: 2
diff changeset
335 - IMPROVEMENT: new datatype/dataset formats (rdata.xcms.raw, rdata.xcms.group, rdata.xcms.retcor ...) will facilitate the sequence of tools and so avoid incompatibility errors.
003373d58672 planemo upload
lecorguille
parents: 2
diff changeset
336
003373d58672 planemo upload
lecorguille
parents: 2
diff changeset
337 - IMPROVEMENT: parameter labels have changed to facilitate their reading.
003373d58672 planemo upload
lecorguille
parents: 2
diff changeset
338
003373d58672 planemo upload
lecorguille
parents: 2
diff changeset
339
1
df264428a5e1 Uploaded
lecorguille
parents: 0
diff changeset
340 ]]></help>
0
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
341
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
342
4
fef3d1b8e7f4 planemo upload commit a3229faad6949bbca965d1d7e138cb3c0550780e
lecorguille
parents: 3
diff changeset
343 <expand macro="citation" />
0
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
344
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
345
2a104ea58d12 Uploaded
lecorguille
parents:
diff changeset
346 </tool>