# HG changeset patch # User bebatut # Date 1497269162 14400 # Node ID 4f476a49f0796e805b55db29d1451c6250cd20ff # Parent 63e6d7aefbe6eba4b74b6086bc2466714652a0b2 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/sortmerna commit 044a991b45c9135339daf138929887cd8e93a1bf-dirty diff -r 63e6d7aefbe6 -r 4f476a49f079 sortmerna.xml --- 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