annotate transpose.xml @ 3:5d5bdc4c409b draft default tip

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