changeset 5:547e8d00f11c draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_trimmer commit 3953b65f6b1c0336e9cadbe0792a5d3b14b5643a
author iuc
date Wed, 22 Aug 2018 11:06:02 -0400
parents b98f3fa516a3
children 61b4cedc8934
files fastx_trimmer.xml macros.xml
diffstat 2 files changed, 8 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/fastx_trimmer.xml	Fri Aug 17 05:06:06 2018 -0400
+++ b/fastx_trimmer.xml	Wed Aug 22 11:06:02 2018 -0400
@@ -10,11 +10,7 @@
 -l $last
 -o '$output'
 @FQQUAL@
-
-#if $input.is_of_type('fasta.gz', 'fastqsanger.gz', 'fastqsolexa.gz', 'fastqillumina.gz'):
-    -z
-#end if
-
+@GZIP@
     ]]></command>
     <inputs>
         <expand macro="fastx_input" />
--- a/macros.xml	Fri Aug 17 05:06:06 2018 -0400
+++ b/macros.xml	Wed Aug 22 11:06:02 2018 -0400
@@ -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>