diff macros.xml @ 5:4bedca26c133 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit b2735803f9719ff955a49a5bde54a211d6d48bb5
author iuc
date Thu, 11 Oct 2018 09:35:51 -0400
parents 015dc921d814
children 0b7ec11b3c7c
line wrap: on
line diff
--- a/macros.xml	Tue May 08 13:27:14 2018 -0400
+++ b/macros.xml	Thu Oct 11 09:35:51 2018 -0400
@@ -2,7 +2,7 @@
 <macros>
     <token name="@CATS@">
         #if $input.is_of_type('fasta.gz', 'fastqsanger.gz', 'fastqsolexa.gz', 'fastqillumina.gz'):
-            zcat -f '$input' |
+            gunzip -c -f '$input' |
         #elif $input.is_of_type('fastqsanger.bz2', 'fastqsolexa.bz2', 'fastqillumina.bz2'):
             bzcat -f '$input' |
         #else:
@@ -18,6 +18,13 @@
             #end if
         ]]>
     </token>
+    <token name="@GZIP@">
+        <![CDATA[
+            #if $input.is_of_type('fasta.gz', 'fastqsanger.gz', 'fastqsolexa.gz', 'fastqillumina.gz'):
+                -z
+            #end if
+        ]]>
+    </token>
     <xml name="requirements">
         <requirements>
             <requirement type="package" version="@VERSION@">fastx_toolkit</requirement>