changeset 4:567d5b3c52b1 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_artifacts_filter commit 3953b65f6b1c0336e9cadbe0792a5d3b14b5643a
author iuc
date Wed, 22 Aug 2018 11:05:01 -0400
parents dd3737e40dce
children d5e9e83cd3d8
files fastx_artifacts_filter.xml macros.xml
diffstat 2 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/fastx_artifacts_filter.xml	Tue May 08 13:27:02 2018 -0400
+++ b/fastx_artifacts_filter.xml	Wed Aug 22 11:05:01 2018 -0400
@@ -9,6 +9,7 @@
 -v
 -o '$output'
 @FQQUAL@
+@GZIP@
     ]]></command>
 
     <inputs>
--- a/macros.xml	Tue May 08 13:27:02 2018 -0400
+++ b/macros.xml	Wed Aug 22 11:05:01 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>