Mercurial > repos > imgteam > points2binaryimage
comparison points2binaryimage.xml @ 0:c2dcc029a23b draft
planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2binaryimage/ commit c3f4b766f03770f094fda6bda0a5882c0ebd4581
| author | imgteam |
|---|---|
| date | Sat, 09 Feb 2019 14:21:50 -0500 |
| parents | |
| children | 54b8c8bceb32 |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:c2dcc029a23b |
|---|---|
| 1 <tool id="ip_points_to_binaryimage" name="Points to Binary Image" version="0.1"> | |
| 2 <description>Converts points to a binary image</description> | |
| 3 <requirements> | |
| 4 <requirement type="package" version="0.14.2">scikit-image</requirement> | |
| 5 <requirement type="package" version="1.15.4">numpy</requirement> | |
| 6 <requirement type="package" version="0.23.4">pandas</requirement> | |
| 7 <requirement type="package" version="2018.7">pytz</requirement><!--pandas seems to have additional requirements that are not automatically installed--> | |
| 8 <requirement type="package" version="2.4.1">dateutil</requirement> | |
| 9 </requirements> | |
| 10 <command> | |
| 11 <![CDATA[ | |
| 12 python '$__tool_directory__/points2binaryimage.py' '$input' '$output' $shapex $shapey $has_header $invert_xy | |
| 13 ]]> | |
| 14 </command> | |
| 15 <inputs> | |
| 16 <param name="input" type="data" format="tabular" label="CSV point file"/> | |
| 17 <param name="shapex" type="integer" value="500" optional="true" min="1" max="2000" label="Width of output image" /> | |
| 18 <param name="shapey" type="integer" value="500" optional="true" min="1" max="2000" label="Height of output image" /> | |
| 19 <param name="has_header" type="boolean" checked="false" truevalue="--has_header True" falsevalue="" optional="true" label="Does point file contain header?" /> | |
| 20 <param name="invert_xy" type="boolean" checked="false" falsevalue="" truevalue="--invert_xy True" optional="true" label="Inverts x and y in CSV point file" /> | |
| 21 </inputs> | |
| 22 <outputs> | |
| 23 <data name="output" format="tiff" /> | |
| 24 </outputs> | |
| 25 <tests> | |
| 26 <test> | |
| 27 <param name="input" value="points.tsv" /> | |
| 28 <param name="shapex" value="20" /> | |
| 29 <param name="shapey" value="30" /> | |
| 30 <param name="has_header" value="false" /> | |
| 31 <param name="invert_xy" value="true" /> | |
| 32 <output name="output" ftype="tiff" file="out.tiff" compare="sim_size"/> | |
| 33 </test> | |
| 34 </tests> | |
| 35 <help> | |
| 36 **What it does** | |
| 37 | |
| 38 Converts CSV point file to binary image. | |
| 39 </help> | |
| 40 <citations> | |
| 41 <citation type="doi">10.1016/j.jbiotec.2017.07.019</citation> | |
| 42 </citations> | |
| 43 </tool> |
