view datamash-transpose.xml @ 0:60e287a6d17d draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
author iuc
date Wed, 28 Oct 2015 12:45:41 -0400
parents
children 1cb70a56fc89
line wrap: on
line source

<?xml version="1.0"?>
<tool id="datamash_transpose" name="Transpose" version="1.0.6">
    <description>rows/columns in a tabular file</description>
    <macros>
        <import>macros.xml</import>
    </macros>
    <expand macro="requirements" />
    <expand macro="stdio" />
    <command><![CDATA[datamash -W transpose < $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>