changeset 4:12103efd0e34 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/humann2 commit f24d561fc65cc7204e53a6a65014130aaa65aa57"
author iuc
date Fri, 19 Jun 2020 07:47:04 -0400
parents 47f3c9a16649
children d82b766334d1
files humann2_join_tables.xml
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/humann2_join_tables.xml	Sat Jan 25 18:23:10 2020 -0500
+++ b/humann2_join_tables.xml	Fri Jun 19 07:47:04 2020 -0400
@@ -1,4 +1,4 @@
-<tool id="humann2_join_tables" name="Join" version="@WRAPPER_VERSION@.0">
+<tool id="humann2_join_tables" name="Join" version="@WRAPPER_VERSION@.1">
     <description>HUMAnN2 generated tables</description>
     <macros>
         <import>humann2_macros.xml</import>
@@ -9,7 +9,9 @@
 mkdir tmp_dir
 &&
 #for $table in $input_table
-    cp '$table' 'tmp_dir' &&
+    #set orig_filename=$table.element_identifier
+    #set new_filename='_'.join($orig_filename.split(' '))
+    cp '$table' 'tmp_dir/$new_filename' &&
 #end for
 humann2_join_tables
     -i 'tmp_dir'