diff dr-disco_fix.xml @ 1:9495360713d4 draft

planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/galaxytools-emc/tree/master/tools/dr-disco commit 6ca895dfcaa94693a54a90716d669d9488bee45b
author erasmus-medical-center
date Thu, 16 Mar 2017 04:24:23 -0400
parents fca9c1ace23c
children 173ca9768e22
line wrap: on
line diff
--- a/dr-disco_fix.xml	Wed Jan 25 08:06:06 2017 -0500
+++ b/dr-disco_fix.xml	Thu Mar 16 04:24:23 2017 -0400
@@ -1,26 +1,36 @@
 <tool id="dr_disco_fix" name="Dr. Disco (fix)" version="@TOOL_VERSION@-g0">
-    <description>Fixes and annotates chimeric alignments</description>
+    <description>Fixes chimeric alignments from STAR</description>
     <macros>
         <import>macros.xml</import>
     </macros>
-    
+
     <expand macro="requirements" />
     <expand macro="version_command" />
-    
-    <command><![CDATA[
-        dr-disco fix '${output}' '${star_discordant_alignment}'
+
+    <command detect_errors="exit_code"><![CDATA[
+        dr-disco fix '${alignment_fixed}' '${star_discordant_alignment}'
     ]]></command>
     <inputs>
         <param name="star_discordant_alignment" type="data" format="bam" label="Discordant alignment file of STAR" />
     </inputs>
     <outputs>
-        <data name="output" format="bam" label="${tool.name} on ${star_discordant_alignment}" />
+        <data name="alignment_fixed" format="bam" label="${tool.name} on ${star_discordant_alignment}" />
     </outputs>
+
     <tests>
+        <test>
+            <param name="star_discordant_alignment" value="fix_test-01.bam"/>
+
+            <output name="alignment_fixed" file="fix_test-01.fixed.bam" />
+        </test>
     </tests>
     
-    <help>
-    </help>
-    
+    <help><![CDATA[
+
+**What it does**
+
+Dr. Disco fix prepares chimeric alignment files produced by STAR for analysis with Dr. Disco (extract) and for visualization in genome browsers.
+
+    ]]></help>
      <expand macro="citations"/>
 </tool>
\ No newline at end of file