diff seqtk_mergefa.xml @ 4:ecf1c30da3a2 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:59:21 -0400
parents bc7d99f46a5d
children a09586d5149a
line wrap: on
line diff
--- a/seqtk_mergefa.xml	Mon Jun 05 13:27:11 2017 -0400
+++ b/seqtk_mergefa.xml	Wed Oct 17 05:59:21 2018 -0400
@@ -15,11 +15,11 @@
 $h
 '$in_fa1'
 '$in_fa2'
-> '$default'
+#echo "| gzip --no-name" if $in_fa1.is_of_type('fasta.gz', 'fastq.gz') else "" # > '$default'
     ]]></command>
     <inputs>
-        <param name="in_fa1" type="data" format="fasta,fastq" label="Input FASTA/Q file #1"/>
-        <param name="in_fa2" type="data" format="fasta,fastq" label="Input FASTA/Q file #2"/>
+        <param name="in_fa1" type="data" format="fasta,fastq,fasta.gz,fastq.gz" label="Input FASTA/Q file #1"/>
+        <param name="in_fa2" type="data" format="fasta,fastq,fasta.gz,fastq.gz" label="Input FASTA/Q file #2"/>
         <param argument="-q" type="integer" value="0" label="Quality threshold"/>
         <param argument="-i" type="boolean" truevalue="-i" falsevalue="" checked="false" label="Take intersection" />
         <param argument="-m" type="boolean" truevalue="-m" falsevalue="" checked="false" label="Convert to lowercase when one of the input base is N" />
@@ -41,6 +41,12 @@
             <param name="m" value="True" />
             <output name="default" file="seqtk_mergefa2.out" ftype="fasta"/>
         </test>
+        <test>
+            <param name="in_fa1" value="seqtk_mergefa1.fa.gz" ftype="fasta.gz"/>
+            <param name="in_fa2" value="seqtk_mergefa2.fa.gz" ftype="fasta.gz"/>
+            <param name="m" value="True" />
+            <output name="default" file="seqtk_mergefa2.out.gz" ftype="fasta.gz"/>
+        </test>
     </tests>
     <help><![CDATA[
 **What it does**