changeset 18:d3b1249af60c draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/trinity commit aee00b3755588862ab34c199c28578706c004a34
author iuc
date Tue, 19 Dec 2017 04:21:46 -0500
parents 199aa6821ca5
children cee61b3fcf78
files trinity.xml
diffstat 1 files changed, 13 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/trinity.xml	Fri Dec 15 07:57:50 2017 -0500
+++ b/trinity.xml	Tue Dec 19 04:21:46 2017 -0500
@@ -1,11 +1,15 @@
-<tool id="trinity" name="Trinity" version="@WRAPPER_VERSION@.1">
+<tool id="trinity" name="Trinity" version="@WRAPPER_VERSION@.2">
     <description>de novo assembly of RNA-Seq data</description>
     <macros>
         <import>macros.xml</import>
     </macros>
     <expand macro="requirements" />
     <command detect_errors="aggressive"><![CDATA[
-       Trinity --no_version_check
+        #if $additional_params.guided.is_guided == "yes":
+            ln -s '${$additional_params.guided.genome_guided_bam}' 'localbam.bam' &&
+            ln -s '${$additional_params.guided.genome_guided_bam.metadata.bam_index}' 'localbam.bam.bai' &&
+        #end if
+        Trinity --no_version_check
 
         ## Inputs.
         #if $inputs.paired_or_single == "paired":
@@ -59,7 +63,7 @@
             --long_reads $additional_params.long_reads
         #end if
         #if $additional_params.guided.is_guided == "yes":
-            --genome_guided_bam $additional_params.guided.genome_guided_bam
+            --genome_guided_bam 'localbam.bam'
 
             #if $additional_params.guided.genome_guided_min_coverage:
                 --genome_guided_min_coverage $additional_params.guided.genome_guided_min_coverage
@@ -69,6 +73,10 @@
                 --genome_guided_min_reads_per_partition $additional_params.guided.genome_guided_min_reads_per_partition
             #end if
 
+            #if $additional_params.guided.genome_guided_max_intron:
+                --genome_guided_max_intron $additional_params.guided.genome_guided_max_intron
+            #end if
+
         #end if
 
         #if $additional_params.min_kmer_cov:
@@ -125,7 +133,8 @@
                 <when value="no">
                 </when>
                 <when value="yes">
-                    <param name="genome_guided_bam" argument="--genome_guided_bam" type="data" format="bam" label="Coordinate-sorted BAM file" />
+                    <param format="bam" name="genome_guided_bam" argument="--genome_guided_bam" type="data" label="Coordinate-sorted BAM file" />
+                    <param name="genome_guided_max_intron" argument="--genome_guided_max_intron" type="integer" value="" min="1" label="Maximum allowed intron length (also maximum fragment span on genome)"/>
                     <param name="genome_guided_min_coverage" argument="--genome_guided_min_coverage" type="integer" optional="true" value="1" min="1" label="Minimum read coverage for identifying an expressed region of the genome"/>
                     <param name="genome_guided_min_reads_per_partition" argument="--genome_guided_min_reads_per_partition" type="integer" optional="true" value="10" min="1" label="Minimum number of reads per partition"/>
                 </when>