diff geneBody_coverage.xml @ 31:cc5eaa9376d8

Lance's updates
author nilesh
date Wed, 02 Oct 2013 02:20:04 -0400
parents ce0995c33291
children 580ee0c4bc4e
line wrap: on
line diff
--- a/geneBody_coverage.xml	Thu Jul 11 12:33:27 2013 -0400
+++ b/geneBody_coverage.xml	Wed Oct 02 02:20:04 2013 -0400
@@ -1,12 +1,13 @@
-<tool id="geneBody_coverage" name="Gene Body Converage (BAM)">
+<tool id="geneBody_coverage" name="Gene Body Converage (BAM)" version="1.1">
 	<description>
 		Read coverage over gene body.
 	</description>
 	<requirements>
-		<requirement type="package" version="2.15.1">R</requirement>
+		<requirement type="package" version="2.11.0">R</requirement>
+		<requirement type="package" version="1.7.1">numpy</requirement>
 		<requirement type="package" version="2.3.7">rseqc</requirement>
 	</requirements>
-	<command interpreter="python">
+	<command>
 		geneBody_coverage.py -i $input -r $refgene -o output
 	</command>
 	<inputs>
@@ -14,21 +15,25 @@
 		<param name="refgene" type="data" label="Reference Genome" format="bed" />
 	</inputs>
 	<outputs>
-		<data name="outputpdf" format="pdf" from_work_dir="output.geneBodyCoverage.pdf" />
-		<data name="outputr" format="r" from_work_dir="output.geneBodyCoverage_plot.r" />
-		<data name="outputtxt" format="txt" from_work_dir="output.geneBodyCoverage.txt" />
-	</outputs>
+		<data name="outputpdf" format="pdf" from_work_dir="output.geneBodyCoverage.pdf" label="${tool.name} on ${on_string} (PDF)" />
+		<data name="outputr" format="r" 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)" />
+    </outputs>
+    <stdio>
+        <exit_code range="1:" level="fatal" description="An error occured during execution, see stderr and stdout for more information" />
+        <regex match="[Ee]rror" source="both" description="An error occured during execution, see stderr and stdout for more information" />
+    </stdio>
 	<help>
-.. image:: https://code.google.com/p/rseqc/logo?cct=1336721062
+geneBody_coverage.py
+++++++++++++++++++++
 
------
-
-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.
+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. 
 
 Inputs
 ++++++++++++++
@@ -46,9 +51,26 @@
 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:: http://rseqc.sourceforge.net/_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/
 
 
 
 	</help>
-</tool>
\ No newline at end of file
+</tool>