Mercurial > repos > lecorguille > xcms_retcor
comparison macros.xml @ 30:4d6f4cd7c3ef draft
planemo upload for repository https://github.com/workflow4metabolomics/xcms commit e384d6dd5f410799ec211f73bca0b5d5d7bc651e
author | lecorguille |
---|---|
date | Thu, 01 Mar 2018 04:16:45 -0500 |
parents | c013ed353a2f |
children | 281786a7b9a2 |
comparison
equal
deleted
inserted
replaced
29:c013ed353a2f | 30:4d6f4cd7c3ef |
---|---|
1 <?xml version="1.0"?> | 1 <?xml version="1.0"?> |
2 <macros> | 2 <macros> |
3 <token name="@WRAPPER_VERSION@">3.0.0</token> | |
3 <xml name="requirements"> | 4 <xml name="requirements"> |
4 <requirements> | 5 <requirements> |
5 <requirement type="package" version="0.4_1">r-snow</requirement> | 6 <requirement type="package" version="@WRAPPER_VERSION@">bioconductor-xcms</requirement> |
6 <requirement type="package" version="1.46.0">bioconductor-xcms</requirement> | |
7 <requirement type="package" version="1.1_4">r-batch</requirement> | 7 <requirement type="package" version="1.1_4">r-batch</requirement> |
8 </requirements> | 8 <requirement type="package" version="1.1_2">r-rcolorbrewer</requirement> |
9 </xml> | 9 <yield /> |
10 <xml name="requirements_light"> | |
11 <requirements> | |
12 <requirement type="package" version="1.46.0">bioconductor-xcms</requirement> | |
13 </requirements> | 10 </requirements> |
14 </xml> | 11 </xml> |
15 <xml name="stdio"> | 12 <xml name="stdio"> |
16 <stdio> | 13 <stdio> |
17 <exit_code range="1" level="fatal" /> | 14 <exit_code range="1" level="fatal" /> |
18 </stdio> | 15 </stdio> |
19 </xml> | 16 </xml> |
20 | 17 |
21 <token name="@COMMAND_XCMS_SCRIPT@"> | 18 <token name="@COMMAND_XCMS_SCRIPT@">LC_ALL=C Rscript $__tool_directory__/</token> |
22 LC_ALL=C Rscript $__tool_directory__/xcms.r | |
23 </token> | |
24 | 19 |
25 <token name="@COMMAND_LOG_EXIT@"> | 20 <token name="@COMMAND_LOG_EXIT@"> |
26 ; | 21 ; |
27 return=\$?; | 22 return=\$?; |
28 mv log.txt '$log'; | 23 cat 'log.txt'; |
29 cat '$log'; | |
30 sh -c "exit \$return" | 24 sh -c "exit \$return" |
31 </token> | 25 </token> |
32 | 26 |
33 <!-- zipfile load for planemo test --> | 27 <!-- zipfile load for planemo test --> |
34 | 28 |
68 <param name="input" value="faahKO_reduce.zip" ftype="zip" /> | 62 <param name="input" value="faahKO_reduce.zip" ftype="zip" /> |
69 </conditional> | 63 </conditional> |
70 </section> | 64 </section> |
71 </xml> | 65 </xml> |
72 | 66 |
67 <xml name="test_file_load_zip_sacuri"> | |
68 <section name="file_load_section"> | |
69 <conditional name="file_load_conditional"> | |
70 <param name="file_load_select" value="yes" /> | |
71 <param name="input" value="sacuri_dir_root.zip" ftype="zip" /> | |
72 </conditional> | |
73 </section> | |
74 </xml> | |
75 | |
73 <xml name="test_file_load_single"> | 76 <xml name="test_file_load_single"> |
74 <section name="file_load_section"> | 77 <section name="file_load_section"> |
75 <conditional name="file_load_conditional"> | 78 <conditional name="file_load_conditional"> |
76 <param name="file_load_select" value="yes" /> | 79 <param name="file_load_select" value="yes" /> |
77 <param name="input" value="wt15.CDF,ko16.CDF,ko15.CDF,wt16.CDF" ftype="netcdf" /> | 80 <param name="input" value="wt15.CDF,ko16.CDF,ko15.CDF,wt16.CDF" ftype="netcdf" /> |
79 </section> | 82 </section> |
80 </xml> | 83 </xml> |
81 | 84 |
82 <token name="@COMMAND_PEAKLIST@"> | 85 <token name="@COMMAND_PEAKLIST@"> |
83 #if $peaklist.peaklistBool | 86 #if $peaklist.peaklistBool |
84 variableMetadataOutput '$variableMetadata' | |
85 dataMatrixOutput '$dataMatrix' | |
86 convertRTMinute $peaklist.convertRTMinute | 87 convertRTMinute $peaklist.convertRTMinute |
87 numDigitsMZ $peaklist.numDigitsMZ | 88 numDigitsMZ $peaklist.numDigitsMZ |
88 numDigitsRT $peaklist.numDigitsRT | 89 numDigitsRT $peaklist.numDigitsRT |
89 intval $peaklist.intval | 90 intval $peaklist.intval |
90 #end if | 91 #end if |
106 <when value="false" /> | 107 <when value="false" /> |
107 </conditional> | 108 </conditional> |
108 </xml> | 109 </xml> |
109 | 110 |
110 <xml name="output_peaklist" token_function=""> | 111 <xml name="output_peaklist" token_function=""> |
111 <data name="variableMetadata" format="tabular" label="${image.name[:-6]}.@FUNCTION@.variableMetadata.tsv"> | 112 <data name="variableMetadata" format="tabular" label="${image.name[:-6]}.@FUNCTION@.variableMetadata.tsv" from_work_dir="variableMetadata.tsv" > |
112 <filter>(peaklist['peaklistBool'])</filter> | 113 <filter>(peaklist['peaklistBool'])</filter> |
113 </data> | 114 </data> |
114 <data name="dataMatrix" format="tabular" label="${image.name[:-6]}.@FUNCTION@.dataMatrix.tsv" > | 115 <data name="dataMatrix" format="tabular" label="${image.name[:-6]}.@FUNCTION@.dataMatrix.tsv" from_work_dir="dataMatrix.tsv" > |
115 <filter>(peaklist['peaklistBool'])</filter> | 116 <filter>(peaklist['peaklistBool'])</filter> |
116 </data> | 117 </data> |
117 </xml> | 118 </xml> |
118 | 119 |
119 <token name="@HELP_AUTHORS@"> | 120 <token name="@HELP_AUTHORS@"> |
129 | 130 |
130 --------------------------------------------------- | 131 --------------------------------------------------- |
131 | 132 |
132 </token> | 133 </token> |
133 | 134 |
135 <token name="@HELP_XCMS_MANUAL@"> | |
136 | |
137 For details and explanations for all the parameters and the workflow of xcms_ package, see its manual_ and this example_ | |
138 | |
139 .. _xcms: https://bioconductor.org/packages/release/bioc/html/xcms.html | |
140 .. _manual: http://www.bioconductor.org/packages/release/bioc/manuals/xcms/man/xcms.pdf | |
141 .. _example: https://bioconductor.org/packages/release/bioc/vignettes/xcms/inst/doc/xcms.html | |
142 | |
143 </token> | |
144 | |
145 <token name="@HELP_PEAKLIST@"> | |
146 | |
147 Get a Peak List | |
148 --------------- | |
149 | |
150 If 'true', the module generates two additional files corresponding to the peak list: | |
151 - the variable metadata file (corresponding to information about extracted ions such as mass or retention time) | |
152 - the data matrix (corresponding to related intensities) | |
153 | |
154 **decimal places for [mass or retention time] values in identifiers** | |
155 | |
156 | Ions' identifiers are constructed as MxxxTyyy where 'xxx' is the ion median mass and 'yyy' the ion median retention time. | |
157 | Two parameters are used to adjust the number of decimal places wanted in identifiers for mass and retention time respectively. | |
158 | Theses parameters do not affect decimal places in columns other than the identifier one. | |
159 | |
160 **Reported intensity values** | |
161 | |
162 | This parameter determines which values should be reported as intensities in the dataMatrix table; it correspond to xcms 'intval' parameter: | |
163 | - into: integrated area of original (raw) peak | |
164 | - maxo: maximum intensity of original (raw) peak | |
165 | - intb: baseline corrected integrated peak area (only available if peak detection was done by ‘findPeaks.centWave’) | |
166 | |
167 </token> | |
134 | 168 |
135 <xml name="citation"> | 169 <xml name="citation"> |
136 <citations> | 170 <citations> |
137 <citation type="doi">10.1021/ac051437y</citation> | 171 <citation type="doi">10.1021/ac051437y</citation> |
138 <citation type="doi">10.1093/bioinformatics/btu813</citation> | 172 <citation type="doi">10.1093/bioinformatics/btu813</citation> |