diff macros.xml @ 5:b8e3c0a52f33 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastq_to_fasta commit 415a5c5de30530910f3039e5fc66aa15103c6f20
author iuc
date Tue, 27 Jun 2023 17:37:16 +0000
parents 5dbca5fbdc45
children 0a759fe3fd43
line wrap: on
line diff
--- a/macros.xml	Thu Jan 30 18:26:18 2020 +0000
+++ b/macros.xml	Tue Jun 27 17:37:16 2023 +0000
@@ -11,22 +11,13 @@
     </token>
     <token name="@FQQUAL@">
         <![CDATA[
-            #if $input.is_of_type('fastqsanger', 'fastqsanger.gz', 'fastqsanger.bz2'):
+            #if 'fastqsanger' in $input.ext:
                 -Q 33
-            #elif $input.is_of_type('fastqsolexa', 'fastqsolexa.gz', 'fastqsolexa.bz2', 'fastqillumina', 'fastqillumina.gz', 'fastqillumina.bz2'):
+            #elif 'fastqsolexa' in $input.ext or 'fastqillumina' in $input.ext:
                 -Q 64
             #end if
         ]]>
     </token>
-    <token name="@GZIP@">
-        <![CDATA[
-            #if $input.is_of_type('fasta.gz', 'fastqsanger.gz', 'fastqsolexa.gz', 'fastqillumina.gz'):
-                | gzip -c
-            #elif $input.is_of_type('fastqsanger.bz2', 'fastqsolexa.bz2', 'fastqillumina.bz2'):
-                | bzip2 -c
-            #end if
-        ]]>
-    </token>
     <xml name="requirements">
         <requirements>
             <requirement type="package" version="@VERSION@">fastx_toolkit</requirement>
@@ -51,13 +42,7 @@
             </citation>
         </citations>
     </xml>
-    <xml name="fasta_input">
-        <param name="input" type="data" format="@FASTAS@" label="Input FASTA file" />
-    </xml>
     <xml name="fastq_input">
         <param name="input" type="data" format="@FASTQS@" label="Input FASTQ file" />
     </xml>
-    <xml name="fastx_input">
-        <param name="input" type="data" format="@FASTAS@,@FASTQS@" label="Input file in FASTA or FASTQ format" />
-    </xml>
 </macros>