changeset 1:6e7b5193ec26 draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/flye commit 6cd5f829f985631f0e8360d66a73206389101171
author bgruening
date Fri, 28 Sep 2018 19:18:21 -0400
parents 5a6e12e067a2
children 792735cc7ddb
files flye.xml
diffstat 1 files changed, 12 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/flye.xml	Tue Sep 25 05:02:42 2018 -0400
+++ b/flye.xml	Fri Sep 28 19:18:21 2018 -0400
@@ -9,7 +9,17 @@
     <![CDATA[
 
     #for $counter, $input in enumerate($inputs):
-        ln -s '$input' ./input_${counter}.${input.ext} &&
+
+        #if $input.is_of_type('fastqsanger', 'fastq'):
+            #set $ext = 'fastq'
+        #elif $input.is_of_type('fastqsanger.gz'):
+            #set $ext = 'fastq.gz'
+        #elif $input.is_of_type('fasta.gz'):        
+            #set $ext = 'fasta.gz'
+        #elif $input.is_of_type('fasta'):        
+            #set $ext = 'fasta'
+        #end if
+        ln -s '$input' ./input_${counter}.${ext} &&
     #end for
     
     flye
@@ -28,7 +38,7 @@
     2>&1
     ]]></command>
     <inputs>
-        <param name="inputs" type="data" format="fasta,fasta.gz,fastq,fastq.gz" multiple="true" label="Input reads" />
+        <param name="inputs" type="data" format="fasta,fasta.gz,fastq,fastq.gz,fastqsanger.gz,fastqsanger" multiple="true" label="Input reads" />
         <param name="mode" type="select" label="Mode">
             <option value="--nano-raw">Nanopore raw</option>
             <option value="--nano-corr">Nanopore corrected</option>