1
|
1 <tool id="transpose" name="Transpose" version="1.0.0">
|
|
2 <description>data from a file</description>
|
|
3 <command interpreter="python">
|
|
4 transpose.py
|
|
5 $input
|
|
6 $out_file
|
|
7 </command>
|
|
8 <inputs>
|
|
9 <param format="tabular" name="input" type="data" label="Transpose Dataset" />
|
|
10 </inputs>
|
|
11 <outputs>
|
|
12 <data format="input" name="out_file" metadata_source="input"/>
|
|
13 </outputs>
|
|
14 <tests>
|
|
15 <test>
|
|
16 <param name="input" value="transpose_in1.tabular"/>
|
|
17 <output name="out_file1" file="transpose_out1.tabular"/>
|
|
18 </test>
|
|
19 </tests>
|
|
20 <help>
|
|
21 .. class:: infomark
|
|
22
|
|
23 **TIP:** If your data is not TAB delimited, use *Text Manipulation->Convert*
|
|
24
|
|
25
|
|
26 -----
|
|
27
|
|
28 **Examples**
|
|
29
|
|
30 Transposing the following::
|
|
31
|
|
32 1 14 8 A
|
|
33 7 10 12 C
|
|
34 16 12 80 F
|
|
35 41 13.5 0 X
|
|
36
|
|
37 Will yield the following::
|
|
38
|
|
39 1 7 16 41
|
|
40 14 10 12 13.5
|
|
41 8 12 80 0
|
|
42 A C F X
|
|
43
|
|
44
|
|
45 </help>
|
|
46 </tool>
|