diff detection_viz.xml @ 0:629d9e8ca64c draft

planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/detection_viz/ commit a0ba841e8b3aee770a3243155bedfac0adf9a5a6
author thomaswollmann
date Wed, 12 Dec 2018 04:37:59 -0500
parents
children ff66bae1f7f8
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/detection_viz.xml	Wed Dec 12 04:37:59 2018 -0500
@@ -0,0 +1,33 @@
+<tool id="detection_viz" name="Detection Visualization" version="0.1">
+    <description>Detection Visualization</description>
+    <requirements>
+      <requirement type="package" version="0.14.1" >scikit-image</requirement>
+      <requirement type="package" version="3.0.2" >matplotlib</requirement>
+    </requirements>
+    <command>
+        <![CDATA[
+        python '$__tool_directory__/detection_viz.py' '$input' '$output' --stroke_size $thickness --circle_radius $circle_radius $tp $fn $fp
+]]>
+    </command>
+    <inputs>
+        <param name="input" type="data" format="tiff,png,jpg,bmp" label="Binary Image File"/>
+        <param name="tp" type="boolean" checked="false" falsevalue="" truevalue="--tp"/>
+        <param name="fn" type="boolean" checked="false" falsevalue="" truevalue="--fn"/>
+        <param name="fp" type="boolean" checked="false" falsevalue="" truevalue="--fp"/>
+        <param name="thickness" type="float" value="3.0" label="Stroke thickness"/>
+        <param name="circle_radius" type="float" value="50.0" label="Circle radius"/>
+    </inputs>
+    <outputs>
+        <data format="png" name="output"/>
+    </outputs>
+    <tests>
+        <test>
+            <param name="input" value="sample.png"/>
+            <output name="output" value="out.png" ftype="png"/>
+        </test>
+    </tests>
+    <help>Draws circles of different colors around detected true positives, false negatives and false positives.</help>
+    <citations>
+        <citation type="doi">10.1016/j.jbiotec.2017.07.019</citation>
+    </citations>
+</tool>