Mercurial > repos > jmsong > transpose
changeset 1:b2f1a4939872 draft
Uploaded
author | jmsong |
---|---|
date | Tue, 18 Mar 2014 11:35:57 -0400 |
parents | fc1b758149c7 |
children | 9b8eb7e5c022 |
files | transpose.xml |
diffstat | 1 files changed, 46 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/transpose.xml Tue Mar 18 11:35:57 2014 -0400 @@ -0,0 +1,46 @@ +<tool id="transpose" name="Transpose" version="1.0.0"> + <description>data from a file</description> + <command interpreter="python"> + transpose.py + $input + $out_file + </command> + <inputs> + <param format="tabular" name="input" type="data" label="Transpose Dataset" /> + </inputs> + <outputs> + <data format="input" name="out_file" metadata_source="input"/> + </outputs> + <tests> + <test> + <param name="input" value="transpose_in1.tabular"/> + <output name="out_file1" file="transpose_out1.tabular"/> + </test> + </tests> + <help> +.. class:: infomark + +**TIP:** If your data is not TAB delimited, use *Text Manipulation->Convert* + + +----- + +**Examples** + +Transposing the following:: + + 1 14 8 A + 7 10 12 C + 16 12 80 F + 41 13.5 0 X + +Will yield the following:: + + 1 7 16 41 + 14 10 12 13.5 + 8 12 80 0 + A C F X + + + </help> +</tool>