view 2d_split_binaryimage_by_watershed.xml @ 1:f8f7987586b7 draft default tip

"planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/2d_split_binaryimage_by_watershed/ commit 3d389fdec0db29cf6fbd783c0501455bf624fa90"
author imgteam
date Wed, 18 Dec 2019 05:01:10 -0500
parents 5e21d7342593
children
line wrap: on
line source

<tool id="ip_2d_split_binaryimage_by_watershed" name="Split objects" version="0.0.1"> 
   <description>Split binary image by using watershed</description>
   <requirements>
        <requirement type="package" version="0.14.2">scikit-image</requirement>
        <requirement type="package" version="1.15.4">numpy</requirement>
        <requirement type="package" version="5.3.0">pillow</requirement>
        <requirement type="package" version="0.15.1">tifffile</requirement>
        <requirement type="package" version="1.2.1">scipy</requirement>
   </requirements>
   <command detect_errors="aggressive">
   <![CDATA[
   python '$__tool_directory__/2d_split_binaryimage_by_watershed.py' '$input' '$output' $min_distance
   ]]> 
   </command>
   <inputs>
        <param name="input" type="data" format="tiff" label="Source file" /> 
        <param name="min_distance" type="integer" value="5" label="Minimum distance between two objects." />
    </inputs>
    <outputs>
       <data format="tiff" name="output" />
    </outputs>
    <tests>
        <test>
            <param name="input" value="in.tif"/>
            <output name="output" value="out.tif" ftype="tiff" compare="sim_size"/>
            <param name="min_distance" value="10"/>
        </test>
    </tests>
    <help>
        Split binary image by using distance transform and watershed.
    </help>
    <citations>
        <citation type="doi">10.1016/j.jbiotec.2017.07.019</citation>
    </citations>
</tool>