Mercurial > repos > lecorguille > xcms_fillpeaks
annotate abims_xcms_fillPeaks.xml @ 8:cce30b3398e0 draft
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit ec6f0c17bb277ea34f898d96d12d3357220f73d4
author | lecorguille |
---|---|
date | Wed, 06 Jul 2016 17:43:29 -0400 |
parents | 465623d2f6fa |
children | ee29f0a6e361 |
rev | line source |
---|---|
8
cce30b3398e0
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit ec6f0c17bb277ea34f898d96d12d3357220f73d4
lecorguille
parents:
6
diff
changeset
|
1 <tool id="abims_xcms_fillPeaks" name="xcms.fillPeaks" version="2.0.7"> |
0 | 2 |
3 <description>Integrate the signal in the region of that peak group not represented and create a new peak</description> | |
4 | |
4
2edfa5e1f719
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 83b80dcd96b379518c2e4ace992affc889d32ca6
lecorguille
parents:
3
diff
changeset
|
5 <macros> |
2edfa5e1f719
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 83b80dcd96b379518c2e4ace992affc889d32ca6
lecorguille
parents:
3
diff
changeset
|
6 <import>macros.xml</import> |
2edfa5e1f719
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 83b80dcd96b379518c2e4ace992affc889d32ca6
lecorguille
parents:
3
diff
changeset
|
7 </macros> |
2edfa5e1f719
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 83b80dcd96b379518c2e4ace992affc889d32ca6
lecorguille
parents:
3
diff
changeset
|
8 |
2edfa5e1f719
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 83b80dcd96b379518c2e4ace992affc889d32ca6
lecorguille
parents:
3
diff
changeset
|
9 <expand macro="requirements"/> |
2edfa5e1f719
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 83b80dcd96b379518c2e4ace992affc889d32ca6
lecorguille
parents:
3
diff
changeset
|
10 <expand macro="stdio"/> |
0 | 11 |
3 | 12 <command><![CDATA[ |
4
2edfa5e1f719
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 83b80dcd96b379518c2e4ace992affc889d32ca6
lecorguille
parents:
3
diff
changeset
|
13 @COMMAND_XCMS_SCRIPT@ |
3 | 14 xfunction fillPeaks |
15 image $image | |
16 | |
17 xsetRdataOutput $xsetRData | |
18 | |
19 method $method | |
20 | |
6
465623d2f6fa
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 960f403303e1691bdd6137c46895feb333b36a82
lecorguille
parents:
5
diff
changeset
|
21 @COMMAND_ZIPFILE_LOAD@ |
465623d2f6fa
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 960f403303e1691bdd6137c46895feb333b36a82
lecorguille
parents:
5
diff
changeset
|
22 |
4
2edfa5e1f719
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 83b80dcd96b379518c2e4ace992affc889d32ca6
lecorguille
parents:
3
diff
changeset
|
23 @COMMAND_LOG_EXIT@ |
3 | 24 |
25 ]]></command> | |
0 | 26 |
27 <inputs> | |
28 <param name="image" type="data" format="rdata.xcms.group,rdata" label="xset RData file" help="output file from another function xcms (group)" /> | |
29 <param name="method" type="select" label="Filling method" help="[method] See the help section below"> | |
30 <option value="chrom" selected="true">chrom</option> | |
31 <option value="MSW" >MSW</option> | |
32 </param> | |
6
465623d2f6fa
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 960f403303e1691bdd6137c46895feb333b36a82
lecorguille
parents:
5
diff
changeset
|
33 |
465623d2f6fa
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 960f403303e1691bdd6137c46895feb333b36a82
lecorguille
parents:
5
diff
changeset
|
34 <expand macro="zipfile_load"/> |
465623d2f6fa
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 960f403303e1691bdd6137c46895feb333b36a82
lecorguille
parents:
5
diff
changeset
|
35 |
0 | 36 </inputs> |
37 | |
38 <outputs> | |
39 <data name="xsetRData" format="rdata.xcms.fillpeaks" label="${image.name[:-6]}.fillPeaks.RData" /> | |
3 | 40 <data name="log" format="txt" label="xset.log.txt" hidden="true" /> |
0 | 41 </outputs> |
42 | |
43 <tests> | |
5
cd351af95d14
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents:
4
diff
changeset
|
44 <!--<test> |
0 | 45 <param name="image" value="xset.group.retcor.group.RData"/> |
46 <param name="method" value="chrom"/> | |
4
2edfa5e1f719
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 83b80dcd96b379518c2e4ace992affc889d32ca6
lecorguille
parents:
3
diff
changeset
|
47 <param name="zip_file" value="sacuri_dir_root.zip" ftype="zip" /> |
3 | 48 <output name="log"> |
49 <assert_contents> | |
4
2edfa5e1f719
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 83b80dcd96b379518c2e4ace992affc889d32ca6
lecorguille
parents:
3
diff
changeset
|
50 <has_text text="object with 4 samples" /> |
2edfa5e1f719
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 83b80dcd96b379518c2e4ace992affc889d32ca6
lecorguille
parents:
3
diff
changeset
|
51 <has_text text="Time range: 0.2-1140.1 seconds (0-19 minutes)" /> |
2edfa5e1f719
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 83b80dcd96b379518c2e4ace992affc889d32ca6
lecorguille
parents:
3
diff
changeset
|
52 <has_text text="Mass range: 50.0021-999.9863 m/z" /> |
2edfa5e1f719
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 83b80dcd96b379518c2e4ace992affc889d32ca6
lecorguille
parents:
3
diff
changeset
|
53 <has_text text="Peaks: 199718 (about 49930 per sample)" /> |
2edfa5e1f719
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 83b80dcd96b379518c2e4ace992affc889d32ca6
lecorguille
parents:
3
diff
changeset
|
54 <has_text text="Peak Groups: 48958" /> |
3 | 55 <has_text text="Sample classes: bio, blank" /> |
56 </assert_contents> | |
57 </output> | |
5
cd351af95d14
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents:
4
diff
changeset
|
58 </test>--> |
cd351af95d14
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents:
4
diff
changeset
|
59 <test> |
cd351af95d14
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents:
4
diff
changeset
|
60 <param name="image" value="faahKO.xset.group.retcor.group.RData"/> |
cd351af95d14
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents:
4
diff
changeset
|
61 <param name="method" value="chrom"/> |
6
465623d2f6fa
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 960f403303e1691bdd6137c46895feb333b36a82
lecorguille
parents:
5
diff
changeset
|
62 <param name="zipfile_load_conditional|zipfile_load_select" value="yes" /> |
465623d2f6fa
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 960f403303e1691bdd6137c46895feb333b36a82
lecorguille
parents:
5
diff
changeset
|
63 <param name="zipfile_load_conditional|zip_file" value="faahKO_reduce.zip" ftype="zip" /> |
5
cd351af95d14
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents:
4
diff
changeset
|
64 <output name="log"> |
cd351af95d14
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents:
4
diff
changeset
|
65 <assert_contents> |
cd351af95d14
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents:
4
diff
changeset
|
66 <has_text text="object with 4 samples" /> |
cd351af95d14
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents:
4
diff
changeset
|
67 <has_text text="Time range: 2506-4484 seconds (41.8-74.7 minutes)" /> |
cd351af95d14
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents:
4
diff
changeset
|
68 <has_text text="Mass range: 200.1-600 m/z" /> |
cd351af95d14
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents:
4
diff
changeset
|
69 <has_text text="Peaks: 32720 (about 8180 per sample)" /> |
cd351af95d14
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents:
4
diff
changeset
|
70 <has_text text="Peak Groups: 8157" /> |
cd351af95d14
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents:
4
diff
changeset
|
71 <has_text text="Sample classes: KO, WT" /> |
cd351af95d14
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents:
4
diff
changeset
|
72 </assert_contents> |
cd351af95d14
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
lecorguille
parents:
4
diff
changeset
|
73 </output> |
0 | 74 </test> |
75 </tests> | |
76 | |
3 | 77 <help><![CDATA[ |
0 | 78 |
4
2edfa5e1f719
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 83b80dcd96b379518c2e4ace992affc889d32ca6
lecorguille
parents:
3
diff
changeset
|
79 @HELP_AUTHORS@ |
0 | 80 |
81 ============== | |
82 Xcms.fillPeaks | |
83 ============== | |
84 | |
85 ----------- | |
86 Description | |
87 ----------- | |
88 | |
89 For each sample, identify peak groups where that sample is not | |
90 represented. For each of those peak groups, integrate the signal | |
91 in the region of that peak group and create a new peak. | |
92 | |
93 According to the type of raw-data there are 2 | |
94 different methods available. for filling gcms/lcms data the method | |
95 "chrom" integrates raw-data in the chromatographic domain, whereas | |
96 "MSW" is used for peaklists without retention-time information | |
97 like those from direct-infusion spectra. | |
98 | |
99 | |
100 | |
101 ----------------- | |
102 Workflow position | |
103 ----------------- | |
104 | |
105 | |
106 **Upstream tools** | |
107 | |
108 ========================= ================= ================== ========== | |
109 Name output file format parameter | |
110 ========================= ================= ================== ========== | |
111 xcms.group xset.group.RData rdata.xcms.group RData file | |
112 ========================= ================= ================== ========== | |
113 | |
114 | |
115 **Downstream tools** | |
116 | |
117 +---------------------------+------------------+-----------------------+ | |
118 | Name | Output file | Format | | |
119 +===========================+==================+=======================+ | |
120 |xcms.diffreport | xset.retcor.RData| rdata.xcms.fillpeaks | | |
121 +---------------------------+------------------+-----------------------+ | |
122 |xcms.annotateDiffreport | xset.retcor.RData| rdata.xcms.fillpeaks | | |
123 +---------------------------+------------------+-----------------------+ | |
124 | |
125 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. | |
126 | |
127 | |
128 **General schema of the metabolomic workflow** | |
129 | |
130 .. image:: xcms_fillpeaks_workflow.png | |
131 | |
132 | |
133 | |
134 ----------- | |
135 Input files | |
136 ----------- | |
137 | |
138 +---------------------------+-----------------------+ | |
139 | Parameter : num + label | Format | | |
140 +===========================+=======================+ | |
141 | 1 : RData file | rdata.xcms.group | | |
142 +---------------------------+-----------------------+ | |
143 | |
144 | |
145 ---------- | |
146 Parameters | |
147 ---------- | |
148 | |
149 | |
150 Method | |
151 ------ | |
152 | |
153 **chrom** | |
154 | |
155 | 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. | |
156 | 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). | |
157 | |
158 **MSW** | |
159 | |
160 | "MSW" is used for peaklists without retention-time information like those from direct-infusion spectra. | |
161 | |
162 ------------ | |
163 Output files | |
164 ------------ | |
165 | |
166 xset.fillPeaks.RData : rdata.xcms.fillpeaks format | |
167 | |
168 | Rdata file that will be used in the **xcms.diffreport** or **xcms.annotateDiffreport** step of the workflow. | |
169 | |
170 ------ | |
171 | |
172 .. class:: infomark | |
173 | |
174 The output file is an group.RData file. You can continue your analysis using it in **xcms.diffreport** or **xcms.annotateDiffreport** tool. | |
175 | |
176 | |
177 --------------------------------------------------- | |
178 | |
179 --------------- | |
180 Working example | |
181 --------------- | |
182 | |
183 Input files | |
184 ----------- | |
185 | |
186 | RData file -> **xset.retcor.RData** | |
187 | |
188 Parameters | |
189 ---------- | |
190 | |
191 | method -> **chrom** | |
192 | |
193 | |
194 Output files | |
195 ------------ | |
196 | |
197 | **xset.fillPeaks.RData: RData file** | |
198 | |
199 | |
3 | 200 --------------------------------------------------- |
201 | |
202 Changelog/News | |
203 -------------- | |
204 | |
8
cce30b3398e0
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit ec6f0c17bb277ea34f898d96d12d3357220f73d4
lecorguille
parents:
6
diff
changeset
|
205 **Version 2.0.7 - 06/07/2016** |
cce30b3398e0
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit ec6f0c17bb277ea34f898d96d12d3357220f73d4
lecorguille
parents:
6
diff
changeset
|
206 |
cce30b3398e0
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit ec6f0c17bb277ea34f898d96d12d3357220f73d4
lecorguille
parents:
6
diff
changeset
|
207 - UPGRADE: upgrate the xcms version from 1.44.0 to 1.46.0 |
cce30b3398e0
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit ec6f0c17bb277ea34f898d96d12d3357220f73d4
lecorguille
parents:
6
diff
changeset
|
208 |
4
2edfa5e1f719
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 83b80dcd96b379518c2e4ace992affc889d32ca6
lecorguille
parents:
3
diff
changeset
|
209 **Version 2.0.6 - 04/04/2016** |
2edfa5e1f719
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 83b80dcd96b379518c2e4ace992affc889d32ca6
lecorguille
parents:
3
diff
changeset
|
210 |
2edfa5e1f719
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 83b80dcd96b379518c2e4ace992affc889d32ca6
lecorguille
parents:
3
diff
changeset
|
211 - TEST: refactoring to pass planemo test using conda dependencies |
2edfa5e1f719
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 83b80dcd96b379518c2e4ace992affc889d32ca6
lecorguille
parents:
3
diff
changeset
|
212 |
2edfa5e1f719
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 83b80dcd96b379518c2e4ace992affc889d32ca6
lecorguille
parents:
3
diff
changeset
|
213 |
3 | 214 **Version 2.0.5 - 10/02/2016** |
215 | |
216 - BUGFIX: better management of errors. Datasets remained green although the process failed | |
217 | |
218 - UPDATE: refactoring of internal management of inputs/outputs | |
219 | |
220 - UPDATE: refactoring to feed the new report tool | |
2 | 221 |
222 | |
3 | 223 **Version 2.0.2 - 02/06/2015** |
224 | |
225 - 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. | |
226 | |
227 - IMPROVEMENT: parameter labels have changed to facilitate their reading. | |
228 | |
229 | |
230 ]]></help> | |
0 | 231 |
4
2edfa5e1f719
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 83b80dcd96b379518c2e4ace992affc889d32ca6
lecorguille
parents:
3
diff
changeset
|
232 |
2edfa5e1f719
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 83b80dcd96b379518c2e4ace992affc889d32ca6
lecorguille
parents:
3
diff
changeset
|
233 <expand macro="citation" /> |
0 | 234 |
235 | |
236 </tool> |