view datamash-reverse.xml @ 4:f198773344e4 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 384736acb5d2ae31d796c53031fad0e5da5424e3
author iuc
date Fri, 01 Jul 2022 16:18:35 +0000
parents 17e3b698dd52
children b8a457820315
line wrap: on
line source

<tool id="datamash_reverse" name="Reverse" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
    <description>columns in a tabular file</description>
    <macros>
        <import>macros.xml</import>
    </macros>
    <expand macro="requirements" />
    <expand macro="stdio" />
    <command><![CDATA[
        datamash reverse 
        @FIELD_SEPARATOR@ 
        < $in_file > $out_file
    ]]></command>
    <expand macro="inputs_outputs" />
    <tests>
        <test>
            <param name="in_file" value="datamash_reverse_input.txt" />
            <output file="datamash_reverse_output.txt" name="out_file" />
        </test>
    </tests>
    <help>
<![CDATA[
@HELP_HEADER@

**Syntax**

This tools reverses the order of columns in a tabular input file.

-----

**Example**

Input file::

    Genes  Sample  Counts
    NOX1   A1      514
    DcP    A2      542
    HH     B3      490

Output file::

    Counts  Sample  Genes
    514     A1      NOX1
    542     A2      DcP
    490     B3      HH

@HELP_FOOTER@
]]>
    </help>
</tool>