Repository 'fastx_nucleotides_distribution'
hg clone https://toolshed.g2.bx.psu.edu/repos/devteam/fastx_nucleotides_distribution

Changeset 5:ad116ae3f4d9 (2020-01-30)
Previous changeset 4:21796f46e0ba (2018-05-08) Next changeset 6:b6b54ba71bd8 (2023-08-10)
Commit message:
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_nucleotides_distribution commit 4c002e52261da2e7609735883d91fa1610ce6ce7"
modified:
fastx_nucleotides_distribution.xml
macros.xml
b
diff -r 21796f46e0ba -r ad116ae3f4d9 fastx_nucleotides_distribution.xml
--- a/fastx_nucleotides_distribution.xml Tue May 08 13:27:48 2018 -0400
+++ b/fastx_nucleotides_distribution.xml Thu Jan 30 13:30:27 2020 -0500
[
@@ -19,7 +19,7 @@
     <tests>
         <test>
             <param name="input" value="fastx_nucleotides_distribution-in1.txt" />
-            <output name="output" file="fastx_nucleotides_distribution-out1.png" compare="sim_size" delta="512" />
+            <output name="output" file="fastx_nucleotides_distribution-out1.png" compare="sim_size" delta="4000" />
         </test>
     </tests>
     <help><![CDATA[
b
diff -r 21796f46e0ba -r ad116ae3f4d9 macros.xml
--- a/macros.xml Tue May 08 13:27:48 2018 -0400
+++ b/macros.xml Thu Jan 30 13:30:27 2020 -0500
[
@@ -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>