diff plot_barplot.xml @ 4:fe4ee3b643f0 draft

planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_barplot commit 74beefba9d138c892208b103b52e706ab4313a4a-dirty
author bebatut
date Mon, 18 Apr 2016 10:34:56 -0400
parents 81d4e20b0b23
children 2a9b68111074
line wrap: on
line diff
--- a/plot_barplot.xml	Fri Apr 15 05:38:24 2016 -0400
+++ b/plot_barplot.xml	Mon Apr 18 10:34:56 2016 -0400
@@ -75,15 +75,45 @@
     </outputs>
 
     <tests>
+        <test>
+            <param name="input_file" value="input_file.txt"/>
+            <param name="header" value="FALSE"/>
+            <param name="output_format" value="pdf"/>
+            <param name="column_with_data" value="2"/>
+            <param name="names_column" value="1"/>
+            <param name="xlab" value=""/>
+            <param name="col" value="blue"/>
+            <param name="bottom_margin" value="5"/>
+            <param name="left_margin" value="19"/>
+            <param name="top_margin" value="1"/>
+            <param name="right_margin" value="1"/>
+            <output name="output_pdf_file" file="output_test_col_2.pdf"/>
+        </test>
+        <test>
+            <param name="input_file" value="input_file.txt"/>
+            <param name="header" value="FALSE"/>
+            <param name="output_format" value="pdf"/>
+            <param name="column_with_data" value="3"/>
+            <param name="names_column" value="1"/>
+            <param name="xlab" value=""/>
+            <param name="col" value="red"/>
+            <param name="bottom_margin" value="5"/>
+            <param name="left_margin" value="19"/>
+            <param name="top_margin" value="1"/>
+            <param name="right_margin" value="1"/>
+            <output name="output_pdf_file" file="output_test_col_3.pdf"/>
+        </test>
     </tests>
 
     <help><![CDATA[
-        **What it does**
+**What it does**
+
+This tool plot a barplot.
 
-        This tool plot a barplot from a tabular file into different format files given different customizable parameters.
+.. image:: $PATH_TO_IMAGES/output.png
+   :scale: 50 %
 
-        This tool relies on R's barplot function.
-
+This tool relies on R's barplot function. The input file must be a tabular file with multiple columns: a column with row names (for bar names) and a least a column with data. The output image is customizable (margin, legend positions, ...) and can be export in different format. 
     ]]></help>
 
     <citations>