changeset 2:5aef8588b14e draft default tip

planemo upload for repository https://github.com/asaim/galaxytools/tree/master/tools/plot_generic_x_y_plot commit e4da8b5a999456b2b6dabdf6b8f3bfea1eba5504-dirty
author bebatut
date Mon, 18 Apr 2016 11:09:40 -0400
parents 3bacff87ad39
children
files plot_generic_x_y_plot.xml test-data/input_file.txt test-data/output.pdf test-data/output_test.pdf
diffstat 4 files changed, 25 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/plot_generic_x_y_plot.xml	Fri Apr 15 05:40:49 2016 -0400
+++ b/plot_generic_x_y_plot.xml	Mon Apr 18 11:09:40 2016 -0400
@@ -87,18 +87,37 @@
     </outputs>
 
     <tests>
+        <test>
+            <param name="input_file" value="input_file.txt" />
+            <param name="header" value="FALSE" />
+            <param name="output_format" value="pdf" />    
+            <param name="x_column_id" value="2" />
+            <param name="y_column_id" value="3" />
+            <param name="xlog" value="FALSE" />
+            <param name="ylog" value="FALSE" />
+            <param name="xlab" value="" />
+            <param name="ylab" value="" />
+            <param name="color" value= "grey25" />
+            <param name="pch" value="21" />
+            <param name="lim" value="FALSE" />
+            <param name="abline" value="FALSE" />
+            <param name="bottom_margin" value="5" />
+            <param name="left_margin" value="5" />
+            <param name="top_margin" value="1" />
+            <param name="right_margin" value="1" />
+            <output name="output_pdf_file" file="output_file.pdf" />
+        </test>
     </tests>
 
     <help><![CDATA[
-        **What it does**
+**What it does**
 
-        This tool plot a generic X-Y plot from a tabular file into different format files given different customizable parameters:
+This tool plot a generic X-Y plot:
 
-        .. image:: $PATH_TO_IMAGES/output.png
-           :scale: 50 %
+.. image:: $PATH_TO_IMAGES/output.png
+   :scale: 50 %
 
-        This tool relies on R's plot function.
-
+This tool relies on R's plot function. The input file must be a tabular file with at least two data columns. 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:49 2016 -0400
+++ b/test-data/input_file.txt	Mon Apr 18 11:09:40 2016 -0400
@@ -1,4 +1,3 @@
-	SRR072232	SRR072233
 Peptidoglycan glycosyltransferase	0.000161727	0.0118886
 4Fe 4S ferredoxin iron sulfur binding domain containing protein	0.000868638	0.000531762
 glutamine synthetase	2.69312e-06	5.73862e-06
Binary file test-data/output.pdf has changed
Binary file test-data/output_test.pdf has changed