diff points2label.xml @ 0:14525b8c8d67 draft default tip

planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/points2labelimage/ commit 356f2556bd629e5473d6711ec71372ea17d3e28f
author thomaswollmann
date Wed, 12 Dec 2018 05:12:06 -0500
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/points2label.xml	Wed Dec 12 05:12:06 2018 -0500
@@ -0,0 +1,33 @@
+<tool id="points2labelimage" name="Points 2 Label" version="0.2">
+  <description>Points to Label Image</description>
+  <requirements>
+    <requirement type="package" version="1.15.4">numpy</requirement>
+    <requirement type="package" version="0.14.0">scikit-image</requirement>
+    <requirement type="package" version="0.23.4">pandas</requirement>
+  </requirements>
+  <command>
+    <![CDATA[
+        python '$__tool_directory__/points2label.py' '$input' '$output' '$org_file' $has_header $is_tsv
+    ]]>
+  </command>
+  <inputs>
+    <param name="input" type="data" format="csv" label="Point CSV file"/>
+    <param name="org_file" type="data" format="tiff" label="Original label image file"/>
+    <param name="has_header" type="boolean" checked="false" truevalue="--has_header True" falsevalue="" optional="true" label="Does point file contain header?" /> 
+    <param name="is_tsv" optional="true" type="boolean" checked="false" truevalue="--is_tsv True" falsevalue="" help="tab separated input file"/>
+  </inputs>
+  <outputs>
+    <data name="output" format="tiff"/>
+  </outputs>
+  <tests>
+    <test>
+      <param name="input" value="points.csv"/>
+      <param name="org_file" value="galaxyIcon_noText.tif"/>
+      <output name="output" file="out.tif" ftype="tiff" compare="sim_size"/><!--to allow a change in e.g. date-->
+    </test>
+  </tests>
+    <help> This tool converts points to a label image. </help>
+  <citations>
+    <citation type="doi">10.1016/j.jbiotec.2017.07.019</citation> 
+  </citations>
+</tool>