diff cat.xml @ 17:f46f0e4f75c4 draft

"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/text_processing commit 5f5d5802a961a77ceb092cbdef90d93e29717029-dirty"
author bgruening
date Tue, 22 Jun 2021 16:06:48 +0000
parents ddf54b12c295
children 12615d397df7
line wrap: on
line diff
--- a/cat.xml	Tue Oct 06 09:47:04 2020 +0000
+++ b/cat.xml	Tue Jun 22 16:06:48 2021 +0000
@@ -1,4 +1,4 @@
-<tool id="tp_cat" name="Concatenate datasets" version="0.1.0">
+<tool id="tp_cat" name="Concatenate datasets" version="0.1.1">
     <description>tail-to-head (cat)</description>
     <macros>
         <import>macros.xml</import>
@@ -11,12 +11,15 @@
     </version_command>
     <command>
     <![CDATA[
-        cat
-            #echo ' '.join(['"%s"' % $file for $file in $inputs])#
+            #for $file in $inputs:
+                cat '$file' >> '$out_file1' &&
+            #end for
             #for $q in $queries:
-                #echo ' '.join(['"%s"' % $file for $file in $q.inputs2])#
+                #for $file in $q.inputs2:
+                    cat '$file' >> '$out_file1' &&
+                #end for
             #end for
-        > $out_file1
+            exit 0
     ]]></command>
     <inputs>
         <param name="inputs" multiple="true" type="data" format="txt,fastq.gz,fasta.gz,genbank.gz,tabular.gz" label="Datasets to concatenate"/>