view projective_transformation_points.xml @ 7:499ad4d9aa13 draft default tip

planemo upload for repository https://github.com/BMCV/galaxy-image-analysis/tree/master/tools/projective_transformation_points/ commit c045f067a57e8308308cf6329060c7ccd3fc372f
author imgteam
date Thu, 04 Apr 2024 15:26:12 +0000
parents 65e95d0b8838
children
line wrap: on
line source

<tool id="ip_projective_transformation_points" name="Perform projective transformation of point coordinates" license="MIT" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.05">
    <description></description>
    <macros>
        <import>creators.xml</import>
        <token name="@TOOL_VERSION@">0.1.1</token>
        <token name="@VERSION_SUFFIX@">3</token>
    </macros>
    <creator>
        <expand macro="creators/bmcv"/>
    </creator>
    <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.2.1">scipy</requirement>
        <requirement type="package" version="0.23.4">pandas</requirement>
        <requirement type="package" version="1.15.2">numpy</requirement>
        <requirement type="package" version="0.15.1">tifffile</requirement>
    </requirements>
    <command detect_errors="aggressive">
    <![CDATA[
        python '$__tool_directory__/projective_transformation_points.py'
            '$input'
            '$tmat'
            '$output'
    ]]>
    </command>
    <inputs>
        <param name="input" type="data" format="tabular" label="Point coordinates to be transformed" help="Must be a TSV file." />
        <param name="tmat" type= "data" format="tabular" label="Transformation matrix" help="Homogeneous transformation matrix (3⨉3)." />
    </inputs>
    <outputs>
       <data format="tabular" name="output" />
    </outputs> 
    <tests>
      <test>
        <param name="input" value="in.tabular" />
        <param name="tmat" value="tmat.tabular" />
        <output name="output" value="out.tabular" ftype="tabular" compare="diff" />
      </test>
    </tests>
    <help>

        **Performs projective transformation of point coordinates.**

        This tool performs a projective transformation of point coordinates with/without labels.

        The input point coordinates to be transformed must be in the following format:
        
        **Column 1:** The horizontal coordinate.

        **Column 2:** The vertical coordinate.

        **Further columns:** Point labels (numerical or categorical, optional).

        The frist row of the table will be regarded as column headers.

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