annotate points2binaryimage.xml @ 0:74b946cdba21 draft default tip

planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2binaryimage/ commit 27a6350188f687411bdd6bfe0d569c0803389ca0
author thomaswollmann
date Wed, 12 Dec 2018 04:51:33 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
74b946cdba21 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2binaryimage/ commit 27a6350188f687411bdd6bfe0d569c0803389ca0
thomaswollmann
parents:
diff changeset
1 <tool id="points2binaryimage" name="Points to Binary Image" version="0.1">
74b946cdba21 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2binaryimage/ commit 27a6350188f687411bdd6bfe0d569c0803389ca0
thomaswollmann
parents:
diff changeset
2 <description>Converts points to a binary image</description>
74b946cdba21 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2binaryimage/ commit 27a6350188f687411bdd6bfe0d569c0803389ca0
thomaswollmann
parents:
diff changeset
3 <requirements>
74b946cdba21 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2binaryimage/ commit 27a6350188f687411bdd6bfe0d569c0803389ca0
thomaswollmann
parents:
diff changeset
4 <requirement type="package" version="0.14.1" >scikit-image</requirement>
74b946cdba21 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2binaryimage/ commit 27a6350188f687411bdd6bfe0d569c0803389ca0
thomaswollmann
parents:
diff changeset
5 <requirement type="package" version="1.15.4">numpy</requirement>
74b946cdba21 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2binaryimage/ commit 27a6350188f687411bdd6bfe0d569c0803389ca0
thomaswollmann
parents:
diff changeset
6 <requirement type="package" version="0.23.4">pandas</requirement>
74b946cdba21 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2binaryimage/ commit 27a6350188f687411bdd6bfe0d569c0803389ca0
thomaswollmann
parents:
diff changeset
7 <requirement type="package" version="2018.7">pytz</requirement><!--pandas seems to have additional requirements that are not automatically installed-->
74b946cdba21 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2binaryimage/ commit 27a6350188f687411bdd6bfe0d569c0803389ca0
thomaswollmann
parents:
diff changeset
8 <requirement type="package" version="2.4.1">dateutil</requirement>
74b946cdba21 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2binaryimage/ commit 27a6350188f687411bdd6bfe0d569c0803389ca0
thomaswollmann
parents:
diff changeset
9 </requirements>
74b946cdba21 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2binaryimage/ commit 27a6350188f687411bdd6bfe0d569c0803389ca0
thomaswollmann
parents:
diff changeset
10 <command>
74b946cdba21 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2binaryimage/ commit 27a6350188f687411bdd6bfe0d569c0803389ca0
thomaswollmann
parents:
diff changeset
11 <![CDATA[
74b946cdba21 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2binaryimage/ commit 27a6350188f687411bdd6bfe0d569c0803389ca0
thomaswollmann
parents:
diff changeset
12 python '$__tool_directory__/points2binaryimage.py' '$input' '$output' $shapex $shapey $has_header $invert_xy
74b946cdba21 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2binaryimage/ commit 27a6350188f687411bdd6bfe0d569c0803389ca0
thomaswollmann
parents:
diff changeset
13 ]]>
74b946cdba21 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2binaryimage/ commit 27a6350188f687411bdd6bfe0d569c0803389ca0
thomaswollmann
parents:
diff changeset
14 </command>
74b946cdba21 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2binaryimage/ commit 27a6350188f687411bdd6bfe0d569c0803389ca0
thomaswollmann
parents:
diff changeset
15 <inputs>
74b946cdba21 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2binaryimage/ commit 27a6350188f687411bdd6bfe0d569c0803389ca0
thomaswollmann
parents:
diff changeset
16 <param name="input" type="data" format="csv" label="CSV point file"/>
74b946cdba21 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2binaryimage/ commit 27a6350188f687411bdd6bfe0d569c0803389ca0
thomaswollmann
parents:
diff changeset
17 <param name="shapex" type="integer" value="500" optional="true" min="1" max="2000" label="Width of output image" />
74b946cdba21 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2binaryimage/ commit 27a6350188f687411bdd6bfe0d569c0803389ca0
thomaswollmann
parents:
diff changeset
18 <param name="shapey" type="integer" value="500" optional="true" min="1" max="2000" label="Height of output image" />
74b946cdba21 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2binaryimage/ commit 27a6350188f687411bdd6bfe0d569c0803389ca0
thomaswollmann
parents:
diff changeset
19 <param name="has_header" type="boolean" checked="false" truevalue="--has_header True" falsevalue="" optional="true" label="Does point file contain header?" />
74b946cdba21 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2binaryimage/ commit 27a6350188f687411bdd6bfe0d569c0803389ca0
thomaswollmann
parents:
diff changeset
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" />
74b946cdba21 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2binaryimage/ commit 27a6350188f687411bdd6bfe0d569c0803389ca0
thomaswollmann
parents:
diff changeset
21 </inputs>
74b946cdba21 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2binaryimage/ commit 27a6350188f687411bdd6bfe0d569c0803389ca0
thomaswollmann
parents:
diff changeset
22 <outputs>
74b946cdba21 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2binaryimage/ commit 27a6350188f687411bdd6bfe0d569c0803389ca0
thomaswollmann
parents:
diff changeset
23 <data name="output" format="tiff" />
74b946cdba21 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2binaryimage/ commit 27a6350188f687411bdd6bfe0d569c0803389ca0
thomaswollmann
parents:
diff changeset
24 </outputs>
74b946cdba21 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2binaryimage/ commit 27a6350188f687411bdd6bfe0d569c0803389ca0
thomaswollmann
parents:
diff changeset
25 <tests>
74b946cdba21 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2binaryimage/ commit 27a6350188f687411bdd6bfe0d569c0803389ca0
thomaswollmann
parents:
diff changeset
26 <test>
74b946cdba21 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2binaryimage/ commit 27a6350188f687411bdd6bfe0d569c0803389ca0
thomaswollmann
parents:
diff changeset
27 <param name="input" value="points.csv" />
74b946cdba21 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2binaryimage/ commit 27a6350188f687411bdd6bfe0d569c0803389ca0
thomaswollmann
parents:
diff changeset
28 <param name="shapex" value="20" />
74b946cdba21 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2binaryimage/ commit 27a6350188f687411bdd6bfe0d569c0803389ca0
thomaswollmann
parents:
diff changeset
29 <param name="shapey" value="30" />
74b946cdba21 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2binaryimage/ commit 27a6350188f687411bdd6bfe0d569c0803389ca0
thomaswollmann
parents:
diff changeset
30 <param name="has_header" value="false" />
74b946cdba21 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2binaryimage/ commit 27a6350188f687411bdd6bfe0d569c0803389ca0
thomaswollmann
parents:
diff changeset
31 <param name="invert_xy" value="true" />
74b946cdba21 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2binaryimage/ commit 27a6350188f687411bdd6bfe0d569c0803389ca0
thomaswollmann
parents:
diff changeset
32 <output name="output" ftype="tiff" file="out.tiff" compare="sim_size"/>
74b946cdba21 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2binaryimage/ commit 27a6350188f687411bdd6bfe0d569c0803389ca0
thomaswollmann
parents:
diff changeset
33 </test>
74b946cdba21 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2binaryimage/ commit 27a6350188f687411bdd6bfe0d569c0803389ca0
thomaswollmann
parents:
diff changeset
34 </tests>
74b946cdba21 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2binaryimage/ commit 27a6350188f687411bdd6bfe0d569c0803389ca0
thomaswollmann
parents:
diff changeset
35 <help>Converts CSV point file to binary image.</help>
74b946cdba21 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2binaryimage/ commit 27a6350188f687411bdd6bfe0d569c0803389ca0
thomaswollmann
parents:
diff changeset
36 <citations>
74b946cdba21 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2binaryimage/ commit 27a6350188f687411bdd6bfe0d569c0803389ca0
thomaswollmann
parents:
diff changeset
37 <citation type="doi">10.1016/j.jbiotec.2017.07.019</citation>
74b946cdba21 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2binaryimage/ commit 27a6350188f687411bdd6bfe0d569c0803389ca0
thomaswollmann
parents:
diff changeset
38 </citations>
74b946cdba21 planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2binaryimage/ commit 27a6350188f687411bdd6bfe0d569c0803389ca0
thomaswollmann
parents:
diff changeset
39 </tool>