view imagej2_bunwarpj_compose_raw.xml @ 0:93b416f8e9e3 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:00:19 -0400
parents
children 8c0ace7ae77c
line wrap: on
line source

<?xml version='1.0' encoding='UTF-8'?>
<tool id="imagej2_bunwarpj_compose_raw" name="Compose two raw transformations" version="@WRAPPER_VERSION@.0">
    <description>into another raw transformation with bUnwarpJ</description>
    <macros>
        <import>imagej2_macros.xml</import>
    </macros>
    <expand macro="fiji_requirements" />
    <command>
<![CDATA[
    python $__tool_directory__/imagej2_bunwarpj_compose_raw.py
    --target_image "$target_image"
    --target_image_format $target_image.ext
    --source_image "$source_image"
    --source_image_format $source_image.ext
    --target_raw_transformation "$target_raw_transformation"
    --source_raw_transformation "$source_raw_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_raw_transformation" type="data" label="Target inverse transformation"/>
        <param format="txt" name="source_raw_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_raw_transformation" value="target_raw_transformation.txt" />
            <param name="source_raw_transformation" value="source_raw_transformation.txt" />
            <output name="output" file="composed_raw_transformation.txt" compare="contains"/>
        </test>
    </tests>
    <help>
**What it does**

<![CDATA[
Composes two raw transformations into another raw transformation. The transformation
files must be in the **raw** format (i.e., the same format as the file created with the
**Convert elastic transformation to raw with bUnwarpJ** tool.

]]>

    </help>
    <expand macro="bunwarpj_citations" />
</tool>