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

Uploaded
author jmsong
date Tue, 18 Mar 2014 11:38:24 -0400
parents b2f1a4939872
children
line wrap: on
line source

<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-&gt;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>