diff geneBody_coverage2.xml @ 51:09846d5169fa draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rseqc commit 37fb1988971807c6a072e1afd98eeea02329ee83
author iuc
date Tue, 14 Mar 2017 10:23:21 -0400
parents 6b33e31bda10
children 5873cd7afb67
line wrap: on
line diff
--- a/geneBody_coverage2.xml	Tue May 03 16:36:57 2016 -0400
+++ b/geneBody_coverage2.xml	Tue Mar 14 10:23:21 2017 -0400
@@ -1,4 +1,4 @@
-<tool id="rseqc_geneBody_coverage2" name="Gene Body Converage (Bigwig)" version="2.4galaxy1">
+<tool id="rseqc_geneBody_coverage2" name="Gene Body Converage (Bigwig)" version="@WRAPPER_VERSION@">
     <description>
         Read coverage over gene body
     </description>
@@ -7,43 +7,38 @@
         <import>rseqc_macros.xml</import>
     </macros>
 
-    <requirements>
-        <expand macro="requirement_package_r" />
-        <expand macro="requirement_package_numpy" />
-        <expand macro="requirement_package_rseqc" />
-    </requirements>
+    <expand macro="requirements" />
 
     <expand macro="stdio" />
 
     <version_command><![CDATA[geneBody_coverage2.py --version]]></version_command>
 
     <command><![CDATA[
-        geneBody_coverage2.py -i $input -r $refgene -o output
+        geneBody_coverage2.py -i '${input}' -r '${refgene}' -o output
         ]]>
     </command>
 
     <inputs>
         <param name="input" type="data" label="Input bigwig file" format="bigwig" />
-        <param name="refgene" type="data" label="Reference Genome" format="bed" />
+        <expand macro="refgene_param" />
     </inputs>
 
     <outputs>
-        <data name="outputpdf" format="pdf" from_work_dir="output.geneBodyCoverage.pdf" label="${tool.name} on ${on_string} (PDF)" />
-        <data name="outputr" format="txt" from_work_dir="output.geneBodyCoverage_plot.r" label="${tool.name} on ${on_string} (R Script)" />
-        <data name="outputtxt" format="txt" from_work_dir="output.geneBodyCoverage.txt" label="${tool.name} on ${on_string} (Text)" />
+        <expand macro="pdf_output_data" filename="output.geneBodyCoverage.pdf" />
+        <data name="outputtxt" format="txt" from_work_dir="output.geneBodyCoverage.txt" label="${tool.name} on ${on_string} (text)" />
+        <expand macro="rscript_output_data" filename="output.geneBodyCoverage_plot.r" />
     </outputs>
 
-    <!-- Unable to succefully run this script, it seems deprecated and should probably be dropped
     <tests>
         <test>
-            <param name="input" value="pairend_strandspecific_51mer_hg19_chr1_1-100000.bigwig"/>
-            <param name="refgene" value="hg19_RefSeq_chr1_1-100000.bed"/>
-            <output name="outputcurvespdf" file="output.geneBodyCoverage.curves.pdf"/>
-            <output name="outputr" file="output.geneBodyCoverage.r"/>
-            <output name="outputtxt" file="output.geneBodyCoverage.txt"/>
+            <param name="input" value="pairend_strandspecific_51mer_hg19_chr1_1-100000.bigwig" />
+            <param name="refgene" value="hg19_RefSeq_chr1_1-100000.bed" />
+            <param name="rscript_output" value="true" />
+            <output name="outputpdf" file="output.geneBodyCoverage2.curves.pdf" compare="sim_size" />
+            <output name="outputr" file="output.geneBodyCoverage2.r" />
+            <output name="outputtxt" file="output.geneBodyCoverage2.txt" />
         </test>
     </tests>
-    -->
 
     <help><![CDATA[
 geneBody_coverage2.py
@@ -69,23 +64,12 @@
 Read coverage over gene body. This module is used to check if reads coverage is uniform and if there is any 5’/3’ bias. This module scales all transcripts to 100 nt and calculates the number of reads covering each nucleotide position. Finally, it generates a plot illustrating the coverage profile along the gene body. NOTE: this module requires lots of memory for large BAM files, because it load the entire BAM file into memory. We add another script "geneBody_coverage2.py" into v2.3.1 which takes bigwig (instead of BAM) as input. It only use 200M RAM, but users need to convert BAM into WIG, and then WIG into BigWig.
 
 Example output:
-    .. image:: http://dldcc-web.brc.bcm.edu/lilab/liguow/RSeQC/figure/geneBody_coverage.png
+    .. image:: $PATH_TO_IMAGES/geneBody_coverage.png
         :height: 600 px
         :width: 600 px
         :scale: 80 %
 
------
-
-About RSeQC
-+++++++++++
-
-The RSeQC_ package provides a number of useful modules that can comprehensively evaluate high throughput sequence data especially RNA-seq data. "Basic modules" quickly inspect sequence quality, nucleotide composition bias, PCR bias and GC bias, while "RNA-seq specific modules" investigate sequencing saturation status of both splicing junction detection and expression estimation, mapped reads clipping profile, mapped reads distribution, coverage uniformity over gene body, reproducibility, strand specificity and splice junction annotation.
-
-The RSeQC package is licensed under the GNU GPL v3 license.
-
-.. image:: http://rseqc.sourceforge.net/_static/logo.png
-
-.. _RSeQC: http://rseqc.sourceforge.net/
+@ABOUT@
 
 ]]>
     </help>