# HG changeset patch # User rnateam # Date 1497364894 14400 # Node ID 1eafcc450052949c1a143b91e19124644b936556 # Parent 185effcdfb6898741ca14209f1cdf43e07bb1ce1 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/sortmerna commit 4241c1d4b05a177bd2c74f5a139f51d4f65e0b55 diff -r 185effcdfb68 -r 1eafcc450052 sortmerna.xml --- a/sortmerna.xml Tue Jun 06 13:41:03 2017 -0400 +++ b/sortmerna.xml Tue Jun 13 10:41:34 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.value - #set $ref += $sep + $data_table[$db] + '.fasta,' + $data_table[$db] + '-reindexed' + #for $db in $databases_type.input_databases.fields.path.split(",") + #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]) - #for $db in $databases_type.input_databases.value - #set $ref += $sep + $data_table[$db] + '.fasta,' + $data_table[$db] + #else + #for $db in $databases_type.input_databases.fields.path.split(",") + #set $ref += $sep + $db + ',' + $os.path.splitext($db)[0] #set $sep = ':' #end for #end if