Mercurial > repos > lecorguille > camera_annotate
comparison abims_CAMERA_annotateDiffreport.xml @ 25:230f0bc9e792 draft
planemo upload commit a634879c0e651eb0eb7b435a107ee40cf30524fa
author | lecorguille |
---|---|
date | Fri, 10 Feb 2017 11:11:27 -0500 |
parents | 2a4a811c663d |
children | 591d26b9027e |
comparison
equal
deleted
inserted
replaced
24:10176a940ec6 | 25:230f0bc9e792 |
---|---|
1 <tool id="abims_CAMERA_annotateDiffreport" name="CAMERA.annotate" version="2.1.5"> | 1 <tool id="abims_CAMERA_annotateDiffreport" name="CAMERA.annotate" version="2.2.0"> |
2 | 2 |
3 <description>CAMERA annotate function. Returns annotation results (isotope peaks, adducts and fragments) and a diffreport if more than one condition.</description> | 3 <description>CAMERA annotate function. Returns annotation results (isotope peaks, adducts and fragments) and a diffreport if more than one condition.</description> |
4 | 4 |
5 <macros> | 5 <macros> |
6 <import>macros.xml</import> | 6 <import>macros.xml</import> |
7 </macros> | 7 </macros> |
8 | 8 |
9 <expand macro="requirements"/> | 9 <expand macro="requirements"/> |
10 <expand macro="stdio"/> | 10 <expand macro="stdio"/> |
11 | 11 |
12 <command><![CDATA[ | 12 <command><![CDATA[ |
13 @COMMAND_CAMERA_SCRIPT@ | 13 @COMMAND_CAMERA_SCRIPT@ |
14 xfunction annotatediff | 14 xfunction annotatediff |
15 image $image | 15 image '$image' |
16 | 16 |
17 variableMetadataOutput $variableMetadata | 17 variableMetadataOutput '$variableMetadata' |
18 dataMatrixOutput $datamatrix | 18 dataMatrixOutput '$datamatrix' |
19 xsetRdataOutput $rdata | 19 xsetRdataOutput '$rdata' |
20 | 20 |
21 convert_param $convert_param num_digits $num_digits | |
22 nSlaves \${GALAXY_SLOTS:-1} | 21 nSlaves \${GALAXY_SLOTS:-1} |
23 sigma $sigma perfwhm $perfwhm | 22 sigma $sigma perfwhm $perfwhm |
24 maxcharge $maxcharge maxiso $maxiso minfrac $minfrac | 23 maxcharge $maxcharge maxiso $maxiso minfrac $minfrac |
25 ppm $ppm mzabs $mzabs intval $intval | 24 ppm $ppm mzabs $mzabs |
26 max_peaks $max_peaks | 25 max_peaks $max_peaks |
27 quick $quick_block.quick | 26 quick $quick_block.quick |
28 #if $quick_block.quick == "FALSE" | 27 #if $quick_block.quick == "FALSE" |
29 polarity $quick_block.polarity | 28 polarity $quick_block.polarity |
30 cor_eic_th $quick_block.cor_eic_th | 29 cor_eic_th $quick_block.cor_eic_th |
31 graphMethod $quick_block.graphMethod | 30 graphMethod $quick_block.graphMethod |
32 pval $quick_block.pval | 31 pval $quick_block.pval |
33 calcCiS $quick_block.calcCiS | 32 calcCiS $quick_block.calcCiS |
34 calcIso $quick_block.calcIso | 33 calcIso $quick_block.calcIso |
35 calcCaS $quick_block.calcCaS | 34 calcCaS $quick_block.calcCaS |
36 multiplier $quick_block.multiplier | 35 #if $quick_block.rules_block.rules_select == "FALSE" |
36 multiplier $quick_block.rules_block.multiplier | |
37 #else | |
38 rules $quick_block.rules_block.rules | |
39 #end if | |
37 #end if | 40 #end if |
41 | |
42 @COMMAND_PEAKLIST@ | |
38 | 43 |
39 #if $options.option == "show": | 44 #if $options.option == "show": |
40 runDiffreport TRUE | 45 runDiffreport TRUE |
41 eicmax $options.eicmax | 46 eicmax $options.eicmax |
42 eicwidth $options.eicwidth | 47 eicwidth $options.eicwidth |
43 value $options.value | 48 value $options.value |
44 sortpval $options.sortpval | 49 sortpval $options.sortpval |
45 h $options.h | 50 h $options.h |
46 w $options.w | 51 w $options.w |
47 mzdec $options.mzdec | 52 mzdec $options.mzdec |
48 new_file_path ${__new_file_path__}/primary_${output_diffreport.id}_ | 53 new_file_path ${__new_file_path__}/primary_${output_diffreport.id}_ |
49 #end if | 54 #end if |
50 | 55 |
51 @COMMAND_ZIPFILE_LOAD@ | 56 @COMMAND_FILE_LOAD@ |
52 | 57 |
53 ]]></command> | 58 ]]></command> |
54 | 59 |
55 <inputs> | 60 <inputs> |
56 | 61 |
57 | 62 |
58 <param name="image" type="data" label="RData file" format="rdata.xcms.fillpeaks,rdata" help="output file from another function xcms (fillPeaks)" /> | 63 <param name="image" type="data" label="RData file" format="rdata.xcms.fillpeaks,rdata" help="output file from another function xcms (fillPeaks)" /> |
59 | |
60 <param name="convert_param" type="boolean" checked="false" truevalue="TRUE" falsevalue="FALSE" label="Convert retention time (seconds) into minutes" help="Convert the columns rtmed, rtmin and rtmax into minutes"/> | |
61 <param name="num_digits" type="integer" value="4" label="" help="Number of decimal places for mass values reported in ions identifiers. A minimum of 4 decimal places should be set" /> | |
62 | 64 |
63 <param name="sigma" type="integer" value="6" label="groupFWHM: multiplier of the standard deviation" help="[sigma]" /> | 65 <param name="sigma" type="integer" value="6" label="groupFWHM: multiplier of the standard deviation" help="[sigma]" /> |
64 <param name="perfwhm" type="float" value="0.6" max="1" min="0" label="groupFWHM: percentage of FWHM width" help="[perfwhm]" /> | 66 <param name="perfwhm" type="float" value="0.6" max="1" min="0" label="groupFWHM: percentage of FWHM width" help="[perfwhm]" /> |
65 <param name="maxcharge" type="integer" value="3" label="findIsotopes: max. ion charge" help="[maxcharge]" /> | 67 <param name="maxcharge" type="integer" value="3" label="findIsotopes: max. ion charge" help="[maxcharge]" /> |
66 <param name="maxiso" type="integer" value="4" label="findIsotopes: max. number of expected isotopes" help="[maxiso]" /> | 68 <param name="maxiso" type="integer" value="4" label="findIsotopes: max. number of expected isotopes" help="[maxiso]" /> |
67 <param name="minfrac" type="float" value="0.5" max="1" min="0" label="findIsotopes: The percentage number of samples, which must satisfy the C12/C13 rule for isotope annotation" help="[minfrac]" /> | 69 <param name="minfrac" type="float" value="0.5" max="1" min="0" label="findIsotopes: The percentage number of samples, which must satisfy the C12/C13 rule for isotope annotation" help="[minfrac]" /> |
68 <param name="ppm" type="integer" value="5" label="General ppm error" help="[ppm]" /> | 70 <param name="ppm" type="integer" value="5" label="General ppm error" help="[ppm]" /> |
69 <param name="mzabs" type="float" value="0.015" label="mzabs" help="General absolut error in m/z" /> | 71 <param name="mzabs" type="float" value="0.015" label="mzabs" help="General absolut error in m/z" /> |
70 <param name="intval" type="select" label="General used intensity value" help="[intval] See the help section below"> | |
71 <option value="into" selected="true">into</option> | |
72 <option value="maxo" >maxo</option> | |
73 <option value="intb">intb</option> | |
74 </param> | |
75 | |
76 | |
77 <param name="max_peaks" type="integer" value="100" label="How much peaks will be calculated in every thread using the parallel mode" help="[max_peaks]" /> | 72 <param name="max_peaks" type="integer" value="100" label="How much peaks will be calculated in every thread using the parallel mode" help="[max_peaks]" /> |
73 | |
78 <conditional name="quick_block"> | 74 <conditional name="quick_block"> |
79 <param name="quick" type="select" label="Quick mode" help="[quick] If TRUE, use only groupFWHM and findIsotopes functions. Else if FALSE, use also groupCorr and findAdducts"> | 75 <param name="quick" type="select" label="Quick mode" help="[quick] If TRUE, use only groupFWHM and findIsotopes functions. Else if FALSE, use also groupCorr and findAdducts"> |
80 <option value="TRUE">TRUE</option> | 76 <option value="TRUE">TRUE</option> |
81 <option value="FALSE" selected="true">FALSE</option> | 77 <option value="FALSE" selected="true">FALSE</option> |
82 </param> | 78 </param> |
83 <when value="FALSE"> | 79 <when value="FALSE"> |
84 <param name="polarity" type="select" label="findAdducts: Which polarity mode was used for measuring of the ms sample" help="polarity"> | 80 <param name="polarity" type="select" label="findAdducts: Which polarity mode was used for measuring of the ms sample" help="polarity"> |
85 <option value="positive" >positive</option> | 81 <option value="positive" >positive</option> |
86 <option value="negative" selected="true">negative</option> | 82 <option value="negative" selected="true">negative</option> |
87 </param> | 83 </param> |
88 <param name="cor_eic_th" type="float" value="0.75" max="1" min="0" label="groupCorr: correlation threshold (0..1)" help="[cor_eic_th]" /> | 84 <param name="cor_eic_th" type="float" value="0.75" max="1" min="0" label="groupCorr: correlation threshold (0..1)" help="[cor_eic_th]" /> |
89 <param name="graphMethod" type="select" label="groupCorr: Method selection for grouping peaks after correlation analysis into pseudospectra" help="[graphMethod]"> | 85 <param name="graphMethod" type="select" label="groupCorr: Method selection for grouping peaks after correlation analysis into pseudospectra" help="[graphMethod]"> |
90 <option value="hcs" selected="true">hcs</option> | 86 <option value="hcs" selected="true">hcs</option> |
91 <option value="lpc">lpc</option> | 87 <option value="lpc">lpc</option> |
92 </param> | 88 </param> |
93 <param name="pval" type="float" value="0.05" max="1" min="0" label="groupCorr: significant correlation threshold" help="[pval]" /> | 89 <param name="pval" type="float" value="0.05" max="1" min="0" label="groupCorr: significant correlation threshold" help="[pval]" /> |
94 <param name="calcCiS" type="boolean" checked="true" truevalue="TRUE" falsevalue="FALSE" label="groupCorr: Use correlation inside samples for peak grouping" help="[calcCiS]"/> | 90 <param name="calcCiS" type="boolean" checked="true" truevalue="TRUE" falsevalue="FALSE" label="groupCorr: Use correlation inside samples for peak grouping" help="[calcCiS]"/> |
95 <param name="calcIso" type="boolean" checked="false" truevalue="TRUE" falsevalue="FALSE" label="groupCorr: Use isotopic relationship for peak grouping" help="[calcIso]"/> | 91 <param name="calcIso" type="boolean" checked="false" truevalue="TRUE" falsevalue="FALSE" label="groupCorr: Use isotopic relationship for peak grouping" help="[calcIso]"/> |
96 <param name="calcCaS" type="boolean" checked="false" truevalue="TRUE" falsevalue="FALSE" label="groupCorr: Use correlation across samples for peak grouping" help="[calcCaS]"/> | 92 <param name="calcCaS" type="boolean" checked="false" truevalue="TRUE" falsevalue="FALSE" label="groupCorr: Use correlation across samples for peak grouping" help="[calcCaS]"/> |
97 <param name="multiplier" type="integer" value="3" label="findAdducts: If no ruleset is provided, calculate ruleset with max. number n of [nM+x] clusterions" help="[multiplier]" /> | 93 <conditional name="rules_block"> |
98 </when> | 94 <param name="rules_select" type="select" label="Use a personal ruleset file"> |
99 <when value="TRUE"> | 95 <option value="TRUE">TRUE</option> |
96 <option value="FALSE" selected="true">FALSE</option> | |
97 </param> | |
98 <when value="FALSE"> | |
99 <param name="multiplier" type="integer" value="3" label="findAdducts: If no ruleset is provided, calculate ruleset with max. number n of [nM+x] clusterions" help="[multiplier]" /> | |
100 </when> | |
101 <when value="TRUE"> | |
102 <param name="rules" type="data" format="csv" label="findAdducts: User defined ruleset" help="[rules]" /> | |
103 </when> | |
104 </conditional> | |
105 </when> | |
106 <when value="TRUE"> | |
100 <param name="polarity" type="hidden" value="quick" label="for the output label" help="for the output label" /> | 107 <param name="polarity" type="hidden" value="quick" label="for the output label" help="for the output label" /> |
101 </when> | 108 </when> |
102 </conditional> | 109 </conditional> |
103 | 110 |
104 | 111 <expand macro="input_peaklist"/> |
112 | |
105 <!-- Annotatediffreport specific parameters --> | 113 <!-- Annotatediffreport specific parameters --> |
106 <conditional name="options"> | 114 <conditional name="options"> |
107 <param name="option" type="select" label="Number of condition"> | 115 <param name="option" type="select" label="Number of condition"> |
108 <option value="hide" selected="true">One condition</option> | 116 <option value="hide" selected="true">One condition</option> |
109 <option value="show">Two or more conditions</option> | 117 <option value="show">Two or more conditions</option> |
110 </param> | 118 </param> |
111 <when value="show"> | 119 <when value="show"> |
112 <param name="eicmax" type="integer" value="0" label="diffreport: number of the most significantly different analytes to create EICs for" help="[eicmax]" /> | 120 <param name="eicmax" type="integer" value="0" label="diffreport: number of the most significantly different analytes to create EICs for" help="[eicmax]" /> |
113 <param name="eicwidth" type="integer" value="200" label="diffreport: width (in seconds) of EICs produced" help="[eicwidth]" /> | 121 <param name="eicwidth" type="integer" value="200" label="diffreport: width (in seconds) of EICs produced" help="[eicwidth]" /> |
114 <param name="value" type="select" label="diffreport: Intensity values to be used for the diffreport" help="[value]"> | 122 <param name="value" type="select" label="diffreport: Intensity values to be used for the diffreport" help="[value]"> |
115 <option value="into" selected="true">into</option> | 123 <option value="into" selected="true">into</option> |
116 <option value="maxo" >maxo</option> | 124 <option value="maxo" >maxo</option> |
117 <option value="intb">intb</option> | 125 <option value="intb">intb</option> |
118 </param> | 126 </param> |
119 <param name="h" type="integer" value="480" label="diffreport: Numeric variable for the height of the eic and boxplots that are printed out" help="[height]" /> | 127 <param name="h" type="integer" value="480" label="diffreport: Numeric variable for the height of the eic and boxplots that are printed out" help="[height]" /> |
120 <param name="w" type="integer" value="640" label="diffreport: Numeric variable for the width of the eic and boxplots print out made" help="[width]" /> | 128 <param name="w" type="integer" value="640" label="diffreport: Numeric variable for the width of the eic and boxplots print out made" help="[width]" /> |
121 <param name="mzdec" type="integer" value="2" label="diffreport: Number of decimal places of title m/z values in the eic plot" help="[mzdec]" /> | 129 <param name="mzdec" type="integer" value="2" label="diffreport: Number of decimal places of title m/z values in the eic plot" help="[mzdec]" /> |
122 <param name="sortpval" type="boolean" checked="false" truevalue="TRUE" falsevalue="FALSE" label="diffreport: logical indicating whether the reports should be sorted by p-value" help="[sortpval]"/> | 130 <param name="sortpval" type="boolean" checked="false" truevalue="TRUE" falsevalue="FALSE" label="diffreport: logical indicating whether the reports should be sorted by p-value" help="[sortpval]"/> |
123 </when> | 131 </when> |
124 <when value="hide"> | 132 <when value="hide"> |
125 </when> | 133 </when> |
126 </conditional> | 134 </conditional> |
127 | 135 |
128 <expand macro="zipfile_load"/> | 136 <expand macro="file_load"/> |
129 </inputs> | 137 </inputs> |
130 | 138 |
131 <outputs> | 139 <outputs> |
132 <data name="variableMetadata" format="tabular" label="${image.name[:-6]}.annotate.variableMetadata.tsv" /> | 140 <data name="variableMetadata" format="tabular" label="${image.name[:-6]}.annotate.variableMetadata.tsv" /> |
133 <data name="datamatrix" format="tabular" label="${image.name[:-6]}.annotate.dataMatrix.tsv" /> | 141 <data name="datamatrix" format="tabular" label="${image.name[:-6]}.annotate.dataMatrix.tsv" /> |
135 <change_format> | 143 <change_format> |
136 <when input="quick_block.polarity" value="positive" format="rdata.camera.positive" /> | 144 <when input="quick_block.polarity" value="positive" format="rdata.camera.positive" /> |
137 <when input="quick_block.polarity" value="negative" format="rdata.camera.negative" /> | 145 <when input="quick_block.polarity" value="negative" format="rdata.camera.negative" /> |
138 </change_format> | 146 </change_format> |
139 </data> | 147 </data> |
140 <data name="output_diffreport" format="text" label="${image.name[:-6]}.annotateDiffreport" hidden="True"> | 148 <data name="output_diffreport" format="text" label="${image.name[:-6]}.annotateDiffreport" hidden="true"> |
141 <filter>(options['option'] == 'show')</filter> | 149 <filter>(options['option'] == 'show')</filter> |
142 </data> | 150 </data> |
143 </outputs> | 151 </outputs> |
144 | 152 |
145 <tests> | 153 <tests> |
146 <!--<test> | 154 <!--<test> |
147 <param name="image" value="xset.group.retcor.group.fillPeaks.RData"/> | 155 <param name="image" value="xset.group.retcor.group.fillPeaks.RData"/> |
148 <param name="convert_param" value="False"/> | 156 <param name="convert_param" value="False"/> |
149 <param name="num_digits" value="0"/> | 157 <param name="num_digits" value="0"/> |
177 <output name="variableMetadata" file="xset.group.retcor.group.fillPeaks.annotate.variableMetadata.tsv" /> | 185 <output name="variableMetadata" file="xset.group.retcor.group.fillPeaks.annotate.variableMetadata.tsv" /> |
178 <output name="datamatrix" file="xset.group.retcor.group.fillPeaks.annotate.dataMatrix.tsv" /> | 186 <output name="datamatrix" file="xset.group.retcor.group.fillPeaks.annotate.dataMatrix.tsv" /> |
179 </test>--> | 187 </test>--> |
180 <test> | 188 <test> |
181 <param name="image" value="faahKO.xset.group.retcor.group.fillpeaks.RData"/> | 189 <param name="image" value="faahKO.xset.group.retcor.group.fillpeaks.RData"/> |
182 <param name="convert_param" value="False"/> | |
183 <param name="num_digits" value="0"/> | |
184 <param name="sigma" value="6"/> | 190 <param name="sigma" value="6"/> |
185 <param name="perfwhm" value="0.6"/> | 191 <param name="perfwhm" value="0.6"/> |
186 <param name="maxcharge" value="3"/> | 192 <param name="maxcharge" value="3"/> |
187 <param name="maxiso" value="4"/> | 193 <param name="maxiso" value="4"/> |
188 <param name="minfrac" value="0.5"/> | 194 <param name="minfrac" value="0.5"/> |
189 <param name="ppm" value="5"/> | 195 <param name="ppm" value="5"/> |
190 <param name="mzabs" value="0.015"/> | 196 <param name="mzabs" value="0.015"/> |
197 <param name="max_peaks" value="100"/> | |
198 <conditional name="quick_block"> | |
199 <param name="quick" value="FALSE"/> | |
200 <param name="polarity" value="negative"/> | |
201 <param name="cor_eic_th" value="0.75"/> | |
202 <param name="graphMethod" value="hcs"/> | |
203 <param name="pval" value="0.05"/> | |
204 <param name="calcCiS" value="True"/> | |
205 <param name="calcIso" value="False"/> | |
206 <param name="calcCaS" value="False"/> | |
207 <conditional name="rules_block"> | |
208 <param name="rules_select" value="FALSE"/> | |
209 <param name="multiplier" value="3"/> | |
210 </conditional> | |
211 </conditional> | |
212 <param name="convertRTMinute" value="False"/> | |
213 <param name="numDigitsMZ" value="4" /> | |
214 <param name="numDigitsRT" value="1" /> | |
191 <param name="intval" value="into"/> | 215 <param name="intval" value="into"/> |
192 <param name="max_peaks" value="100"/> | 216 <conditional name="options"> |
193 <param name="quick_block|quick" value="FALSE"/> | 217 <param name="option" value="show"/> |
194 <param name="quick_block|polarity" value="negative"/> | 218 <param name="eicmax" value="200"/> |
195 <param name="quick_block|cor_eic_th" value="0.75"/> | 219 <param name="eicwidth" value="200"/> |
196 <param name="quick_block|graphMethod" value="hcs"/> | 220 <param name="value" value="into"/> |
197 <param name="quick_block|pval" value="0.05"/> | 221 <param name="h" value="480"/> |
198 <param name="quick_block|calcCiS" value="True"/> | 222 <param name="w" value="640"/> |
199 <param name="quick_block|calcIso" value="False"/> | 223 <param name="mzdec" value="2"/> |
200 <param name="quick_block|calcCaS" value="False"/> | 224 <param name="sortpval" value="False"/> |
201 <param name="quick_block|multiplier" value="3"/> | 225 </conditional> |
202 <param name="options|option" value="show"/> | 226 <param name="file_load_conditional|file_load_select" value="yes" /> |
203 <param name="options|eicmax" value="200"/> | 227 <param name="file_load_conditional|inputs|input" value="zip_file" /> |
204 <param name="options|eicwidth" value="200"/> | 228 <param name="file_load_conditional|inputs|zip_file" value="faahKO_reduce.zip" ftype="zip" /> |
205 <param name="options|value" value="into"/> | |
206 <param name="options|h" value="480"/> | |
207 <param name="options|w" value="640"/> | |
208 <param name="options|mzdec" value="2"/> | |
209 <param name="options|sortpval" value="False"/> | |
210 <param name="zipfile_load_conditional|zipfile_load_select" value="yes" /> | |
211 <param name="zipfile_load_conditional|zip_file" value="faahKO_reduce.zip" ftype="zip" /> | |
212 <output name="variableMetadata" file="faahKO.xset.group.retcor.group.fillPeaks.annotate.variableMetadata.tsv" /> | 229 <output name="variableMetadata" file="faahKO.xset.group.retcor.group.fillPeaks.annotate.variableMetadata.tsv" /> |
213 <output name="datamatrix" file="faahKO.xset.group.retcor.group.fillPeaks.annotate.dataMatrix.tsv" /> | 230 <output name="datamatrix" file="faahKO.xset.group.retcor.group.fillPeaks.annotate.dataMatrix.tsv" /> |
214 </test> | 231 </test> |
232 <test> | |
233 <param name="image" value="faahKO-single.xset.merged.group.retcor.group.fillpeaks.RData"/> | |
234 <param name="sigma" value="6"/> | |
235 <param name="perfwhm" value="0.6"/> | |
236 <param name="maxcharge" value="3"/> | |
237 <param name="maxiso" value="4"/> | |
238 <param name="minfrac" value="0.5"/> | |
239 <param name="ppm" value="5"/> | |
240 <param name="mzabs" value="0.015"/> | |
241 <param name="max_peaks" value="100"/> | |
242 <conditional name="quick_block"> | |
243 <param name="quick" value="FALSE"/> | |
244 <param name="polarity" value="negative"/> | |
245 <param name="cor_eic_th" value="0.75"/> | |
246 <param name="graphMethod" value="hcs"/> | |
247 <param name="pval" value="0.05"/> | |
248 <param name="calcCiS" value="True"/> | |
249 <param name="calcIso" value="False"/> | |
250 <param name="calcCaS" value="False"/> | |
251 <conditional name="rules_block"> | |
252 <param name="rules_select" value="FALSE"/> | |
253 <param name="multiplier" value="3"/> | |
254 </conditional> | |
255 </conditional> | |
256 <param name="convertRTMinute" value="False"/> | |
257 <param name="numDigitsMZ" value="4" /> | |
258 <param name="numDigitsRT" value="1" /> | |
259 <param name="intval" value="into"/> | |
260 <conditional name="options"> | |
261 <param name="option" value="show"/> | |
262 <param name="eicmax" value="200"/> | |
263 <param name="eicwidth" value="200"/> | |
264 <param name="value" value="into"/> | |
265 <param name="h" value="480"/> | |
266 <param name="w" value="640"/> | |
267 <param name="mzdec" value="2"/> | |
268 <param name="sortpval" value="False"/> | |
269 </conditional> | |
270 <param name="file_load_conditional|file_load_select" value="yes" /> | |
271 <param name="file_load_conditional|inputs|input" value="single_file" /> | |
272 <param name="file_load_conditional|inputs|single_file" value="wt15.CDF,ko16.CDF,ko15.CDF,wt16.CDF" ftype="netcdf" /> | |
273 <output name="variableMetadata" file="faahKO.xset.group.retcor.group.fillPeaks.annotate.variableMetadata.tsv" /> | |
274 <output name="datamatrix" file="faahKO.xset.group.retcor.group.fillPeaks.annotate.dataMatrix.tsv" /> | |
275 </test> | |
276 <test> | |
277 <param name="image" value="faahKO-single.xset.merged.group.retcor.group.fillpeaks.RData"/> | |
278 <param name="sigma" value="6"/> | |
279 <param name="perfwhm" value="0.6"/> | |
280 <param name="maxcharge" value="3"/> | |
281 <param name="maxiso" value="4"/> | |
282 <param name="minfrac" value="0.5"/> | |
283 <param name="ppm" value="5"/> | |
284 <param name="mzabs" value="0.015"/> | |
285 <param name="max_peaks" value="100"/> | |
286 <conditional name="quick_block"> | |
287 <param name="quick" value="FALSE"/> | |
288 <param name="polarity" value="negative"/> | |
289 <param name="cor_eic_th" value="0.75"/> | |
290 <param name="graphMethod" value="hcs"/> | |
291 <param name="pval" value="0.05"/> | |
292 <param name="calcCiS" value="True"/> | |
293 <param name="calcIso" value="False"/> | |
294 <param name="calcCaS" value="False"/> | |
295 <conditional name="rules_block"> | |
296 <param name="rules_select" value="TRUE"/> | |
297 <param name="rules" value="CASMI_extended_NEG_rules.csv" ftype="csv"/> | |
298 </conditional> | |
299 </conditional> | |
300 <param name="convertRTMinute" value="False"/> | |
301 <param name="numDigitsMZ" value="4" /> | |
302 <param name="numDigitsRT" value="1" /> | |
303 <param name="intval" value="into"/> | |
304 <conditional name="options"> | |
305 <param name="option" value="show"/> | |
306 <param name="eicmax" value="200"/> | |
307 <param name="eicwidth" value="200"/> | |
308 <param name="value" value="into"/> | |
309 <param name="h" value="480"/> | |
310 <param name="w" value="640"/> | |
311 <param name="mzdec" value="2"/> | |
312 <param name="sortpval" value="False"/> | |
313 </conditional> | |
314 <param name="file_load_conditional|file_load_select" value="yes" /> | |
315 <param name="file_load_conditional|inputs|input" value="single_file" /> | |
316 <param name="file_load_conditional|inputs|single_file" value="wt15.CDF,ko16.CDF,ko15.CDF,wt16.CDF" ftype="netcdf" /> | |
317 <output name="variableMetadata" file="faahKO.xset.group.retcor.group.fillPeaks.annotate.rules.variableMetadata.tsv" /> | |
318 <output name="datamatrix" file="faahKO.xset.group.retcor.group.fillPeaks.annotate.rules.dataMatrix.tsv" /> | |
319 </test> | |
215 </tests> | 320 </tests> |
216 | 321 |
217 | 322 |
218 | 323 |
219 <help><![CDATA[ | 324 <help><![CDATA[ |
220 | 325 |
221 @HELP_AUTHORS@ | 326 @HELP_AUTHORS@ |
222 | 327 |
223 ================ | 328 ================ |
224 CAMERA.annotate | 329 CAMERA.annotate |
225 ================ | 330 ================ |
237 CAMERA is designed to interact directly with processed peak data from the | 342 CAMERA is designed to interact directly with processed peak data from the |
238 R-package **xcms**. | 343 R-package **xcms**. |
239 | 344 |
240 **What it does?** | 345 **What it does?** |
241 | 346 |
242 The CAMERA annotation procedure can be split into two parts: We want to answer the questions which peaks occur from the same molecule and secondly compute its exact mass and annotate the ion species. Therefore CAMERA annotation workflow contains following primary functions: 1. peak grouping after retention time (**groupFWHM**) 2. peak group verification with peakshape correlation (**groupCorr**) Both methods separate peaks into different groups, which we define as ”pseu- dospectra”. Those pseudospectra can consists from one up to 100 ions, de- pending on the molecules amount and ionizability. Afterwards the exposure of the ion species can be performed with: 2 1. annotation of possible isotopes (**findIsotopes**) 2. annotation of adducts and calculating hypothetical masses for the group (**findAdducts**) This workflow results in a data-frame similar to a xcms peak table, that can be easily stored in a comma separated table .csv (Excel-readable). | 347 The CAMERA annotation procedure can be split into two parts: We want to answer the questions which peaks occur from the same molecule and secondly compute its exact mass and annotate the ion species. Therefore CAMERA annotation workflow contains following primary functions: 1. peak grouping after retention time (**groupFWHM**) 2. peak group verification with peakshape correlation (**groupCorr**) Both methods separate peaks into different groups, which we define as ”pseu- dospectra”. Those pseudospectra can consists from one up to 100 ions, de- pending on the molecules amount and ionizability. Afterwards the exposure of the ion species can be performed with: 2 1. annotation of possible isotopes (**findIsotopes**) 2. annotation of adducts and calculating hypothetical masses for the group (**findAdducts**) This workflow results in a data-frame similar to a xcms peak table, that can be easily stored in a comma separated table .csv (Excel-readable). |
243 | 348 |
244 If you have two or more conditions, it will return a diffreport result within the annotation results. | 349 If you have two or more conditions, it will return a diffreport result within the annotation results. |
245 The diffreport result shows the most significant differences between two sets of samples. Optionally | 350 The diffreport result shows the most significant differences between two sets of samples. Optionally |
246 create extracted ion chromatograms for the most significant differences. | 351 create extracted ion chromatograms for the most significant differences. |
247 | 352 |
326 | the value of the intensity in each sample, fold, anova, mzmed, mzmin, mzmax, rtmed, rtmin, rtmax, npeaks, isotopes, adduct and pcgroup | 431 | the value of the intensity in each sample, fold, anova, mzmed, mzmin, mzmax, rtmed, rtmin, rtmax, npeaks, isotopes, adduct and pcgroup |
327 | 432 |
328 xset.annotate.dataMatrix.tsv | 433 xset.annotate.dataMatrix.tsv |
329 | 434 |
330 | A tabular file which represents for each metabolite (row), the value of the intensity in each sample (column). | 435 | A tabular file which represents for each metabolite (row), the value of the intensity in each sample (column). |
331 | 436 |
332 xset.annotate.zip | 437 xset.annotate.zip |
333 | 438 |
334 | It contains filebase_eic, filebase_box and filebase.tsv for one conditon vs another (Anova analysis). | 439 | It contains filebase_eic, filebase_box and filebase.tsv for one conditon vs another (Anova analysis). |
335 | 440 |
336 xset.annotate.Rdata rdata.camera.quick or rdata.camera.positive or rdata.camera.negative | 441 xset.annotate.Rdata rdata.camera.quick or rdata.camera.positive or rdata.camera.negative |
337 | 442 |
338 | Rdata file, that be used outside Galaxy in R. | 443 | Rdata file, that be used outside Galaxy in R. |
339 | 444 |
340 ------ | 445 ------ |
341 | 446 |
342 .. class:: infomark | 447 .. class:: infomark |
343 | 448 |
344 The output **"xset.annotate.dataMatrix.tsv"** is a tabular file. You can continue your analysis using it in the following tools of the workflow: | 449 The output **"xset.annotate.dataMatrix.tsv"** is a tabular file. You can continue your analysis using it in the following tools of the workflow: |
345 | 450 |
346 | Determine Vdk or Lowess (Data correction) | 451 | Determine Vdk or Lowess (Data correction) |
347 | Normalization Vdk/Lowess (Data correction) | 452 | Normalization Vdk/Lowess (Data correction) |
348 | Anova (Statistical analysis) | 453 | Anova (Statistical analysis) |
349 | PCA (Statistical analysis) | 454 | PCA (Statistical analysis) |
350 | Hierarchical Clustering (Statistical analysis) | 455 | Hierarchical Clustering (Statistical analysis) |
351 | 456 |
352 | 457 |
353 --------------------------------------------------- | 458 --------------------------------------------------- |
354 | 459 |
355 --------------- | 460 --------------- |
356 Working example | 461 Working example |
357 --------------- | 462 --------------- |
375 | Advanced options -> **hide** | 480 | Advanced options -> **hide** |
376 | Numver of condition -> Two or more conditioons | 481 | Numver of condition -> Two or more conditioons |
377 | eicmax -> **200** | 482 | eicmax -> **200** |
378 | eicwidth -> **200 (default)** | 483 | eicwidth -> **200 (default)** |
379 | 484 |
380 | 485 |
381 | 486 |
382 Output files | 487 Output files |
383 ------------ | 488 ------------ |
384 | 489 |
385 **Example of an xset.annotate.dataMatrix.tsv output** | 490 **Example of an xset.annotate.dataMatrix.tsv output** |
386 | 491 |
387 .. image:: annotatediffreport_dataMatrix.png | 492 .. image:: annotatediffreport_dataMatrix.png |
388 | 493 |
389 **Example of a part of xset.annotate.variableMetadata.tsv output** | 494 **Example of a part of xset.annotate.variableMetadata.tsv output** |
390 | 495 |
391 .. image:: annotatediffreport_variableMetadata.png | 496 .. image:: annotatediffreport_variableMetadata.png |
392 | 497 |
393 | 498 |
394 --------------------------------------------------- | 499 --------------------------------------------------- |
395 | 500 |
396 Changelog/News | 501 Changelog/News |
397 -------------- | 502 -------------- |
398 | 503 |
504 **Version 2.2.0 - 03/02/2017** | |
505 | |
506 - BUGFIX: the diffreport ids didn't convert the rt in minute as the other export | |
507 | |
508 - UPDATE: the settings (digits, convertion in minutes) of the identifiants will no longer modify the native one. Because we want to be conservative and because it can be dangerous for the data integrity during a futur merge of the table, we decide to put those customization in a new column namecustom within the variableMetadata. | |
509 | |
510 - IMPROVEMENT: add the possibility to set the MZ digit within the identifiants | |
511 | |
512 - IMPROVEMENT: add the possibility to use defined ruleset | |
513 | |
514 - IMPROVEMENT: CAMERA.annotate is now compatible with merged individual data from xcms.xcmsSet | |
515 | |
516 | |
399 **Version 2.1.5 - 21/04/2016** | 517 **Version 2.1.5 - 21/04/2016** |
400 | 518 |
401 - UPGRADE: upgrate the CAMERA version from 1.22.0 to 1.26.0 | 519 - UPGRADE: upgrade the CAMERA version from 1.22.0 to 1.26.0 |
402 | 520 |
403 | 521 |
404 **Version 2.1.4 - 18/04/2016** | 522 **Version 2.1.4 - 18/04/2016** |
405 | 523 |
406 - TEST: refactoring to pass planemo test using conda dependencies | 524 - TEST: refactoring to pass planemo test using conda dependencies |
435 | 553 |
436 <expand macro="citation" /> | 554 <expand macro="citation" /> |
437 | 555 |
438 | 556 |
439 </tool> | 557 </tool> |
440 | |
441 |