3
|
1 <tool id="abims_CAMERA_combinexsAnnos" name="CAMERA.combinexsAnnos" version="2.0.3">
|
0
|
2
|
|
3 <description>Wrapper function for the combinexsAnnos CAMERA function. Returns a dataframe with recalculated annotations.</description>
|
|
4
|
|
5 <requirements>
|
|
6 <requirement type="package" version="3.1.2">R</requirement>
|
|
7 <requirement type="binary">Rscript</requirement>
|
|
8 <requirement type="package" version="1.44.0">xcms</requirement>
|
|
9 <requirement type="package" version="1.22.0">camera</requirement>
|
3
|
10 <requirement type="package" version="2.2.0">camera_w4m_script</requirement>
|
0
|
11 </requirements>
|
|
12
|
|
13 <stdio>
|
|
14 <exit_code range="1:" level="fatal" />
|
|
15 </stdio>
|
|
16
|
3
|
17 <command><![CDATA[
|
0
|
18 CAMERA.r
|
3
|
19 xfunction combinexsAnnos
|
|
20 image_pos $image_pos
|
|
21 image_neg $image_neg
|
|
22
|
|
23 variableMetadataOutput $variableMetadata
|
|
24
|
|
25 pos $pos tol $tol ruleset $ruleset convert_param $convert_param keep_meta $keep_meta
|
|
26
|
|
27 ]]></command>
|
0
|
28
|
|
29 <inputs>
|
|
30 <param name="image_pos" type="data" label="Positive RData ion mode" format="rdata.camera.positive,rdata" help="output file from CAMERA.annotate using a positive polarity mode" />
|
|
31 <param name="image_neg" type="data" label="Negative RData ion mode" format="rdata.camera.negative,rdata" help="output file from CAMERA.annotate using a positive negative mode" />
|
|
32
|
|
33 <param name="pos" type="select" label="Returned peaklist polarity mode">
|
|
34 <option value="TRUE" selected="true">positive</option>
|
|
35 <option value="FALSE" >negative</option>
|
|
36 </param>
|
|
37
|
|
38 <param name="tol" type="integer" value="2" label="Retention time window in seconds" help="[pos] As first step it searches for pseudospectra from the positive and the negative sample within a retention time window" />
|
|
39 <param name="ruleset" type="text" value="1,1" label="Matrix of matching rules" help="[ruleset] Matrix of matching rules. By default, the matrix (1,1) would create the M+H/M-H rule, since the first rule of xsa.pos@ruleset and xsa.neg@ruleset is M+H respectively M-H. Only rules with identical charge can be combined!" />
|
|
40 <param name="convert_param" type="boolean" checked="false" truevalue="TRUE" falsevalue="FALSE" label="Convert retention time (seconds) rtmed, rtmin and rtmax into minutes"/>
|
|
41 <param name="keep_meta" type="boolean" checked="true" truevalue="TRUE" falsevalue="FALSE" label="Keep only the metabolites which match a difference "/>
|
|
42
|
|
43 </inputs>
|
|
44
|
|
45 <outputs>
|
|
46 <data name="variableMetadata" format="tabular" label="${image_pos.name[:-6]}.combinexsAnnos.variableMetadata.tsv" />
|
|
47 <!--
|
|
48 <data name="rdata" format="rdata" label="${image_pos.name[:-6]}.combinexsAnnos.Rdata" />
|
|
49 -->
|
|
50 </outputs>
|
|
51
|
|
52 <tests>
|
|
53 <test>
|
|
54 <!-- TODO: generer des vrais dataset pos et neg-->
|
|
55 <param name="image_pos" value="xset.group.retcor.group.fillPeaks.annotate.positive.Rdata"/>
|
|
56 <param name="image_neg" value="xset.group.retcor.group.fillPeaks.annotate.negative.Rdata"/>
|
|
57 <param name="pos" value="TRUE"/>
|
|
58 <param name="tol" value="2"/>
|
|
59 <param name="ruleset" value="1,1"/>
|
|
60 <output name="variableMetadata" file="xset.group.retcor.group.fillPeaks.annotate.positive.combinexsAnnos.variableMetadata.tsv" />
|
|
61 </test>
|
|
62 </tests>
|
|
63
|
|
64
|
3
|
65 <help><![CDATA[
|
0
|
66
|
|
67 .. class:: infomark
|
|
68
|
|
69 **Authors** Carsten Kuhl ckuhl@ipb-halle.de, Ralf Tautenhahn rtautenh@scripps.edu, Steffen Neumann sneumann@@ipb-halle.de
|
|
70
|
|
71 .. class:: infomark
|
|
72
|
|
73 **Galaxy integration** ABiMS TEAM - UPMC/CNRS - Station biologique de Roscoff and Yann Guitton yann.guitton@univ-nantes.fr - part of Workflow4Metabolomics.org [W4M]
|
|
74
|
|
75 | Contact support@workflow4metabolomics.org for any questions or concerns about the Galaxy implementation of this tool.
|
|
76
|
|
77 ---------------------------------------------------
|
|
78
|
|
79
|
|
80
|
|
81 =======================
|
|
82 Xcms.combinexsAnnos
|
|
83 =======================
|
|
84
|
|
85 -----------
|
|
86 Description
|
|
87 -----------
|
|
88
|
|
89 **What it does?**
|
|
90
|
|
91 This function check annotations of ion species with the help of a sample from opposite ion mode.
|
|
92 As first step it searches for pseudospectra from the positive and the negative sample within a reten-
|
|
93 tion time window. For every result the m/z differences between both samples are matched against
|
|
94 specific rules, which are combinations from pos. and neg. ion species. As example M+H and M-H
|
|
95 with a m/z difference of 2.014552. If two ions matches such a difference, the ion annotations are
|
|
96 changed (previous annotation is wrong), confirmed or added. Returns the peaklist from one ion
|
|
97 mode with recalculated annotations.
|
|
98
|
|
99 **Details**
|
|
100
|
|
101 Both xsAnnotate object should be full processed (grouping and annotation). Without previous anno-
|
|
102 tation the resulting peaklist only includes annotation with matches peaks from both mode according
|
|
103 to the rule(s). With ruleset=NULL the function only looks for M+H/M-H pairs. The ruleset is
|
|
104 a two column matrix with includes rule indices from the rule table of both xsAnnotate objects.
|
|
105 A ruleset (1,1) would create the M+H/M-H rule, since the first rule of xsa.pos@ruleset and
|
|
106 xsa.neg@ruleset is M+H respectively M-H. Only rules with identical charge can be combined!
|
|
107
|
|
108
|
|
109
|
|
110 -----------------
|
|
111 Workflow position
|
|
112 -----------------
|
|
113
|
|
114
|
|
115 **Upstream tools**
|
|
116
|
|
117 ========================= ======================= ===================== ==========
|
|
118 Name Output file Format Parameter
|
|
119 ========================= ======================= ===================== ==========
|
|
120 xcms.annotatediffreport xset.annotate_POS.RData rdata.camera.positive RData file
|
|
121 ------------------------- ----------------------- --------------------- ----------
|
|
122 xcms.annotatediffreport xset.annotate_NEG.RData rdata.camera.positive RData file
|
|
123 ========================= ======================= ===================== ==========
|
|
124
|
|
125 **Downstream tools**
|
|
126
|
|
127 +---------------------------+-----------------------------------------+--------+
|
|
128 | Name | Output file | Format |
|
|
129 +===========================+=========================================+========+
|
|
130 |Batch_correction |xset.combinexsAnnos.variableMetadata.tsv | Tabular|
|
|
131 +---------------------------+-----------------------------------------+--------+
|
|
132 |Filters |xset.combinexsAnnos.variableMetadata.tsv | Tabular|
|
|
133 +---------------------------+-----------------------------------------+--------+
|
|
134 |Univariate |xset.combinexsAnnos.variableMetadata.tsv | Tabular|
|
|
135 +---------------------------+-----------------------------------------+--------+
|
|
136 |Multivariate |xset.combinexsAnnos.variableMetadata.tsv | Tabular|
|
|
137 +---------------------------+-----------------------------------------+--------+
|
|
138
|
|
139
|
|
140
|
|
141 The output file **xset.annotateDiffreport.variableMetadata.tsv** is a tabular file. You can continue your analysis using it in the following tools:
|
|
142 | Batch_correction
|
|
143 | Filters
|
|
144 | Univariate
|
|
145 | Multivariate PCA, PLS and OPLS
|
|
146
|
|
147
|
|
148 **General schema of the metabolomic workflow**
|
|
149
|
|
150 .. image:: combinexsannos_workflow.png
|
|
151
|
|
152
|
|
153 -----------
|
|
154 Input files
|
|
155 -----------
|
|
156
|
|
157 +---------------------------+----------------------------+
|
|
158 | Parameter : label | Format |
|
|
159 +===========================+============================+
|
|
160 | Positive RData ion mode | rdata.camera.positive |
|
|
161 +---------------------------+----------------------------+
|
|
162 | Negative RData ion mode | rdata.camera.negative |
|
|
163 +---------------------------+----------------------------+
|
|
164
|
|
165 ------------
|
|
166 Output files
|
|
167 ------------
|
|
168
|
|
169 xset.combinexsAnnos.variableMetadata.tsv
|
|
170
|
|
171 | A tabular file which is similar to the diffreport result , within additional columns containing the annotation results.
|
|
172 | For each metabolite (row) :
|
|
173 | the value of the intensity in each sample, fold, tstat, pvalue, anova, mzmed, mzmin, mzmax, rtmed, rtmin, rtmax, npeaks, isotopes, adduct, pcgroup and neg (or pos). Mode
|
|
174
|
|
175 xset.combinexsAnnos.Rdata
|
|
176
|
|
177 | Rdata file, that be used outside Galaxy in R.
|
|
178
|
|
179
|
|
180 ---------------------------------------------------
|
|
181
|
|
182 ---------------
|
|
183 Working example
|
|
184 ---------------
|
|
185
|
|
186 Input files
|
|
187 -----------
|
|
188
|
|
189 | Positive RData ion mode -> **POS.xset.annotateDiffreport.RData**
|
|
190 | Negative RData ion mode -> **NEG.xset.annotateDiffreport.RData**
|
|
191
|
|
192 Parameters
|
|
193 ----------
|
|
194
|
|
195 | pos -> **positive**
|
|
196 | tol -> **2 (default)**
|
|
197 | ruleset -> **1,1 (default)**
|
|
198
|
|
199 Output files
|
|
200 ------------
|
|
201
|
|
202 **Example of an xset.combinexsAnnos.variableMetadata.tsv output:**
|
|
203
|
|
204 .. image:: combinexsannos_variableMetadata.png
|
|
205
|
3
|
206
|
|
207 ---------------------------------------------------
|
|
208
|
|
209 Changelog/News
|
|
210 --------------
|
|
211
|
|
212 **Version 2.0.3 - 10/02/2016**
|
|
213
|
|
214 - BUGFIX: better management of errors. Datasets remained green although the process failed
|
|
215
|
|
216 - UPDATE: refactoring of internal management of inputs/outputs
|
|
217
|
|
218
|
|
219 **Version 2.0.1 - 07/06/2015**
|
|
220
|
|
221 - IMPROVEMENT: new datatype/dataset formats (rdata.camera.positive, rdata.camera.negative, rdata.camera.quick ...) will facilitate the sequence of tools and so avoid incompatibility errors.
|
|
222
|
|
223 - IMPROVEMENT: parameter labels have changed to facilitate their reading.
|
|
224
|
|
225
|
|
226 **Version 2.0.0 - 09/06/2015**
|
|
227
|
|
228 - NEW: combinexsAnnos Check CAMERA ion species annotation due to matching with opposite ion mode
|
|
229
|
|
230
|
|
231 ]]></help>
|
0
|
232
|
|
233 <citations>
|
|
234 <citation type="doi"> 10.1021/ac202450g</citation>
|
|
235 <citation type="doi">10.1093/bioinformatics/btu813</citation>
|
|
236 </citations>
|
|
237
|
|
238
|
|
239 </tool>
|
|
240
|
|
241
|