changeset 19:4f476a49f079 draft default tip

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/sortmerna commit 044a991b45c9135339daf138929887cd8e93a1bf-dirty
author bebatut
date Mon, 12 Jun 2017 08:06:02 -0400
parents 63e6d7aefbe6
children
files sortmerna.xml
diffstat 1 files changed, 3 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/sortmerna.xml	Mon Jun 12 07:54:51 2017 -0400
+++ b/sortmerna.xml	Mon Jun 12 08:06:02 2017 -0400
@@ -35,17 +35,13 @@
             #set $sep = ':'
         #end for
     #else if str( $databases_type.databases_selector ) == 'cached_to_index'
-        ## databases path is not directly accessible, must match by hand with LOC file contents
-        #set $data_table = dict([(_[0], _[2]) for _ in $databases_type.input_databases.input.options.tool_data_table.data])
         #for $db in $databases_type.input_databases.fields.path.split(",")
-            #set $ref += $sep + $db + '.fasta,' + $db + '-reindexed'
+            #set $ref += $sep + $db + ',' + $os.path.splitext($db)[0] + '-reindexed'
             #set $sep = ':'
         #end for
-    #else:
-        ## databases path is not directly accessible, must match by hand with LOC file contents
-        #set $data_table = dict([(_[0], _[2]) for _ in $databases_type.input_databases.input.options.tool_data_table.data])
+    #else
         #for $db in $databases_type.input_databases.fields.path.split(",")
-            #set $ref += $sep + $db + '.fasta,' + $db
+            #set $ref += $sep + $db + ',' + $os.path.splitext($db)[0]
             #set $sep = ':'
         #end for
     #end if