diff macros.xml @ 16:48a51c72f5e7 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit ad43df79dca3dc7c3511c6eb2ccf8589d2804eb2
author iuc
date Wed, 17 Oct 2018 05:58:58 -0400
parents 16f2535c08bf
children 069c8f0695ee
line wrap: on
line diff
--- a/macros.xml	Mon Jun 05 13:26:30 2017 -0400
+++ b/macros.xml	Wed Oct 17 05:58:58 2018 -0400
@@ -2,11 +2,11 @@
 <macros>
     <xml name="requirements">
         <requirements>
-            <requirement type="package" version="1.2">seqtk</requirement>
+            <requirement type="package" version="1.3">seqtk</requirement>
             <yield/>
         </requirements>
     </xml>
-    <token name="@WRAPPER_VERSION@">1.2</token>
+    <token name="@WRAPPER_VERSION@">1.3</token>
     <xml name="stdio">
         <stdio>
             <!-- Anything other than zero is an error -->
@@ -18,11 +18,14 @@
         </stdio>
     </xml>
     <xml name="in_fq">
-        <param name="in_file" type="data" format="fastq" label="Input FASTQ file"/>
+        <param name="in_file" type="data" format="fastq,fastq.gz" label="Input FASTQ file"/>
     </xml>
     <xml name="in_faq">
-        <param name="in_file" type="data" format="fasta,fastq" label="Input FASTA/Q file"/>
+        <param name="in_file" type="data" format="fasta,fastq,fasta.gz,fastq.gz" label="Input FASTA/Q file"/>
     </xml>
+    <token name="@CONDITIONAL_GZIP_OUT@"><![CDATA[
+    #echo "| gzip --no-name" if $in_file.is_of_type('fasta.gz', 'fastq.gz') else "" # > '$default'
+    ]]></token>
     <token name="@ATTRIBUTION@"><![CDATA[
 **Attribution**