Mercurial > repos > lecorguille > camera_annotate
comparison abims_CAMERA_annotateDiffreport.xml @ 1:a887bff50e45 draft
Uploaded
author | lecorguille |
---|---|
date | Tue, 19 Jan 2016 08:32:29 -0500 |
parents | b495191430d5 |
children | 3cc51ada0ffa |
comparison
equal
deleted
inserted
replaced
0:b495191430d5 | 1:a887bff50e45 |
---|---|
1 <tool id="abims_CAMERA_annotateDiffreport" name="CAMERA.annotate" version="2.0.1"> | 1 <tool id="abims_CAMERA_annotateDiffreport" name="CAMERA.annotate" version="2.1.2"> |
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 <requirements> | 5 <requirements> |
6 <requirement type="package" version="3.1.2">R</requirement> | 6 <requirement type="package" version="3.1.2">R</requirement> |
12 | 12 |
13 <stdio> | 13 <stdio> |
14 <exit_code range="1:" level="fatal" /> | 14 <exit_code range="1:" level="fatal" /> |
15 </stdio> | 15 </stdio> |
16 | 16 |
17 <command> | 17 <command><![CDATA[ |
18 CAMERA.r | 18 CAMERA.r |
19 xfunction annotatediff image $image | 19 xfunction annotatediff |
20 convert_param $convert_param num_digits $num_digits nSlaves \${GALAXY_SLOTS:-1} | 20 image $image |
21 | |
22 variableMetadataOutput $variableMetadata | |
23 dataMatrixOutput $datamatrix | |
24 xsetRdataOutput $rdata | |
25 | |
26 convert_param $convert_param num_digits $num_digits | |
27 nSlaves \${GALAXY_SLOTS:-1} | |
21 sigma $sigma perfwhm $perfwhm | 28 sigma $sigma perfwhm $perfwhm |
22 maxcharge $maxcharge maxiso $maxiso minfrac $minfrac | 29 maxcharge $maxcharge maxiso $maxiso minfrac $minfrac |
23 ppm $ppm mzabs $mzabs intval $intval | 30 ppm $ppm mzabs $mzabs intval $intval |
24 max_peaks $max_peaks | 31 max_peaks $max_peaks |
25 quick $quick_block.quick | 32 quick $quick_block.quick |
40 value $options.value | 47 value $options.value |
41 sortpval $options.sortpval | 48 sortpval $options.sortpval |
42 h $options.h | 49 h $options.h |
43 w $options.w | 50 w $options.w |
44 mzdec $options.mzdec | 51 mzdec $options.mzdec |
52 new_file_path ${__new_file_path__}/primary_${output_diffreport.id}_ | |
45 #else | 53 #else |
46 eicmax 0 | 54 eicmax 0 |
47 eicwidth 200 | 55 eicwidth 200 |
48 value "into" | 56 value "into" |
49 sortpval TRUE | 57 sortpval TRUE |
50 h 480 | 58 h 480 |
51 w 640 | 59 w 640 |
52 mzdec 2 | 60 mzdec 2 |
61 new_file_path ${__new_file_path__}/primary_${output_diffreport.id}_ | |
53 #end if | 62 #end if |
54 && ( | |
55 mv variableMetadata.tsv $variableMetadata; | |
56 mv dataMatrix.tsv $datamatrix; | |
57 mv annotatediff.RData $rdata | |
58 ); | |
59 cat xset.log | |
60 | 63 |
61 | 64 |
62 </command> | 65 ]]></command> |
63 | 66 |
64 <inputs> | 67 <inputs> |
65 | 68 |
66 | 69 |
67 <param name="image" type="data" label="RData file" format="rdata.xcms.fillpeaks,rdata" help="output file from another function xcms (fillPeaks)" /> | 70 <param name="image" type="data" label="RData file" format="rdata.xcms.fillpeaks,rdata" help="output file from another function xcms (fillPeaks)" /> |
68 | 71 |
69 <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"/> | 72 <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"/> |
70 <param name="num_digits" type="integer" value="0" label="" help="Number of decimal places for mass values reported in ions identifiers" /> | 73 <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" /> |
71 | 74 |
72 <param name="sigma" type="integer" value="6" label="groupFWHM: multiplier of the standard deviation" help="[sigma]" /> | 75 <param name="sigma" type="integer" value="6" label="groupFWHM: multiplier of the standard deviation" help="[sigma]" /> |
73 <param name="perfwhm" type="float" value="0.6" max="1" min="0" label="groupFWHM: percentage of FWHM width" help="[perfwhm]" /> | 76 <param name="perfwhm" type="float" value="0.6" max="1" min="0" label="groupFWHM: percentage of FWHM width" help="[perfwhm]" /> |
74 <param name="maxcharge" type="integer" value="3" label="findIsotopes: max. ion charge" help="[maxcharge]" /> | 77 <param name="maxcharge" type="integer" value="3" label="findIsotopes: max. ion charge" help="[maxcharge]" /> |
75 <param name="maxiso" type="integer" value="4" label="findIsotopes: max. number of expected isotopes" help="[maxiso]" /> | 78 <param name="maxiso" type="integer" value="4" label="findIsotopes: max. number of expected isotopes" help="[maxiso]" /> |
135 </conditional> | 138 </conditional> |
136 | 139 |
137 </inputs> | 140 </inputs> |
138 | 141 |
139 <outputs> | 142 <outputs> |
140 <data name="variableMetadata" format="tabular" label="${image.name[:-6]}.annotate.variableMetadata.tsv" > | 143 <data name="variableMetadata" format="tabular" label="${image.name[:-6]}.annotate.variableMetadata.tsv" /> |
141 <discover_datasets pattern="__designation_and_ext__" directory="zip" visible="true" /> | |
142 </data> | |
143 <data name="datamatrix" format="tabular" label="${image.name[:-6]}.annotate.dataMatrix.tsv" /> | 144 <data name="datamatrix" format="tabular" label="${image.name[:-6]}.annotate.dataMatrix.tsv" /> |
144 <data name="rdata" format="rdata.camera.quick" label="${image.name[:-6]}.annotate.${$quick_block.polarity}.Rdata" > | 145 <data name="rdata" format="rdata.camera.quick" label="${image.name[:-6]}.annotate.${$quick_block.polarity}.Rdata" > |
145 <change_format> | 146 <change_format> |
146 <when input="quick_block.polarity" value="positive" format="rdata.camera.positive" /> | 147 <when input="quick_block.polarity" value="positive" format="rdata.camera.positive" /> |
147 <when input="quick_block.polarity" value="negative" format="rdata.camera.negative" /> | 148 <when input="quick_block.polarity" value="negative" format="rdata.camera.negative" /> |
148 </change_format> | 149 </change_format> |
149 </data> | 150 </data> |
151 <data name="output_diffreport" format="text" label="${image.name[:-6]}.annotateDiffreport" hidden="True"> | |
152 <filter>(options['option'] == 'show')</filter> | |
153 </data> | |
150 </outputs> | 154 </outputs> |
151 | 155 |
152 <tests> | 156 <tests> |
153 <test> | 157 <test> |
154 <param name="image" value="xset.group.retcor.group.fillPeaks.RData"/> | 158 <param name="image" value="xset.group.retcor.group.fillPeaks.RData"/> |
186 </test> | 190 </test> |
187 </tests> | 191 </tests> |
188 | 192 |
189 | 193 |
190 | 194 |
191 <help> | 195 <help><![CDATA[ |
192 | 196 |
193 .. class:: infomark | 197 .. class:: infomark |
194 | 198 |
195 **Authors** Carsten Kuhl ckuhl@ipb-halle.de, Ralf Tautenhahn rtautenh@scripps.edu, Steffen Neumann sneumann@@ipb-halle.de | 199 **Authors** Carsten Kuhl ckuhl@ipb-halle.de, Ralf Tautenhahn rtautenh@scripps.edu, Steffen Neumann sneumann@@ipb-halle.de |
196 | 200 |
371 | 375 |
372 **Example of a part of xset.annotate.variableMetadata.tsv output** | 376 **Example of a part of xset.annotate.variableMetadata.tsv output** |
373 | 377 |
374 .. image:: annotatediffreport_variableMetadata.png | 378 .. image:: annotatediffreport_variableMetadata.png |
375 | 379 |
376 </help> | 380 ]]></help> |
377 | 381 |
378 <citations> | 382 <citations> |
379 <citation type="doi">10.1021/ac202450g</citation> | 383 <citation type="doi">10.1021/ac202450g</citation> |
380 <citation type="doi">10.1093/bioinformatics/btu813</citation> | 384 <citation type="doi">10.1093/bioinformatics/btu813</citation> |
381 </citations> | 385 </citations> |