changeset 5:5a28b303e432 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastq_quality_boxplot commit 4c002e52261da2e7609735883d91fa1610ce6ce7"
author iuc
date Thu, 30 Jan 2020 18:25:28 +0000
parents 439eed933bf9
children 101dc4d70c89
files fastq_quality_boxplot.xml macros.xml
diffstat 2 files changed, 11 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/fastq_quality_boxplot.xml	Tue May 08 12:49:29 2018 -0400
+++ b/fastq_quality_boxplot.xml	Thu Jan 30 18:25:28 2020 +0000
@@ -23,7 +23,7 @@
     <tests>
         <test>
             <param name="input" value="fastq_quality_boxplot-in1.fastq" />
-            <output name="output" file="fastq_quality_boxplot-out1.png" compare="sim_size" delta="768" />
+            <output name="output" file="fastq_quality_boxplot-out1.png" compare="sim_size" delta="10000" />
         </test>
     </tests>
     <help><![CDATA[
--- a/macros.xml	Tue May 08 12:49:29 2018 -0400
+++ b/macros.xml	Thu Jan 30 18:25:28 2020 +0000
@@ -2,7 +2,7 @@
 <macros>
     <token name="@CATS@">
         #if $input.is_of_type('fasta.gz', 'fastqsanger.gz', 'fastqsolexa.gz', 'fastqillumina.gz'):
-            zcat -f '$input' |
+            gunzip -c -f '$input' |
         #elif $input.is_of_type('fastqsanger.bz2', 'fastqsolexa.bz2', 'fastqillumina.bz2'):
             bzcat -f '$input' |
         #else:
@@ -18,6 +18,15 @@
             #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>