view datamash-transpose.xml @ 4:ac092723240d 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:17:42 +0000
parents ba0c40780ecf
children 374cb875d38a
line wrap: on
line source

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

**Syntax**

This tools transposes (swaps) rows/columns in a tabular input file.

-----

**Example**

Input file::

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

Output file::

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

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