changeset 2:7cdad1c7d6ea draft default tip

planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_grouped_barplot commit c6ba903395dc6d41cb318c7d95a2d9cf3ca65313-dirty
author bebatut
date Mon, 18 Apr 2016 10:05:48 -0400
parents ed13c93bfdf0
children
files plot_grouped_barplot.xml test-data/input_file.txt test-data/output.pdf test-data/output_file.pdf
diffstat 4 files changed, 27 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/plot_grouped_barplot.xml	Fri Apr 15 05:40:22 2016 -0400
+++ b/plot_grouped_barplot.xml	Mon Apr 18 10:05:48 2016 -0400
@@ -105,18 +105,39 @@
     </outputs>
 
     <tests>
+        <test>
+            <param name="input_file" value="input_file.txt"/>
+            <param name='header' value="FALSE"/>
+            <param name="output_format" value="pdf"/>
+            <param name="samples_0|name" value="A"/>
+            <param name="samples_0|column_id" value="2"/>
+            <param name="samples_0|color" value="blue"/>
+            <param name="samples_1|name" value="B"/>
+            <param name="samples_1|column_id" value="3"/>
+            <param name="samples_1|color" value="red"/>
+            <param name="replace_null" value="FALSE"/>
+            <param name="order" value="FALSE"/>
+            <param name="names_column" value="1"/>
+            <param name='xlab' value=""/>
+            <param name='log' value="FALSE"/>
+            <param name='bottom_margin' value="5"/>
+            <param name="left_margin" value="19"/>
+            <param name='top_margin' value="1"/>
+            <param name='right_margin' value="1"/>
+            <param name="legend_pos" value="topright"/>
+            <output name="output_pdf_file" file="output_file.pdf"/>
+        </test>
     </tests>
 
     <help><![CDATA[
-        **What it does**
+**What it does**
 
-        This tool plot a grouped barplot from a tabular file into different format files given different customizable parameters:
+This tool plot a grouped barplot with multiple data:
 
-        .. image:: $PATH_TO_IMAGES/output.png
-           :scale: 50 %
+.. 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>
--- a/test-data/input_file.txt	Fri Apr 15 05:40:22 2016 -0400
+++ b/test-data/input_file.txt	Mon Apr 18 10:05:48 2016 -0400
@@ -1,4 +1,3 @@
-	SRR072232	SRR072233
 Replication initiation protein, truncated	0.195633	0.0431745
 Resolvase, putative	0.00060098	0.183306
 UniRef50_Q8CU99	0.173071	0.0296448
Binary file test-data/output.pdf has changed
Binary file test-data/output_file.pdf has changed