view datamash-transpose.xml @ 3:ba0c40780ecf draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
author iuc
date Sun, 10 Apr 2022 11:40:35 +0000
parents 22c2a1ac7ae3
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>