diff imagecoordinates_flipaxis.xml @ 0:5a210baa2ff1 draft

planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/imagecoordinates_flipaxis/ commit 67eaf2b9a9ee1bfed14afba33007ef595890400c
author imgteam
date Wed, 20 Mar 2019 12:06:07 -0400
parents
children d0960e1b25a8
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/imagecoordinates_flipaxis.xml	Wed Mar 20 12:06:07 2019 -0400
@@ -0,0 +1,30 @@
+<tool id="imagecoordinates_flipaxis" name="Switch axis coordinates" version="0.1"> 
+  <description>Switches the axes of an image and flips the y axis.</description>
+  <requirements> 
+    <requirement type="package" version="0.23.4" >pandas</requirement>
+  </requirements>
+  <command detect_errors="aggressive"> 
+        <![CDATA[
+        python "$__tool_directory__/imagecoordinates_flipaxis.py" '$input' '$output' $img_height
+        ]]> 
+  </command>
+  <inputs> 
+    <param name="input" type="data" format="tabular" label="File with image coordinates"/> 
+    <param name="img_height" type="integer" value="100" label="Height of the corresponding image"/>
+  </inputs>
+  <outputs>
+    <data name="output" format="tabular"/>
+  </outputs>
+  <tests>
+    <test>
+	    <param name="input" value="table.tsv" />
+      <param name="img_height" value="500"/>
+      <output name="output" value="out2.tsv" ftype="tabular" />
+    </test>
+  </tests>
+  <help>Makes x the horizontal axis (left to right) and y the vertical axis (bottom to top), 
+  like in a coordinate system.</help>
+  <citations>
+      <citation type="doi">10.1016/j.jbiotec.2017.07.019</citation>
+  </citations>
+</tool>