diff defuse_trinity_analysis.xml @ 40:ed07bcc39f6e

Provide a matched tabular output
author Jim Johnson <jj@umn.edu>
date Wed, 06 May 2015 14:31:57 -0500
parents 4353f776dfa3
children
line wrap: on
line diff
--- a/defuse_trinity_analysis.xml	Thu Feb 12 06:54:38 2015 -0600
+++ b/defuse_trinity_analysis.xml	Wed May 06 14:31:57 2015 -0500
@@ -1,8 +1,17 @@
 <?xml version="1.0"?>
 <tool id="defuse_trinity_analysis" name="Defuse Trinity" version="0.6.1">
   <description>verify fusions with trinity</description>
+  <stdio>
+    <exit_code range="1:" level="fatal" description="Error" />
+  </stdio>
   <command interpreter="python">defuse_trinity_analysis.py --input $defuse_results --transcripts $trinity_transcripts --peptides $trinity_orfs 
-  --nbases $nbases --min_pep_len $min_pep_len --ticdist $ticdist
+  --nbases $nbases --min_pep_len $min_pep_len --ticdist $ticdist --readthrough=$readthrough
+  #if 'matched' in str($outputs).split(','):
+    --matched="$matched_output"
+  #end if  
+  #if 'aligned' in str($outputs).split(','):
+    --transcript_alignment="$aligned_output"
+  #end if  
   --output $output 
   </command>
   <inputs>
@@ -12,11 +21,19 @@
     <param name="nbases" type="integer" value="12" min="1" label="Number of bases on either side of the fusion to compare"/> 
     <param name="min_pep_len" type="integer" value="100" min="0" label="Minimum length of peptide to report"/> 
     <param name="ticdist" type="integer" value="1000000" min="0" label="Maximum intrachromosomal distance to be classified a Transcription-induced chimera (TIC)"/> 
+    <param name="readthrough" type="integer" value="4" min="0" label="Number of stop_codons to read through"/> 
+    <param name="outputs" type="select" multiple="true" display="checkboxes" label="Additional outputs">
+      <option value="matched">Matched Fusions Trinity Tanscripts and ORFs Tabular</option>
+      <option value="aligned">Aligned Fusion and Trinity Transcipts Fasta</option>
+    </param>
   </inputs>
-  <stdio>
-    <exit_code range="1:" level="fatal" description="Error" />
-  </stdio>
   <outputs>
+    <data name="matched_output" metadata_source="defuse_results" format="tabular" label="${tool.name} on ${on_string}: Fusions Trinity Matched ">
+      <filter>(outputs and 'matched' in outputs)</filter>
+    </data>
+    <data name="aligned_output" metadata_source="defuse_results" format="fasta" label="${tool.name} on ${on_string}: Fusion Trinity Sequences">
+      <filter>(outputs and 'aligned' in outputs)</filter>
+    </data>
     <data name="output" metadata_source="defuse_results" format="tabular" label="${tool.name} on ${on_string}: Fusion Report"/>
   </outputs>
   <tests>
@@ -26,11 +43,12 @@
     </test>
   </tests>
   <help>
-**Defuse Results **
+**Defuse Results**
 
-Verifies DeFuse_ results.tsv with TrinityRNAseq_ assembled transcripts and ORFs.   
+Verifies DeFuse_ fusion predictions in results.tsv with TrinityRNAseq_ assembled transcripts and ORFs.   
 
 This program relies on the header line of the results.tsv to determine which columns to use for analysis.   
+
 .. _DeFuse: http://sourceforge.net/apps/mediawiki/defuse
 .. _TrinityRNAseq: http://trinityrnaseq.github.io/
   </help>