changeset 5:ec0b5076173a draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fasta_nucleotide_changer commit 4c002e52261da2e7609735883d91fa1610ce6ce7"
author iuc
date Thu, 30 Jan 2020 13:28:49 -0500
parents 091ca73f5804
children f773e98b26cf
files fasta_nucleotide_changer.xml macros.xml
diffstat 2 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/fasta_nucleotide_changer.xml	Wed Aug 22 11:04:20 2018 -0400
+++ b/fasta_nucleotide_changer.xml	Thu Jan 30 13:28:49 2020 -0500
@@ -8,8 +8,7 @@
 @CATS@ fasta_nucleotide_changer
 -$mode
 -v
--o '$output'
-@GZIP@
+@GZIP@ > '$output'
     ]]></command>
     <inputs>
         <expand macro="fasta_input" />
--- a/macros.xml	Wed Aug 22 11:04:20 2018 -0400
+++ b/macros.xml	Thu Jan 30 13:28:49 2020 -0500
@@ -21,7 +21,9 @@
     <token name="@GZIP@">
         <![CDATA[
             #if $input.is_of_type('fasta.gz', 'fastqsanger.gz', 'fastqsolexa.gz', 'fastqillumina.gz'):
-                -z
+                | gzip -c
+            #elif $input.is_of_type('fastqsanger.bz2', 'fastqsolexa.bz2', 'fastqillumina.bz2'):
+                | bzip2 -c
             #end if
         ]]>
     </token>