diff imagej2_bunwarpj_compose_elastic.xml @ 0:6840ce593a91 draft

"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/image_processing/imagej2 commit b08f0e6d1546caaf627b21f8c94044285d5d5b9c-dirty"
author imgteam
date Tue, 17 Sep 2019 17:08:47 -0400
parents
children 423400b3c47f
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/imagej2_bunwarpj_compose_elastic.xml	Tue Sep 17 17:08:47 2019 -0400
@@ -0,0 +1,51 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<tool id="imagej2_bunwarpj_compose_elastic" name="Compose two elastic transformations" version="@WRAPPER_VERSION@.0">
+    <description>into a raw transformation with bUnwarpJ</description>
+    <macros>
+        <import>imagej2_macros.xml</import>
+    </macros>
+    <expand macro="fiji_requirements" />
+    <command>
+<![CDATA[
+    python $__tool_directory__/imagej2_bunwarpj_compose_elastic.py
+    --target_image "$target_image"
+    --target_image_format $target_image.ext
+    --source_image "$source_image"
+    --source_image_format $source_image.ext
+    --target_elastic_transformation "$target_elastic_transformation"
+    --source_elastic_transformation "$source_elastic_transformation"
+    --output "$output"
+]]>
+    </command>
+    <inputs>
+        <param format="bmp,eps,gif,jpg,pcx,pgm,png,psd,tiff" name="target_image" type="data" label="Target image"/>
+        <param format="bmp,eps,gif,jpg,pcx,pgm,png,psd,tiff" name="source_image" type="data" label="Source image"/>
+        <param format="txt" name="target_elastic_transformation" type="data" label="Target inverse transformation"/>
+        <param format="txt" name="source_elastic_transformation" type="data" label="Source direct transformation"/>
+    </inputs>
+    <outputs>
+        <data name="output" format="txt" label="${tool.name} on ${on_string}" />
+    </outputs>
+    <tests>
+        <test>
+            <param name="target_image" value="dotblot.jpg" />
+            <param name="source_image" value="blobs.gif" />
+            <param name="target_elastic_transformation" value="target_elastic_transformation.txt" />
+            <param name="source_elastic_transformation" value="source_elastic_transformation.txt" />
+            <output name="output" file="raw_transformation.txt" compare="contains"/>
+        </test>
+    </tests>
+    <help>
+**What it does**
+
+<![CDATA[
+Composes two elastic transformations into a raw transformation. The input files must be in the elastic
+transformation format (i.e., the same format format as the files created with the **Save Transformation**
+option in the **Align two images with bUnwarpJ** tool), and the output file will be in **raw** format.
+.
+
+]]>
+
+    </help>
+    <expand macro="bunwarpj_citations" />
+</tool>