Mercurial > repos > agordon > datamash_wrapper
comparison datamash-reverse.xml @ 7:48bbe512639e
add datamash-reverse tool.
author | Assaf Gordon <agordon@wi.mit.edu> |
---|---|
date | Sat, 22 Nov 2014 20:39:44 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
6:22080cbb0e2a | 7:48bbe512639e |
---|---|
1 <tool id="DatamashReverse" name="Reverse" version="1.0.6"> | |
2 <description>columns in a tabular file</description> | |
3 | |
4 <requirements> | |
5 <requirement type="package" version="1.0.6">datamash</requirement> | |
6 </requirements> | |
7 | |
8 <command> | |
9 datamash -W reverse < $in_file > $out_file | |
10 </command> | |
11 <inputs> | |
12 <param format="tabular" name="in_file" type="data" label="Select Input Data" help=""/> | |
13 </inputs> | |
14 <outputs> | |
15 <data format="tabular" name="out_file" /> | |
16 </outputs> | |
17 <tests> | |
18 <test> | |
19 <param name="in_file" value="datamash_reverse_input.txt" /> | |
20 <output name="out_file" file="datamash_reverse_output.txt" /> | |
21 </test> | |
22 </tests> | |
23 <help> | |
24 | |
25 .. class:: infomark | |
26 | |
27 **TIP:** Input data must be TAB delimited. If the desired dataset does not appear in the input list, use *Text Manipulation->Convert* to convert it to **Tabular** type. | |
28 | |
29 ----- | |
30 | |
31 **Syntax** | |
32 | |
33 This tools reverses the order of columns in a tabular input file. | |
34 | |
35 ----- | |
36 | |
37 **Example** | |
38 | |
39 Input file:: | |
40 | |
41 Genes Sample Counts | |
42 NOX1 A1 514 | |
43 DcP A2 542 | |
44 HH B3 490 | |
45 | |
46 Output file:: | |
47 | |
48 Counts Sample Genes | |
49 514 A1 NOX1 | |
50 542 A2 DcP | |
51 490 B3 HH | |
52 | |
53 ----- | |
54 | |
55 **GNU Datamash** is a Free and Open Source Software, see more details on the Datamash_ Website. | |
56 | |
57 **GNU Datamash** is also available as a command-line program, see http://www.gnu.org/software/datamash/download/ . | |
58 | |
59 For more details about supported statistical operations, see Datamash_ website. | |
60 | |
61 .. _Datamash: http://www.gnu.org/software/datamash/ | |
62 | |
63 </help> | |
64 </tool> |