Source code

Download source archive ↓

upstream-extended/iuc/tools/datamash/datamash-reverse.xml

1<tool id="datamash_reverse" name="Reverse" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
2    <description>columns in a tabular file</description>
3    <macros>
4        <import>macros.xml</import>
5    </macros>
6    <expand macro="requirements" />
7    <expand macro="stdio" />
8    <command><![CDATA[
9        datamash reverse 
10        @FIELD_SEPARATOR@ 
11        < $in_file > $out_file
12    ]]></command>
13    <expand macro="inputs_outputs" />
14    <tests>
15        <test>
16            <param name="in_file" value="datamash_reverse_input.txt" />
17            <output file="datamash_reverse_output.txt" name="out_file" />
18        </test>
19    </tests>
20    <help>
21<![CDATA[
22@HELP_HEADER@
23
24**Syntax**
25
26This tools reverses the order of columns in a tabular input file.
27
28-----
29
30**Example**
31
32Input file::
33
34    Genes  Sample  Counts
35    NOX1   A1      514
36    DcP    A2      542
37    HH     B3      490
38
39Output file::
40
41    Counts  Sample  Genes
42    514     A1      NOX1
43    542     A2      DcP
44    490     B3      HH
45
46@HELP_FOOTER@
47]]>
48    </help>
49    <expand macro="citation"/>
50</tool>