view simpletable.xml @ 0:d7506cdbd5ec draft

Uploaded
author iuc
date Tue, 17 Mar 2015 15:49:43 -0400
parents
children
line wrap: on
line source

<tool id="circos_simpletable" name="Simple Table Plotter" version="@WRAPPER_VERSION@.0">
    <description></description>
    <macros>
        <import>macros.xml</import>
    </macros>
    <expand macro="requirements" />
    <expand macro="stdio" />
    <command>
<![CDATA[
cat $input |
    perl \${CIRCOSTOOLS}/tools/tableviewer/bin/parse-table |
    perl \${CIRCOSTOOLS}/tools/tableviewer/bin/make-conf -dir data;

cp -Rv \${CIRCOSTOOLS}/tools/tableviewer/etc .;
mkdir img;
circos -conf .;

cp img/tableview.png $output_png;
cp img/tableview.svg $output_svg;
]]>
    </command>
    <inputs>
        <param format="tabular" name="input" type="data" label="Data Table" />
    </inputs>
    <outputs>
        <data format="svg" name="output_svg">
        </data>
        <data format="png" name="output_png">
        </data>
    </outputs>
    <tests>
    </tests>
    <help>
<![CDATA[
**What it does**

Very simple table plotter

.. image:: $PATH_TO_IMAGES/tablevie.png

.. class:: warningmark

1. Your tabular data MUST have both a column and row header::

    Data  A  B
    A     4  2
    B     0 -2

@REFERENCES@
]]>
    </help>
    <expand macro="citations" />
</tool>