view coordinates_of_roi.xml @ 3:02a686fc1654 draft

planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tools/coordinates_of_roi/ commit da043bdec956714abb0fa82f278931bbe1a6d41d
author imgteam
date Mon, 25 Mar 2019 11:15:39 -0400
parents 24d9bd16c953
children 00175f4a2bbb
line wrap: on
line source

<tool id="ip_coordinates_of_roi" name="Coordinates of ROI" version="0.0.4">
    <description></description>
    <requirements>
        <requirement type="package" version="0.14.2">scikit-image</requirement>
        <requirement type="package" version="0.23.4">pandas</requirement>
    </requirements>
    <command detect_errors="aggressive">
        <![CDATA[
            python '$__tool_directory__/coordinates_of_roi.py'
            '$im'
            '$pixel_table'
            $white_obj
            --threshold $threshold
        ]]>
    </command>
    <inputs>
        <param name="im" type="data" format="png" label="Source file" />
        <param name="white_obj" type="boolean" truevalue="--white_obj" falsevalue="" checked="false"
            label="Set to Yes if object is white and background black, otherwise set to No" />
        <param name="threshold" type="float" value="0.5" label="Threshold value" />
    </inputs>
    <outputs>
       <data format="tabular" name="pixel_table" />
    </outputs>
    <tests>
        <test>
            <param name="im" value="test.png"/>
            <param name="white_obj" value="true"/>
            <output name="pixel_table" value="newtable.tsv" ftype="tabular"/>
        </test>
    </tests>
    <help>
    **What it does**

    This tool creates a table containing the pixelcoordinates of the Region of Interest (ROI).
    </help>
    <citations>
        <citation type="doi">10.1016/j.jbiotec.2017.07.019</citation>
    </citations>
</tool>