view datamash-reverse.xml @ 11:687db8c37dcf default tip

remove leftover datamash.xml from merge
author Assaf Gordon <agordon@wi.mit.edu>
date Sat, 22 Nov 2014 21:17:57 -0500
parents 48bbe512639e
children
line wrap: on
line source

<tool id="DatamashReverse" name="Reverse" version="1.0.6">
  <description>columns in a tabular file</description>

  <requirements>
    <requirement type="package" version="1.0.6">datamash</requirement>
  </requirements>

  <command>
    datamash -W reverse &lt; $in_file &gt; $out_file
  </command>
  <inputs>
    <param format="tabular" name="in_file" type="data" label="Select Input Data" help=""/>
  </inputs>
  <outputs>
    <data format="tabular" name="out_file" />
  </outputs>
  <tests>
      <test>
          <param name="in_file" value="datamash_reverse_input.txt" />
          <output name="out_file" file="datamash_reverse_output.txt" />
      </test>
  </tests>
<help>

.. class:: infomark

**TIP:** Input data must be TAB delimited. If the desired dataset does not appear in the input list, use *Text Manipulation-&gt;Convert* to convert it to **Tabular** type.

-----

**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

-----

**GNU Datamash** is a Free and Open Source Software, see more details on the Datamash_ Website.

**GNU Datamash** is also available as a command-line program, see http://www.gnu.org/software/datamash/download/ .

For more details about supported statistical operations, see Datamash_ website.

.. _Datamash: http://www.gnu.org/software/datamash/

</help>
</tool>