Mercurial > repos > agordon > datamash_wrapper
annotate datamash-transpose.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 | b8e69214bfc6 |
children |
rev | line source |
---|---|
8
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
1 <tool id="DatamashTranspose" name="Transpose" version="1.0.6"> |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
2 <description>rows/columns in a tabular file</description> |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
3 |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
4 <requirements> |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
5 <requirement type="package" version="1.0.6">datamash</requirement> |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
6 </requirements> |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
7 |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
8 <command> |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
9 datamash -W transpose < $in_file > $out_file |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
10 </command> |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
11 <inputs> |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
12 <param format="tabular" name="in_file" type="data" label="Select Input Data" help=""/> |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
13 </inputs> |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
14 <outputs> |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
15 <data format="tabular" name="out_file" /> |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
16 </outputs> |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
17 <tests> |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
18 <test> |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
19 <param name="in_file" value="datamash_transpose_input.txt" /> |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
20 <output name="out_file" file="datamash_transpose_output.txt" /> |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
21 </test> |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
22 </tests> |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
23 <help> |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
24 |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
25 .. class:: infomark |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
26 |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
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. |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
28 |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
29 ----- |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
30 |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
31 **Syntax** |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
32 |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
33 This tools transposes (swaps) rows/columns in a tabular input file. |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
34 |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
35 ----- |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
36 |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
37 **Example** |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
38 |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
39 Input file:: |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
40 |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
41 Genes NOX1 DcP HH |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
42 Sample A1 A2 B3 |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
43 Counts 514 542 490 |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
44 |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
45 Output file:: |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
46 |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
47 Genes Sample Counts |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
48 NOX1 A1 514 |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
49 DcP A2 542 |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
50 HH B3 490 |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
51 |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
52 |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
53 ----- |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
54 |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
55 **GNU Datamash** is a Free and Open Source Software, see more details on the Datamash_ Website. |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
56 |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
57 **GNU Datamash** is also available as a command-line program, see http://www.gnu.org/software/datamash/download/ . |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
58 |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
59 For more details about supported statistical operations, see Datamash_ website. |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
60 |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
61 .. _Datamash: http://www.gnu.org/software/datamash/ |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
62 |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
63 </help> |
b8e69214bfc6
add 'datamash-transpose' tool
Assaf Gordon <agordon@wi.mit.edu>
parents:
diff
changeset
|
64 </tool> |