view concat_channels.xml @ 2:212627bfb759 draft

planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/concat_channels/ commit 2286a6c9da88596349ed9d967c51541409c0a7bf
author imgteam
date Mon, 13 Nov 2023 22:10:47 +0000
parents d42501109c05
children 4c43875c790c
line wrap: on
line source

<tool id="ip_concat_channels" name="Concatenate images or channels" version="0.2-2">
    <description></description>
    <edam_operations>
        <edam_operation>operation_3443</edam_operation>
    </edam_operations>
    <xrefs>
        <xref type="bio.tools">galaxy_image_analysis</xref>
    </xrefs>
    <requirements>
        <requirement type="package" version="0.14.2">scikit-image</requirement>
        <requirement type="package" version="1.15.4">numpy</requirement>
        <requirement type="package" version="0.15.1">tifffile</requirement>
    </requirements>
    <command detect_errors="aggressive">
    <![CDATA[
        python '$__tool_directory__/concat_channels.py' 
        #for $input in $inputs
            '$input' 
        #end for
        -o '$output' --axis '$axis'
    ]]>
    </command>
    <inputs>
        <param name="inputs" type="data" multiple="true" format="tiff,png,jpg,bmp" label="Binary Image Files" help="one or multiple binary image fiels"/>
        <param name="axis" type="select" label="Concatenation Axis">
            <option value="0">0</option>
            <option value="2">2</option>
        </param>
    </inputs>
    <outputs>
        <data format="tiff" name="output"/>
    </outputs>
    <tests>
        <test>
            <param name="inputs" value="sample1.png,sample2.png"/>
            <param name="axis" value="0"/>
            <output name="output" value="res.tiff" ftype="tiff" compare="sim_size"/>
        </test>
    </tests>
    <help>
    **What it does**

    This tool concatenates images.
    </help>
    <citations>
        <citation type="doi">10.1016/j.jbiotec.2017.07.019</citation>
    </citations>
</tool>