diff cummeRbund.xml @ 5:78fcfc04fcfe draft

planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/cummerbund commit f3f0bef4a450aafab3c6b05a27647471f93b22f3
author devteam
date Thu, 23 Feb 2017 20:24:03 -0500
parents ba8fde59843d
children c3b54a4b7741
line wrap: on
line diff
--- a/cummeRbund.xml	Tue Jul 21 14:18:39 2015 -0400
+++ b/cummeRbund.xml	Thu Feb 23 20:24:03 2017 -0500
@@ -1,20 +1,18 @@
 <?xml version="1.0"?>
-<tool id="cummeRbund" name="cummeRbund" version="1.0.1">
+<tool id="cummeRbund" name="cummeRbund" version="2.16.0">
     <description>visualize Cuffdiff output</description>
-    <requirements>
-        <requirement type="set_environment">CUMMERBUND_SCRIPT_PATH</requirement>
-        <requirement type="package" version="3.1.2">R</requirement>
-        <requirement type="package" version="2.8.2">cummeRbund</requirement>
-    </requirements>
-    <expand macro="stdio" />
     <macros>
         <import>cummeRbund_macros.xml</import>
     </macros>
+    <requirements>
+        <requirement type="package" version="1.0.1">r-argparse</requirement>
+        <requirement type="package" version="2.16.0">bioconductor-cummerbund</requirement>
+    </requirements>
     <code file="cummeRbund_options.py"/>
-    <command>
+    <command detect_errors="aggressive">
 <![CDATA[
 #for i, p in enumerate($plots):
-    R --vanilla --no-save -f \$CUMMERBUND_SCRIPT_PATH/cummeRbund.R --args
+    Rscript $__tool_directory__/cummeRbund.R
     --input "${input_database}" --width $p.width --height $p.height --type "${p.plot.type}"
     --outfile plot-${p.plot.type}-${i}.png
     #if $p.plot.type in ["density", "boxplot", "mds", "pca", "dendrogram"]:
@@ -40,6 +38,7 @@
     #elif $p.plot.type == "heatmap":
         --clustering "$p.plot.clustering" $p.plot.labcol $p.plot.labrow $p.plot.border --features $p.plot.features $p.plot.log10
         #if len($p.plot.genes) > 0:
+            --gene_selector
             #for gene in $p.plot.genes:
                 --genes ${gene.gene_id}
             #end for
@@ -124,7 +123,7 @@
                         <option value="none">None</option>
                     </param>
                     <param name="labcol" type="boolean" truevalue="--labcol" falsevalue="" checked="True" label="Display column labels?"/>
-                    <param name="labrow" type="boolean" truevalue="--labrow" falsevalue="" checked="True" label="Display column labels?"/>
+                    <param name="labrow" type="boolean" truevalue="--labrow" falsevalue="" checked="True" label="Display row labels?"/>
                     <param name="border" type="boolean" truevalue="--border" falsevalue="" checked="False" label="Draw border around plot?"/>
                     <expand macro="log10_checkbox" />
                 </when>
@@ -272,7 +271,10 @@
                 <conditional name="plot">
                     <param name="type" value="heatmap" />
                     <repeat name="genes">
-                        <param name="gene_id" value="XLOC_000078" />
+                        <param name="gene_id" value="XLOC_000030" />
+                    </repeat>
+                    <repeat name="genes">
+                        <param name="gene_id" value="XLOC_000037" />
                     </repeat>
                 </conditional>
             </repeat>
@@ -353,7 +355,7 @@
 
 ------
 
-Based on the `cummeRbund wrapper <http://toolshed.bx.psu.edu/view/jjohnson/cummerbund>`_ written by James E. Johnson of the Minnesota Supercomputing Institute.
+Based on the `cummeRbund wrapper <https://toolshed.g2.bx.psu.edu/view/jjohnson/cummerbund>`_ written by James E. Johnson of the Minnesota Supercomputing Institute.
     ]]></help>
     <citations>
         <citation type="doi">doi:10.1038/nprot.2012.016</citation>