Mercurial > repos > lecorguille > camera_annotate
annotate abims_CAMERA_annotateDiffreport.xml @ 18:85b8351ded6c draft
planemo upload commit a57205d251bdebafdee164225fd03ac4d821e49c-dirty
author | lecorguille |
---|---|
date | Wed, 06 Jul 2016 17:28:55 -0400 |
parents | af2d29943e97 |
children | fa663873dc54 |
rev | line source |
---|---|
18
85b8351ded6c
planemo upload commit a57205d251bdebafdee164225fd03ac4d821e49c-dirty
lecorguille
parents:
16
diff
changeset
|
1 <tool id="abims_CAMERA_annotateDiffreport" name="CAMERA.annotate" version="2.1.6"> |
0 | 2 |
3 <description>CAMERA annotate function. Returns annotation results (isotope peaks, adducts and fragments) and a diffreport if more than one condition.</description> | |
4 | |
9
c02d80efba80
planemo upload commit d8cc436fd91f5748dc396d0527a0a303d3221835
lecorguille
parents:
6
diff
changeset
|
5 <macros> |
c02d80efba80
planemo upload commit d8cc436fd91f5748dc396d0527a0a303d3221835
lecorguille
parents:
6
diff
changeset
|
6 <import>macros.xml</import> |
c02d80efba80
planemo upload commit d8cc436fd91f5748dc396d0527a0a303d3221835
lecorguille
parents:
6
diff
changeset
|
7 </macros> |
c02d80efba80
planemo upload commit d8cc436fd91f5748dc396d0527a0a303d3221835
lecorguille
parents:
6
diff
changeset
|
8 |
c02d80efba80
planemo upload commit d8cc436fd91f5748dc396d0527a0a303d3221835
lecorguille
parents:
6
diff
changeset
|
9 <expand macro="requirements"/> |
c02d80efba80
planemo upload commit d8cc436fd91f5748dc396d0527a0a303d3221835
lecorguille
parents:
6
diff
changeset
|
10 <expand macro="stdio"/> |
0 | 11 |
1 | 12 <command><![CDATA[ |
9
c02d80efba80
planemo upload commit d8cc436fd91f5748dc396d0527a0a303d3221835
lecorguille
parents:
6
diff
changeset
|
13 @COMMAND_CAMERA_SCRIPT@ |
1 | 14 xfunction annotatediff |
15 image $image | |
16 | |
17 variableMetadataOutput $variableMetadata | |
18 dataMatrixOutput $datamatrix | |
19 xsetRdataOutput $rdata | |
20 | |
21 convert_param $convert_param num_digits $num_digits | |
22 nSlaves \${GALAXY_SLOTS:-1} | |
0 | 23 sigma $sigma perfwhm $perfwhm |
24 maxcharge $maxcharge maxiso $maxiso minfrac $minfrac | |
25 ppm $ppm mzabs $mzabs intval $intval | |
26 max_peaks $max_peaks | |
27 quick $quick_block.quick | |
28 #if $quick_block.quick == "FALSE" | |
29 polarity $quick_block.polarity | |
30 cor_eic_th $quick_block.cor_eic_th | |
31 graphMethod $quick_block.graphMethod | |
32 pval $quick_block.pval | |
33 calcCiS $quick_block.calcCiS | |
34 calcIso $quick_block.calcIso | |
35 calcCaS $quick_block.calcCaS | |
18
85b8351ded6c
planemo upload commit a57205d251bdebafdee164225fd03ac4d821e49c-dirty
lecorguille
parents:
16
diff
changeset
|
36 #if $quick_block.rules_block.rules_select == "FALSE" |
85b8351ded6c
planemo upload commit a57205d251bdebafdee164225fd03ac4d821e49c-dirty
lecorguille
parents:
16
diff
changeset
|
37 multiplier $quick_block.rules_block.multiplier |
85b8351ded6c
planemo upload commit a57205d251bdebafdee164225fd03ac4d821e49c-dirty
lecorguille
parents:
16
diff
changeset
|
38 #else |
85b8351ded6c
planemo upload commit a57205d251bdebafdee164225fd03ac4d821e49c-dirty
lecorguille
parents:
16
diff
changeset
|
39 multiplier $quick_block.rules_block.rules |
85b8351ded6c
planemo upload commit a57205d251bdebafdee164225fd03ac4d821e49c-dirty
lecorguille
parents:
16
diff
changeset
|
40 #end if |
0 | 41 #end if |
42 | |
43 #if $options.option == "show": | |
3 | 44 runDiffreport TRUE |
0 | 45 eicmax $options.eicmax |
46 eicwidth $options.eicwidth | |
47 value $options.value | |
48 sortpval $options.sortpval | |
49 h $options.h | |
50 w $options.w | |
51 mzdec $options.mzdec | |
1 | 52 new_file_path ${__new_file_path__}/primary_${output_diffreport.id}_ |
0 | 53 #end if |
16
af2d29943e97
planemo upload commit 62670148178273a855c42e85438ce731548ada48-dirty
lecorguille
parents:
14
diff
changeset
|
54 |
af2d29943e97
planemo upload commit 62670148178273a855c42e85438ce731548ada48-dirty
lecorguille
parents:
14
diff
changeset
|
55 @COMMAND_ZIPFILE_LOAD@ |
11
d33e0ed5f32a
planemo upload commit d8cc436fd91f5748dc396d0527a0a303d3221835-dirty
lecorguille
parents:
9
diff
changeset
|
56 |
1 | 57 ]]></command> |
0 | 58 |
59 <inputs> | |
60 | |
61 | |
62 <param name="image" type="data" label="RData file" format="rdata.xcms.fillpeaks,rdata" help="output file from another function xcms (fillPeaks)" /> | |
63 | |
64 <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"/> | |
1 | 65 <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" /> |
0 | 66 |
67 <param name="sigma" type="integer" value="6" label="groupFWHM: multiplier of the standard deviation" help="[sigma]" /> | |
68 <param name="perfwhm" type="float" value="0.6" max="1" min="0" label="groupFWHM: percentage of FWHM width" help="[perfwhm]" /> | |
69 <param name="maxcharge" type="integer" value="3" label="findIsotopes: max. ion charge" help="[maxcharge]" /> | |
70 <param name="maxiso" type="integer" value="4" label="findIsotopes: max. number of expected isotopes" help="[maxiso]" /> | |
71 <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]" /> | |
72 <param name="ppm" type="integer" value="5" label="General ppm error" help="[ppm]" /> | |
73 <param name="mzabs" type="float" value="0.015" label="mzabs" help="General absolut error in m/z" /> | |
74 <param name="intval" type="select" label="General used intensity value" help="[intval] See the help section below"> | |
75 <option value="into" selected="true">into</option> | |
76 <option value="maxo" >maxo</option> | |
77 <option value="intb">intb</option> | |
78 </param> | |
79 | |
80 | |
81 <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]" /> | |
82 <conditional name="quick_block"> | |
83 <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"> | |
84 <option value="TRUE">TRUE</option> | |
85 <option value="FALSE" selected="true">FALSE</option> | |
86 </param> | |
87 <when value="FALSE"> | |
88 <param name="polarity" type="select" label="findAdducts: Which polarity mode was used for measuring of the ms sample" help="polarity"> | |
89 <option value="positive" >positive</option> | |
90 <option value="negative" selected="true">negative</option> | |
91 </param> | |
92 <param name="cor_eic_th" type="float" value="0.75" max="1" min="0" label="groupCorr: correlation threshold (0..1)" help="[cor_eic_th]" /> | |
93 <param name="graphMethod" type="select" label="groupCorr: Method selection for grouping peaks after correlation analysis into pseudospectra" help="[graphMethod]"> | |
94 <option value="hcs" selected="true">hcs</option> | |
95 <option value="lpc">lpc</option> | |
96 </param> | |
97 <param name="pval" type="float" value="0.05" max="1" min="0" label="groupCorr: significant correlation threshold" help="[pval]" /> | |
98 <param name="calcCiS" type="boolean" checked="true" truevalue="TRUE" falsevalue="FALSE" label="groupCorr: Use correlation inside samples for peak grouping" help="[calcCiS]"/> | |
99 <param name="calcIso" type="boolean" checked="false" truevalue="TRUE" falsevalue="FALSE" label="groupCorr: Use isotopic relationship for peak grouping" help="[calcIso]"/> | |
100 <param name="calcCaS" type="boolean" checked="false" truevalue="TRUE" falsevalue="FALSE" label="groupCorr: Use correlation across samples for peak grouping" help="[calcCaS]"/> | |
18
85b8351ded6c
planemo upload commit a57205d251bdebafdee164225fd03ac4d821e49c-dirty
lecorguille
parents:
16
diff
changeset
|
101 <conditional name="rules_block"> |
85b8351ded6c
planemo upload commit a57205d251bdebafdee164225fd03ac4d821e49c-dirty
lecorguille
parents:
16
diff
changeset
|
102 <param name="rules_select" type="select" label="Use a personal ruleset file"> |
85b8351ded6c
planemo upload commit a57205d251bdebafdee164225fd03ac4d821e49c-dirty
lecorguille
parents:
16
diff
changeset
|
103 <option value="TRUE">TRUE</option> |
85b8351ded6c
planemo upload commit a57205d251bdebafdee164225fd03ac4d821e49c-dirty
lecorguille
parents:
16
diff
changeset
|
104 <option value="FALSE" selected="true">FALSE</option> |
85b8351ded6c
planemo upload commit a57205d251bdebafdee164225fd03ac4d821e49c-dirty
lecorguille
parents:
16
diff
changeset
|
105 </param> |
85b8351ded6c
planemo upload commit a57205d251bdebafdee164225fd03ac4d821e49c-dirty
lecorguille
parents:
16
diff
changeset
|
106 <when value="FALSE"> |
85b8351ded6c
planemo upload commit a57205d251bdebafdee164225fd03ac4d821e49c-dirty
lecorguille
parents:
16
diff
changeset
|
107 <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]" /> |
85b8351ded6c
planemo upload commit a57205d251bdebafdee164225fd03ac4d821e49c-dirty
lecorguille
parents:
16
diff
changeset
|
108 </when> |
85b8351ded6c
planemo upload commit a57205d251bdebafdee164225fd03ac4d821e49c-dirty
lecorguille
parents:
16
diff
changeset
|
109 <when value="TRUE"> |
85b8351ded6c
planemo upload commit a57205d251bdebafdee164225fd03ac4d821e49c-dirty
lecorguille
parents:
16
diff
changeset
|
110 <param name="rules" type="data" format="csv" label="findAdducts: User defined ruleset" help="[rules]" /> |
85b8351ded6c
planemo upload commit a57205d251bdebafdee164225fd03ac4d821e49c-dirty
lecorguille
parents:
16
diff
changeset
|
111 </when> |
85b8351ded6c
planemo upload commit a57205d251bdebafdee164225fd03ac4d821e49c-dirty
lecorguille
parents:
16
diff
changeset
|
112 </conditional> |
0 | 113 </when> |
18
85b8351ded6c
planemo upload commit a57205d251bdebafdee164225fd03ac4d821e49c-dirty
lecorguille
parents:
16
diff
changeset
|
114 <when value="TRUE"> |
0 | 115 <param name="polarity" type="hidden" value="quick" label="for the output label" help="for the output label" /> |
116 </when> | |
117 </conditional> | |
18
85b8351ded6c
planemo upload commit a57205d251bdebafdee164225fd03ac4d821e49c-dirty
lecorguille
parents:
16
diff
changeset
|
118 |
0 | 119 <!-- Annotatediffreport specific parameters --> |
120 <conditional name="options"> | |
121 <param name="option" type="select" label="Number of condition"> | |
122 <option value="hide" selected="true">One condition</option> | |
123 <option value="show">Two or more conditions</option> | |
124 </param> | |
125 <when value="show"> | |
126 <param name="eicmax" type="integer" value="0" label="diffreport: number of the most significantly different analytes to create EICs for" help="[eicmax]" /> | |
127 <param name="eicwidth" type="integer" value="200" label="diffreport: width (in seconds) of EICs produced" help="[eicwidth]" /> | |
128 <param name="value" type="select" label="diffreport: Intensity values to be used for the diffreport" help="[value]"> | |
129 <option value="into" selected="true">into</option> | |
130 <option value="maxo" >maxo</option> | |
131 <option value="intb">intb</option> | |
132 </param> | |
133 <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]" /> | |
134 <param name="w" type="integer" value="640" label="diffreport: Numeric variable for the width of the eic and boxplots print out made" help="[width]" /> | |
135 <param name="mzdec" type="integer" value="2" label="diffreport: Number of decimal places of title m/z values in the eic plot" help="[mzdec]" /> | |
136 <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]"/> | |
137 </when> | |
138 <when value="hide"> | |
139 </when> | |
140 </conditional> | |
16
af2d29943e97
planemo upload commit 62670148178273a855c42e85438ce731548ada48-dirty
lecorguille
parents:
14
diff
changeset
|
141 |
af2d29943e97
planemo upload commit 62670148178273a855c42e85438ce731548ada48-dirty
lecorguille
parents:
14
diff
changeset
|
142 <expand macro="zipfile_load"/> |
0 | 143 </inputs> |
144 | |
145 <outputs> | |
1 | 146 <data name="variableMetadata" format="tabular" label="${image.name[:-6]}.annotate.variableMetadata.tsv" /> |
0 | 147 <data name="datamatrix" format="tabular" label="${image.name[:-6]}.annotate.dataMatrix.tsv" /> |
148 <data name="rdata" format="rdata.camera.quick" label="${image.name[:-6]}.annotate.${$quick_block.polarity}.Rdata" > | |
149 <change_format> | |
150 <when input="quick_block.polarity" value="positive" format="rdata.camera.positive" /> | |
151 <when input="quick_block.polarity" value="negative" format="rdata.camera.negative" /> | |
152 </change_format> | |
1 | 153 </data> |
11
d33e0ed5f32a
planemo upload commit d8cc436fd91f5748dc396d0527a0a303d3221835-dirty
lecorguille
parents:
9
diff
changeset
|
154 <data name="output_diffreport" format="text" label="${image.name[:-6]}.annotateDiffreport" hidden="True"> |
d33e0ed5f32a
planemo upload commit d8cc436fd91f5748dc396d0527a0a303d3221835-dirty
lecorguille
parents:
9
diff
changeset
|
155 <filter>(options['option'] == 'show')</filter> |
d33e0ed5f32a
planemo upload commit d8cc436fd91f5748dc396d0527a0a303d3221835-dirty
lecorguille
parents:
9
diff
changeset
|
156 </data> |
0 | 157 </outputs> |
158 | |
159 <tests> | |
14
e98ca7f0dcbd
planemo upload commit 2761472c8afc41d54cecd54cabd1c5a5713514a3-dirty
lecorguille
parents:
11
diff
changeset
|
160 <!--<test> |
0 | 161 <param name="image" value="xset.group.retcor.group.fillPeaks.RData"/> |
162 <param name="convert_param" value="False"/> | |
163 <param name="num_digits" value="0"/> | |
164 <param name="sigma" value="6"/> | |
165 <param name="perfwhm" value="0.6"/> | |
166 <param name="maxcharge" value="3"/> | |
167 <param name="maxiso" value="4"/> | |
168 <param name="minfrac" value="0.5"/> | |
169 <param name="ppm" value="5"/> | |
170 <param name="mzabs" value="0.015"/> | |
171 <param name="intval" value="into"/> | |
172 <param name="max_peaks" value="100"/> | |
9
c02d80efba80
planemo upload commit d8cc436fd91f5748dc396d0527a0a303d3221835
lecorguille
parents:
6
diff
changeset
|
173 <param name="quick_block|quick" value="FALSE"/> |
c02d80efba80
planemo upload commit d8cc436fd91f5748dc396d0527a0a303d3221835
lecorguille
parents:
6
diff
changeset
|
174 <param name="quick_block|polarity" value="negative"/> |
c02d80efba80
planemo upload commit d8cc436fd91f5748dc396d0527a0a303d3221835
lecorguille
parents:
6
diff
changeset
|
175 <param name="quick_block|cor_eic_th" value="0.75"/> |
c02d80efba80
planemo upload commit d8cc436fd91f5748dc396d0527a0a303d3221835
lecorguille
parents:
6
diff
changeset
|
176 <param name="quick_block|graphMethod" value="hcs"/> |
c02d80efba80
planemo upload commit d8cc436fd91f5748dc396d0527a0a303d3221835
lecorguille
parents:
6
diff
changeset
|
177 <param name="quick_block|pval" value="0.05"/> |
c02d80efba80
planemo upload commit d8cc436fd91f5748dc396d0527a0a303d3221835
lecorguille
parents:
6
diff
changeset
|
178 <param name="quick_block|calcCiS" value="True"/> |
c02d80efba80
planemo upload commit d8cc436fd91f5748dc396d0527a0a303d3221835
lecorguille
parents:
6
diff
changeset
|
179 <param name="quick_block|calcIso" value="False"/> |
c02d80efba80
planemo upload commit d8cc436fd91f5748dc396d0527a0a303d3221835
lecorguille
parents:
6
diff
changeset
|
180 <param name="quick_block|calcCaS" value="False"/> |
c02d80efba80
planemo upload commit d8cc436fd91f5748dc396d0527a0a303d3221835
lecorguille
parents:
6
diff
changeset
|
181 <param name="quick_block|multiplier" value="3"/> |
c02d80efba80
planemo upload commit d8cc436fd91f5748dc396d0527a0a303d3221835
lecorguille
parents:
6
diff
changeset
|
182 <param name="options|option" value="show"/> |
c02d80efba80
planemo upload commit d8cc436fd91f5748dc396d0527a0a303d3221835
lecorguille
parents:
6
diff
changeset
|
183 <param name="options|eicmax" value="200"/> |
c02d80efba80
planemo upload commit d8cc436fd91f5748dc396d0527a0a303d3221835
lecorguille
parents:
6
diff
changeset
|
184 <param name="options|eicwidth" value="200"/> |
c02d80efba80
planemo upload commit d8cc436fd91f5748dc396d0527a0a303d3221835
lecorguille
parents:
6
diff
changeset
|
185 <param name="options|value" value="into"/> |
c02d80efba80
planemo upload commit d8cc436fd91f5748dc396d0527a0a303d3221835
lecorguille
parents:
6
diff
changeset
|
186 <param name="options|h" value="480"/> |
c02d80efba80
planemo upload commit d8cc436fd91f5748dc396d0527a0a303d3221835
lecorguille
parents:
6
diff
changeset
|
187 <param name="options|w" value="640"/> |
c02d80efba80
planemo upload commit d8cc436fd91f5748dc396d0527a0a303d3221835
lecorguille
parents:
6
diff
changeset
|
188 <param name="options|mzdec" value="2"/> |
c02d80efba80
planemo upload commit d8cc436fd91f5748dc396d0527a0a303d3221835
lecorguille
parents:
6
diff
changeset
|
189 <param name="options|sortpval" value="False"/> |
11
d33e0ed5f32a
planemo upload commit d8cc436fd91f5748dc396d0527a0a303d3221835-dirty
lecorguille
parents:
9
diff
changeset
|
190 <param name="zip_file" value="sacuri_dir_root.zip" ftype="zip" /> |
0 | 191 <output name="variableMetadata" file="xset.group.retcor.group.fillPeaks.annotate.variableMetadata.tsv" /> |
192 <output name="datamatrix" file="xset.group.retcor.group.fillPeaks.annotate.dataMatrix.tsv" /> | |
14
e98ca7f0dcbd
planemo upload commit 2761472c8afc41d54cecd54cabd1c5a5713514a3-dirty
lecorguille
parents:
11
diff
changeset
|
193 </test>--> |
e98ca7f0dcbd
planemo upload commit 2761472c8afc41d54cecd54cabd1c5a5713514a3-dirty
lecorguille
parents:
11
diff
changeset
|
194 <test> |
e98ca7f0dcbd
planemo upload commit 2761472c8afc41d54cecd54cabd1c5a5713514a3-dirty
lecorguille
parents:
11
diff
changeset
|
195 <param name="image" value="faahKO.xset.group.retcor.group.fillpeaks.RData"/> |
e98ca7f0dcbd
planemo upload commit 2761472c8afc41d54cecd54cabd1c5a5713514a3-dirty
lecorguille
parents:
11
diff
changeset
|
196 <param name="convert_param" value="False"/> |
e98ca7f0dcbd
planemo upload commit 2761472c8afc41d54cecd54cabd1c5a5713514a3-dirty
lecorguille
parents:
11
diff
changeset
|
197 <param name="num_digits" value="0"/> |
e98ca7f0dcbd
planemo upload commit 2761472c8afc41d54cecd54cabd1c5a5713514a3-dirty
lecorguille
parents:
11
diff
changeset
|
198 <param name="sigma" value="6"/> |
e98ca7f0dcbd
planemo upload commit 2761472c8afc41d54cecd54cabd1c5a5713514a3-dirty
lecorguille
parents:
11
diff
changeset
|
199 <param name="perfwhm" value="0.6"/> |
e98ca7f0dcbd
planemo upload commit 2761472c8afc41d54cecd54cabd1c5a5713514a3-dirty
lecorguille
parents:
11
diff
changeset
|
200 <param name="maxcharge" value="3"/> |
e98ca7f0dcbd
planemo upload commit 2761472c8afc41d54cecd54cabd1c5a5713514a3-dirty
lecorguille
parents:
11
diff
changeset
|
201 <param name="maxiso" value="4"/> |
e98ca7f0dcbd
planemo upload commit 2761472c8afc41d54cecd54cabd1c5a5713514a3-dirty
lecorguille
parents:
11
diff
changeset
|
202 <param name="minfrac" value="0.5"/> |
e98ca7f0dcbd
planemo upload commit 2761472c8afc41d54cecd54cabd1c5a5713514a3-dirty
lecorguille
parents:
11
diff
changeset
|
203 <param name="ppm" value="5"/> |
e98ca7f0dcbd
planemo upload commit 2761472c8afc41d54cecd54cabd1c5a5713514a3-dirty
lecorguille
parents:
11
diff
changeset
|
204 <param name="mzabs" value="0.015"/> |
e98ca7f0dcbd
planemo upload commit 2761472c8afc41d54cecd54cabd1c5a5713514a3-dirty
lecorguille
parents:
11
diff
changeset
|
205 <param name="intval" value="into"/> |
e98ca7f0dcbd
planemo upload commit 2761472c8afc41d54cecd54cabd1c5a5713514a3-dirty
lecorguille
parents:
11
diff
changeset
|
206 <param name="max_peaks" value="100"/> |
e98ca7f0dcbd
planemo upload commit 2761472c8afc41d54cecd54cabd1c5a5713514a3-dirty
lecorguille
parents:
11
diff
changeset
|
207 <param name="quick_block|quick" value="FALSE"/> |
e98ca7f0dcbd
planemo upload commit 2761472c8afc41d54cecd54cabd1c5a5713514a3-dirty
lecorguille
parents:
11
diff
changeset
|
208 <param name="quick_block|polarity" value="negative"/> |
e98ca7f0dcbd
planemo upload commit 2761472c8afc41d54cecd54cabd1c5a5713514a3-dirty
lecorguille
parents:
11
diff
changeset
|
209 <param name="quick_block|cor_eic_th" value="0.75"/> |
e98ca7f0dcbd
planemo upload commit 2761472c8afc41d54cecd54cabd1c5a5713514a3-dirty
lecorguille
parents:
11
diff
changeset
|
210 <param name="quick_block|graphMethod" value="hcs"/> |
e98ca7f0dcbd
planemo upload commit 2761472c8afc41d54cecd54cabd1c5a5713514a3-dirty
lecorguille
parents:
11
diff
changeset
|
211 <param name="quick_block|pval" value="0.05"/> |
e98ca7f0dcbd
planemo upload commit 2761472c8afc41d54cecd54cabd1c5a5713514a3-dirty
lecorguille
parents:
11
diff
changeset
|
212 <param name="quick_block|calcCiS" value="True"/> |
e98ca7f0dcbd
planemo upload commit 2761472c8afc41d54cecd54cabd1c5a5713514a3-dirty
lecorguille
parents:
11
diff
changeset
|
213 <param name="quick_block|calcIso" value="False"/> |
e98ca7f0dcbd
planemo upload commit 2761472c8afc41d54cecd54cabd1c5a5713514a3-dirty
lecorguille
parents:
11
diff
changeset
|
214 <param name="quick_block|calcCaS" value="False"/> |
e98ca7f0dcbd
planemo upload commit 2761472c8afc41d54cecd54cabd1c5a5713514a3-dirty
lecorguille
parents:
11
diff
changeset
|
215 <param name="quick_block|multiplier" value="3"/> |
e98ca7f0dcbd
planemo upload commit 2761472c8afc41d54cecd54cabd1c5a5713514a3-dirty
lecorguille
parents:
11
diff
changeset
|
216 <param name="options|option" value="show"/> |
e98ca7f0dcbd
planemo upload commit 2761472c8afc41d54cecd54cabd1c5a5713514a3-dirty
lecorguille
parents:
11
diff
changeset
|
217 <param name="options|eicmax" value="200"/> |
e98ca7f0dcbd
planemo upload commit 2761472c8afc41d54cecd54cabd1c5a5713514a3-dirty
lecorguille
parents:
11
diff
changeset
|
218 <param name="options|eicwidth" value="200"/> |
e98ca7f0dcbd
planemo upload commit 2761472c8afc41d54cecd54cabd1c5a5713514a3-dirty
lecorguille
parents:
11
diff
changeset
|
219 <param name="options|value" value="into"/> |
e98ca7f0dcbd
planemo upload commit 2761472c8afc41d54cecd54cabd1c5a5713514a3-dirty
lecorguille
parents:
11
diff
changeset
|
220 <param name="options|h" value="480"/> |
e98ca7f0dcbd
planemo upload commit 2761472c8afc41d54cecd54cabd1c5a5713514a3-dirty
lecorguille
parents:
11
diff
changeset
|
221 <param name="options|w" value="640"/> |
e98ca7f0dcbd
planemo upload commit 2761472c8afc41d54cecd54cabd1c5a5713514a3-dirty
lecorguille
parents:
11
diff
changeset
|
222 <param name="options|mzdec" value="2"/> |
e98ca7f0dcbd
planemo upload commit 2761472c8afc41d54cecd54cabd1c5a5713514a3-dirty
lecorguille
parents:
11
diff
changeset
|
223 <param name="options|sortpval" value="False"/> |
16
af2d29943e97
planemo upload commit 62670148178273a855c42e85438ce731548ada48-dirty
lecorguille
parents:
14
diff
changeset
|
224 <param name="zipfile_load_conditional|zipfile_load_select" value="yes" /> |
af2d29943e97
planemo upload commit 62670148178273a855c42e85438ce731548ada48-dirty
lecorguille
parents:
14
diff
changeset
|
225 <param name="zipfile_load_conditional|zip_file" value="faahKO_reduce.zip" ftype="zip" /> |
14
e98ca7f0dcbd
planemo upload commit 2761472c8afc41d54cecd54cabd1c5a5713514a3-dirty
lecorguille
parents:
11
diff
changeset
|
226 <output name="variableMetadata" file="faahKO.xset.group.retcor.group.fillPeaks.annotate.variableMetadata.tsv" /> |
e98ca7f0dcbd
planemo upload commit 2761472c8afc41d54cecd54cabd1c5a5713514a3-dirty
lecorguille
parents:
11
diff
changeset
|
227 <output name="datamatrix" file="faahKO.xset.group.retcor.group.fillPeaks.annotate.dataMatrix.tsv" /> |
0 | 228 </test> |
229 </tests> | |
230 | |
231 | |
232 | |
1 | 233 <help><![CDATA[ |
0 | 234 |
9
c02d80efba80
planemo upload commit d8cc436fd91f5748dc396d0527a0a303d3221835
lecorguille
parents:
6
diff
changeset
|
235 @HELP_AUTHORS@ |
0 | 236 |
237 ================ | |
238 CAMERA.annotate | |
239 ================ | |
240 | |
241 ----------- | |
242 Description | |
243 ----------- | |
244 | |
245 The R-package CAMERA is a Collection of Algorithms for MEtabolite | |
246 pRofile Annotation. Its primary purpose is the annotation and evaluation of | |
247 LC-MS data. It includes algorithms for annotation of isotope peaks, adducts | |
248 and fragments in peak lists. Additional methods cluster mass signals that | |
249 originate from a single metabolite, based on rules for mass differences and | |
250 peak shape comparison. To use the strength of already existing programs, | |
251 CAMERA is designed to interact directly with processed peak data from the | |
252 R-package **xcms**. | |
253 | |
254 **What it does?** | |
255 | |
256 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). | |
257 | |
258 If you have two or more conditions, it will return a diffreport result within the annotation results. | |
259 The diffreport result shows the most significant differences between two sets of samples. Optionally | |
260 create extracted ion chromatograms for the most significant differences. | |
261 | |
262 | |
263 ----------------- | |
264 Workflow position | |
265 ----------------- | |
266 | |
267 | |
268 **Upstream tools** | |
269 | |
270 ========================= ==================== ====================== ========== | |
271 Name output file format parameter | |
272 ========================= ==================== ====================== ========== | |
273 xcms.fillPeaks xset.fillPeaks.RData rdata.xcms.fillpeaks RData file | |
274 ========================= ==================== ====================== ========== | |
275 | |
276 | |
277 **Downstream tools** | |
278 | |
279 +---------------------------+---------------------------------------+------------------------------------------------+ | |
280 | Name | Output file | Format | | |
281 +===========================+=======================================+================================================+ | |
282 |CAMERA_combinexsAnnot |xset.annotate.dataMatrix.tsv | rdata.camera.positive or rdata.camera.negative | | |
283 +---------------------------+---------------------------------------+------------------------------------------------+ | |
284 |Determine Vdk or Lowess |xset.annotate.dataMatrix.tsv | Tabular | | |
285 +---------------------------+---------------------------------------+------------------------------------------------+ | |
286 |Normalization Vdk/Lowess |xset.annotate.dataMatrix.tsv | Tabular | | |
287 +---------------------------+---------------------------------------+------------------------------------------------+ | |
288 |Anova |xset.annotate.dataMatrix.tsv | Tabular | | |
289 +---------------------------+---------------------------------------+------------------------------------------------+ | |
290 |PCA |xset.annotate.dataMatrix.tsv | Tabular | | |
291 +---------------------------+---------------------------------------+------------------------------------------------+ | |
292 |Hierarchical Clustering |xset.annotate.dataMatrix.tsv | Tabular | | |
293 +---------------------------+---------------------------------------+------------------------------------------------+ | |
294 | |
295 | |
296 The output file **xset.annotate.dataMatrix.tsv** is an tabular file. You can continue your analysis using it in the following tools: | |
297 | |
298 | Determine Vdk or Lowess | |
299 | Normalization Vdk/Lowess | |
300 | Anova | |
301 | PCA | |
302 | Hierarchical Clustering | |
303 | |
304 | |
305 **General schema of the metabolomic workflow** | |
306 | |
307 .. image:: annotate_workflow.png | |
308 | |
309 ----------- | |
310 Input files | |
311 ----------- | |
312 | |
313 +---------------------------+---------------------------+ | |
314 | Parameter : num + label | Format | | |
315 +===========================+===========================+ | |
316 | 1 : RData file | rdata.xcms.fillpeaks | | |
317 +---------------------------+---------------------------+ | |
318 | |
319 | |
320 ---------- | |
321 Parameters | |
322 ---------- | |
323 | |
324 diffreport: Intensity values to be used for the diffreport | |
325 ---------------------------------------------------------- | |
326 | |
327 | If **value="into"**, integrated peak intensities are used. | |
328 | If **value="maxo"**, maximum peak intensities are used. | |
329 | If **value="intb"**, baseline corrected integrated peak intensities are used (only available if peak detection was done by ‘findPeaks.centWave’). | |
330 | |
331 | |
332 | |
333 ------------ | |
334 Output files | |
335 ------------ | |
336 | |
337 xset.annotate.variableMetadata.tsv | |
338 | |
339 | For each metabolite (row) : | |
340 | the value of the intensity in each sample, fold, anova, mzmed, mzmin, mzmax, rtmed, rtmin, rtmax, npeaks, isotopes, adduct and pcgroup | |
341 | |
342 xset.annotate.dataMatrix.tsv | |
343 | |
344 | A tabular file which represents for each metabolite (row), the value of the intensity in each sample (column). | |
345 | |
346 xset.annotate.zip | |
347 | |
348 | It contains filebase_eic, filebase_box and filebase.tsv for one conditon vs another (Anova analysis). | |
349 | |
350 xset.annotate.Rdata rdata.camera.quick or rdata.camera.positive or rdata.camera.negative | |
351 | |
352 | Rdata file, that be used outside Galaxy in R. | |
353 | |
354 ------ | |
355 | |
356 .. class:: infomark | |
357 | |
358 The output **"xset.annotate.dataMatrix.tsv"** is a tabular file. You can continue your analysis using it in the following tools of the workflow: | |
359 | |
360 | Determine Vdk or Lowess (Data correction) | |
361 | Normalization Vdk/Lowess (Data correction) | |
362 | Anova (Statistical analysis) | |
363 | PCA (Statistical analysis) | |
364 | Hierarchical Clustering (Statistical analysis) | |
365 | |
366 | |
367 --------------------------------------------------- | |
368 | |
369 --------------- | |
370 Working example | |
371 --------------- | |
372 | |
373 Input files | |
374 ----------- | |
375 | |
376 | RData file -> **xset.fillPeaks.RData** | |
377 | |
378 Parameters | |
379 ---------- | |
380 | |
381 | sortpval -> **false** | |
382 | sigma -> **6 (default)** | |
383 | perfwhm -> **0.6 (default)** | |
384 | maxcharge -> **3 (default)** | |
385 | maxiso -> **4 (default)** | |
386 | minfrac -> **0.5 (default)** | |
387 | ppm -> **500** | |
388 | mzabs -> **0.015(default)** | |
389 | Advanced options -> **hide** | |
390 | Numver of condition -> Two or more conditioons | |
391 | eicmax -> **200** | |
392 | eicwidth -> **200 (default)** | |
393 | |
394 | |
395 | |
396 Output files | |
397 ------------ | |
398 | |
399 **Example of an xset.annotate.dataMatrix.tsv output** | |
400 | |
401 .. image:: annotatediffreport_dataMatrix.png | |
402 | |
403 **Example of a part of xset.annotate.variableMetadata.tsv output** | |
404 | |
405 .. image:: annotatediffreport_variableMetadata.png | |
406 | |
6 | 407 |
408 --------------------------------------------------- | |
409 | |
410 Changelog/News | |
411 -------------- | |
412 | |
18
85b8351ded6c
planemo upload commit a57205d251bdebafdee164225fd03ac4d821e49c-dirty
lecorguille
parents:
16
diff
changeset
|
413 **Version 2.1.6 - 06/07/2016** |
85b8351ded6c
planemo upload commit a57205d251bdebafdee164225fd03ac4d821e49c-dirty
lecorguille
parents:
16
diff
changeset
|
414 |
85b8351ded6c
planemo upload commit a57205d251bdebafdee164225fd03ac4d821e49c-dirty
lecorguille
parents:
16
diff
changeset
|
415 - IMPROVEMENT: add the possibility to use defined ruleset |
85b8351ded6c
planemo upload commit a57205d251bdebafdee164225fd03ac4d821e49c-dirty
lecorguille
parents:
16
diff
changeset
|
416 |
14
e98ca7f0dcbd
planemo upload commit 2761472c8afc41d54cecd54cabd1c5a5713514a3-dirty
lecorguille
parents:
11
diff
changeset
|
417 **Version 2.1.5 - 21/04/2016** |
e98ca7f0dcbd
planemo upload commit 2761472c8afc41d54cecd54cabd1c5a5713514a3-dirty
lecorguille
parents:
11
diff
changeset
|
418 |
e98ca7f0dcbd
planemo upload commit 2761472c8afc41d54cecd54cabd1c5a5713514a3-dirty
lecorguille
parents:
11
diff
changeset
|
419 - UPGRADE: upgrate the CAMERA version from 1.22.0 to 1.26.0 |
e98ca7f0dcbd
planemo upload commit 2761472c8afc41d54cecd54cabd1c5a5713514a3-dirty
lecorguille
parents:
11
diff
changeset
|
420 |
e98ca7f0dcbd
planemo upload commit 2761472c8afc41d54cecd54cabd1c5a5713514a3-dirty
lecorguille
parents:
11
diff
changeset
|
421 |
e98ca7f0dcbd
planemo upload commit 2761472c8afc41d54cecd54cabd1c5a5713514a3-dirty
lecorguille
parents:
11
diff
changeset
|
422 **Version 2.1.4 - 18/04/2016** |
e98ca7f0dcbd
planemo upload commit 2761472c8afc41d54cecd54cabd1c5a5713514a3-dirty
lecorguille
parents:
11
diff
changeset
|
423 |
e98ca7f0dcbd
planemo upload commit 2761472c8afc41d54cecd54cabd1c5a5713514a3-dirty
lecorguille
parents:
11
diff
changeset
|
424 - TEST: refactoring to pass planemo test using conda dependencies |
e98ca7f0dcbd
planemo upload commit 2761472c8afc41d54cecd54cabd1c5a5713514a3-dirty
lecorguille
parents:
11
diff
changeset
|
425 |
e98ca7f0dcbd
planemo upload commit 2761472c8afc41d54cecd54cabd1c5a5713514a3-dirty
lecorguille
parents:
11
diff
changeset
|
426 |
e98ca7f0dcbd
planemo upload commit 2761472c8afc41d54cecd54cabd1c5a5713514a3-dirty
lecorguille
parents:
11
diff
changeset
|
427 **Version 2.1.3 - 10/02/2016** |
6 | 428 |
429 - BUGFIX: better management of errors. Datasets remained green although the process failed | |
430 | |
431 - BUGFIX: the conversion into minutes of the retention time was applied to the diffreport outputs (several conditions) | |
432 | |
433 - IMPROVEMENT: when there are several conditions, the tool will generate individual datasets (tsv, pdf) instead of a zip file. The usual png (eic, boxplot) will from now be integrated in two pdf. | |
434 | |
435 - UPDATE: refactoring of internal management of inputs/outputs | |
436 | |
437 | |
438 VERSION 2.1.0 - 09/10/2015** | |
439 | |
440 - BUGFIX: There was a bug with the CAMERA.annotate (generating a bad dataMatrix (intensities which don't match with the metabolites)) | |
441 | |
442 | |
443 VERSION 2.1.0 - 07/06/2015** | |
444 | |
445 - 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. | |
446 | |
447 - IMPROVEMENT: parameter labels have changed to facilitate their reading. | |
448 | |
449 - UPDATE: merged with annotateDiffreport. Some parameters are dedicated to experiences with several conditions | |
450 | |
451 | |
1 | 452 ]]></help> |
0 | 453 |
9
c02d80efba80
planemo upload commit d8cc436fd91f5748dc396d0527a0a303d3221835
lecorguille
parents:
6
diff
changeset
|
454 <expand macro="citation" /> |
0 | 455 |
456 | |
457 </tool> | |
458 | |
459 |