comparison abims_xcms_fillPeaks.xml @ 0:022df2ef15b0 draft

planemo upload
author lecorguille
date Fri, 07 Aug 2015 10:58:46 -0400
parents
children 5815e6e11f9b
comparison
equal deleted inserted replaced
-1:000000000000 0:022df2ef15b0
1 <tool id="abims_xcms_fillPeaks" name="xcms.fillPeaks" version="2.0.2">
2
3 <description>Integrate the signal in the region of that peak group not represented and create a new peak</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="2.1">xcms_w4m_script</requirement>
10 </requirements>
11
12 <stdio>
13 <exit_code range="1:" level="fatal" />
14 </stdio>
15
16 <command>
17 xcms.r xfunction fillPeaks image $image method $method &amp;&amp; mv fillPeaks.RData $xsetRData; cat xset.log
18 </command>
19
20 <inputs>
21 <param name="image" type="data" format="rdata.xcms.group,rdata" label="xset RData file" help="output file from another function xcms (group)" />
22 <param name="method" type="select" label="Filling method" help="[method] See the help section below">
23 <option value="chrom" selected="true">chrom</option>
24 <option value="MSW" >MSW</option>
25 </param>
26 </inputs>
27
28 <outputs>
29 <data name="xsetRData" format="rdata.xcms.fillpeaks" label="${image.name[:-6]}.fillPeaks.RData" />
30 </outputs>
31
32 <tests>
33 <test>
34 <param name="image" value="xset.group.retcor.group.RData"/>
35 <param name="method" value="chrom"/>
36 <output name="xsetRData" file="xset.group.retcor.group.fillPeaks.RData" />
37 </test>
38 </tests>
39
40 <help>
41
42
43 .. class:: infomark
44
45 **Authors** Colin A. Smith csmith@scripps.edu, Ralf Tautenhahn rtautenh@gmail.com, Steffen Neumann sneumann@ipb-halle.de, Paul Benton hpaul.benton08@imperial.ac.uk and Christopher Conley cjconley@ucdavis.edu
46
47 .. class:: infomark
48
49 **Galaxy integration** ABiMS TEAM - UPMC/CNRS - Station biologique de Roscoff and Yann Guitton yann.guitton@univ-nantes.fr - part of Workflow4Metabolomics.org [W4M]
50
51 | Contact support@workflow4metabolomics.org for any questions or concerns about the Galaxy implementation of this tool.
52
53
54 ---------------------------------------------------
55
56 ==============
57 Xcms.fillPeaks
58 ==============
59
60 -----------
61 Description
62 -----------
63
64 For each sample, identify peak groups where that sample is not
65 represented. For each of those peak groups, integrate the signal
66 in the region of that peak group and create a new peak.
67
68 According to the type of raw-data there are 2
69 different methods available. for filling gcms/lcms data the method
70 "chrom" integrates raw-data in the chromatographic domain, whereas
71 "MSW" is used for peaklists without retention-time information
72 like those from direct-infusion spectra.
73
74
75
76 -----------------
77 Workflow position
78 -----------------
79
80
81 **Upstream tools**
82
83 ========================= ================= ================== ==========
84 Name output file format parameter
85 ========================= ================= ================== ==========
86 xcms.group xset.group.RData rdata.xcms.group RData file
87 ========================= ================= ================== ==========
88
89
90 **Downstream tools**
91
92 +---------------------------+------------------+-----------------------+
93 | Name | Output file | Format |
94 +===========================+==================+=======================+
95 |xcms.diffreport | xset.retcor.RData| rdata.xcms.fillpeaks |
96 +---------------------------+------------------+-----------------------+
97 |xcms.annotateDiffreport | xset.retcor.RData| rdata.xcms.fillpeaks |
98 +---------------------------+------------------+-----------------------+
99
100 The output file **xset.fillpeaks** is an RData file. You can continue your analysis using it in **xcms.diffreport** or **xcms.annotateDiffreport** tool as an next step of the workflow.
101
102
103 **General schema of the metabolomic workflow**
104
105 .. image:: xcms_fillpeaks_workflow.png
106
107
108
109 -----------
110 Input files
111 -----------
112
113 +---------------------------+-----------------------+
114 | Parameter : num + label | Format |
115 +===========================+=======================+
116 | 1 : RData file | rdata.xcms.group |
117 +---------------------------+-----------------------+
118
119
120 ----------
121 Parameters
122 ----------
123
124
125 Method
126 ------
127
128 **chrom**
129
130 | This method produces intensity values for those missing samples by integrating raw data in peak group region. In a given group, the start and ending retention time points for integration are defined by the median start and end points of the other detected peaks. The start and end m/z values are similarly determined. Intensities can be still be zero, which is a rather unusual intensity for a peak. This is the case if e.g. the raw data was threshholded, and the integration area contains no actual raw intensities, or if one sample is miscalibrated, such the raw data points are (just) outside the integration area.
131 | Importantly, if retention time correction data is available, the alignment information is used to more precisely integrate the propper region of the raw data. If the corrected retention time is beyond the end of the raw data, the value will be not-a-number (NaN).
132
133 **MSW**
134
135 | "MSW" is used for peaklists without retention-time information like those from direct-infusion spectra.
136
137 ------------
138 Output files
139 ------------
140
141 xset.fillPeaks.RData : rdata.xcms.fillpeaks format
142
143 | Rdata file that will be used in the **xcms.diffreport** or **xcms.annotateDiffreport** step of the workflow.
144
145 ------
146
147 .. class:: infomark
148
149 The output file is an group.RData file. You can continue your analysis using it in **xcms.diffreport** or **xcms.annotateDiffreport** tool.
150
151
152 ---------------------------------------------------
153
154 ---------------
155 Working example
156 ---------------
157
158 Input files
159 -----------
160
161 | RData file -> **xset.retcor.RData**
162
163 Parameters
164 ----------
165
166 | method -> **chrom**
167
168
169 Output files
170 ------------
171
172 | **xset.fillPeaks.RData: RData file**
173
174
175 </help>
176
177 <citations>
178 <citation type="doi">10.1021/ac051437y</citation>
179 <citation type="doi">10.1093/bioinformatics/btu813</citation>
180 </citations>
181
182
183 </tool>