diff read_distribution.xml @ 32:580ee0c4bc4e

Fixes from Bjorn Gruning: create symlinks under $TMP and clean them up afterwards, replace R dependency with the Tool Shed R3 package, add --install-scripts, prepend tool-ids with rseqc
author lparsons
date Mon, 07 Oct 2013 15:01:13 -0400
parents cc5eaa9376d8
children
line wrap: on
line diff
--- a/read_distribution.xml	Wed Oct 02 02:20:04 2013 -0400
+++ b/read_distribution.xml	Mon Oct 07 15:01:13 2013 -0400
@@ -1,23 +1,24 @@
-<tool id="read_distribution" name="Read Distribution" version="1.1">
-	<description>calculates how mapped reads were distributed over genome feature</description>
-	<requirements>
-		<requirement type="package" version="1.7.1">numpy</requirement>
-		<requirement type="package" version="2.3.7">rseqc</requirement>
-	</requirements>
-	<command> read_distribution.py -i $input -r $refgene > $output
-	</command>
-	<inputs>
-		<param name="input" type="data" format="bam,sam" label="input bam/sam file" />
-		<param name="refgene" type="data" format="bed" label="reference gene model" />
-	</inputs>
-	<outputs>
-		<data format="txt" name="output" />
-	</outputs>
+<tool id="rseqc_read_distribution" name="Read Distribution" version="1.1">
+    <description>calculates how mapped reads were distributed over genome feature</description>
+    <requirements>
+        <requirement type="package" version="1.7.1">numpy</requirement>
+        <requirement type="package" version="2.3.7">rseqc</requirement>
+    </requirements>
+    <command>
+        read_distribution.py -i $input -r $refgene > $output
+    </command>
     <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>
+    <inputs>
+        <param name="input" type="data" format="bam,sam" label="input bam/sam file" />
+        <param name="refgene" type="data" format="bed" label="reference gene model" />
+    </inputs>
+    <outputs>
+        <data format="txt" name="output" />
+    </outputs>
+    <help>
 read_distribution.py
 ++++++++++++++++++++
 
@@ -45,10 +46,10 @@
 ++++++++++++++
 
 Input BAM/SAM file
-	Alignment file in BAM/SAM format.
+    Alignment file in BAM/SAM format.
 
 Reference gene model
-	Gene model in BED format.
+    Gene model in BED format.
 
 Sample Output
 ++++++++++++++
@@ -85,5 +86,5 @@
 
 
 
-	</help>
+    </help>
 </tool>