Mercurial > repos > iuc > imagej2_convert_format
comparison imagej2_convert_format.xml @ 0:312e8ce708b1 draft
planemo upload commit 4bf97847c35c4dcf9638008b9b4b6c4e10015f19
| author | iuc |
|---|---|
| date | Tue, 09 Jun 2015 12:21:40 -0400 |
| parents | |
| children | 14d09b0ab9e1 |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:312e8ce708b1 |
|---|---|
| 1 <?xml version='1.0' encoding='UTF-8'?> | |
| 2 <tool id="imagej2_convert_format" name="Convert image format" version="1.0.0"> | |
| 3 <description>with bioformats</description> | |
| 4 <macros> | |
| 5 <import>imagej2_macros.xml</import> | |
| 6 </macros> | |
| 7 <expand macro="python_bioformats_requirements" /> | |
| 8 <command interpreter="python"> | |
| 9 <![CDATA[ | |
| 10 imagej2_convert_format.py | |
| 11 --in_fname "$input" | |
| 12 --input_datatype $input.ext | |
| 13 --max_heap_size_type $set_max_heap_size.max_heap_size_type | |
| 14 --max_heap_size $set_max_heap_size.max_heap_size | |
| 15 --output_datatype $output_datatype | |
| 16 --out_fname "$output" | |
| 17 ]]> | |
| 18 </command> | |
| 19 <inputs> | |
| 20 <expand macro="max_heap_size_type_conditional" /> | |
| 21 <param format="bmp,eps,gif,html,jpg,pcx,pgm,png,psd,tiff" name="input" type="data" label="Select image"/> | |
| 22 <param name="output_datatype" type="select" label="Convert to format"> | |
| 23 <option value="jpg" selected="true">jpg</option> | |
| 24 <option value="png">png</option> | |
| 25 <option value="tiff">tiff</option> | |
| 26 </param> | |
| 27 </inputs> | |
| 28 <outputs> | |
| 29 <data name="output" format="jpg"> | |
| 30 <actions> | |
| 31 <action type="format"> | |
| 32 <option type="from_param" name="output_datatype" /> | |
| 33 </action> | |
| 34 </actions> | |
| 35 </data> | |
| 36 </outputs> | |
| 37 <tests> | |
| 38 <test> | |
| 39 <param name="input" value="dot_blot.jpg" ftype="jpg" /> | |
| 40 <param name="max_heap_size_type" value="megabytes" /> | |
| 41 <param name="max_heap_size" value="256" /> | |
| 42 <param name="input_datatype" value="jpg" /> | |
| 43 <param name="output_datatype" value="png" /> | |
| 44 <output name="output" file="dot_blot.png" ftype="png" /> | |
| 45 </test> | |
| 46 <test> | |
| 47 <param name="input" value="dot_blot.png" ftype="png" /> | |
| 48 <param name="input_datatype" value="png" /> | |
| 49 <param name="output_datatype" value="tiff" /> | |
| 50 <output name="output" file="dot_blot.tiff" ftype="tiff" /> | |
| 51 </test> | |
| 52 <test> | |
| 53 <param name="input" value="dot_blot.tiff" ftype="tiff" /> | |
| 54 <param name="input_datatype" value="tiff" /> | |
| 55 <param name="output_datatype" value="jpg" /> | |
| 56 <output name="output" file="dot_blot.jpg" ftype="jpg" /> | |
| 57 </test> | |
| 58 </tests> | |
| 59 <help> | |
| 60 **What it does** | |
| 61 | |
| 62 <![CDATA[ | |
| 63 Converts an image file from one format to another where supported input and output formats are the | |
| 64 intersection of the relative formats supported by both Galaxy and Bioformats. | |
| 65 | |
| 66 Go `here <https://www.openmicroscopy.org/site/support/bio-formats5.1/supported-formats.html>`_ for Bioformats image formats. | |
| 67 ]]> | |
| 68 | |
| 69 </help> | |
| 70 <expand macro="citations" /> | |
| 71 </tool> |
