diff read_NVC.xml @ 31:cc5eaa9376d8

Lance's updates
author nilesh
date Wed, 02 Oct 2013 02:20:04 -0400
parents 907d4b021ff6
children 580ee0c4bc4e
line wrap: on
line diff
--- a/read_NVC.xml	Thu Jul 11 12:33:27 2013 -0400
+++ b/read_NVC.xml	Wed Oct 02 02:20:04 2013 -0400
@@ -1,10 +1,11 @@
-<tool id="read_NVC" name="Read NVC">
+<tool id="read_NVC" name="Read NVC" version="1.1">
 	<description>to check the nucleotide composition bias</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"> read_NVC.py -i $input -o output
+	<command> read_NVC.py -i $input -o output
 
 		#if $nx
 			-x
@@ -15,21 +16,26 @@
 		<param name="nx" type="boolean" label="Include N,X in NVC plot" value="false" />
 	</inputs>
 	<outputs>
-		<data format="xls" name="outputxls" from_work_dir="output.NVC.xls"/>
-		<data format="r" name="outputr" from_work_dir="output.NVC_plot.r" />
-		<data format="pdf" name="outputpdf" from_work_dir="output.NVC_plot.pdf" />
+		<data format="xls" name="outputxls" from_work_dir="output.NVC.xls" label="${tool.name} on ${on_string} (XLS)" />
+		<data format="r" name="outputr" from_work_dir="output.NVC_plot.r" label="${tool.name} on ${on_string} (R Script)" />
+		<data format="pdf" name="outputpdf" from_work_dir="output.NVC_plot.pdf" label="${tool.name} on ${on_string} (PDF)" />
 	</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
-
------
-
-About RSeQC
+read_NVC.py
 +++++++++++
 
-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.
+This module is used to check the nucleotide composition bias. Due to random priming, certain
+patterns are over represented at the beginning (5'end) of reads. This bias could be easily
+examined by NVC (Nucleotide versus cycle) plot. NVC plot is generated by overlaying all
+reads together, then calculating nucleotide composition for each position of read
+(or each sequencing cycle). In ideal condition (genome is random and RNA-seq reads is
+randomly sampled from genome), we expect A%=C%=G%=T%=25% at each position of reads. 
 
-The RSeQC package is licensed under the GNU GPL v3 license.
+NOTE: this program expect a fixed read length
 
 Inputs
 ++++++++++++++
@@ -51,7 +57,24 @@
 3. output.NVC_plot.pdf: NVC plot.
 
 
-.. image:: http://dldcc-web.brc.bcm.edu/lilab/liguow/RSeQC/figure/NVC_plot.png
+.. image:: http://rseqc.sourceforge.net/_images/NVC_plot.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>