changeset 6:0b7ec11b3c7c draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit fd099d17eceaa319fbfe429f4725328d88b18c9f
author iuc
date Thu, 10 Aug 2023 06:53:42 +0000
parents 4bedca26c133
children
files fastx_barcode_splitter.xml macros.xml
diffstat 2 files changed, 7 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/fastx_barcode_splitter.xml	Thu Oct 11 09:35:51 2018 -0400
+++ b/fastx_barcode_splitter.xml	Thu Aug 10 06:53:42 2023 +0000
@@ -1,4 +1,4 @@
-<tool id="cshl_fastx_barcode_splitter" version="1.0.1" name="Barcode Splitter">
+<tool id="cshl_fastx_barcode_splitter" version="1.0.1+galaxy@VERSION_SUFFIX@" profile="22.05" name="Barcode Splitter">
     <description></description>
     <macros>
         <import>macros.xml</import>
@@ -8,7 +8,7 @@
 mkdir split &&
 @CATS@ '$__tool_directory__/fastx_barcode_splitter.pl' --bcfile '$BARCODE'
 --prefix 'split/'
---suffix 
+--suffix
 #if $input.is_of_type('fastqsanger', 'fastqsanger.gz', 'fastqsanger.bz2'):
     '.fastqsanger'
 #elif $input.is_of_type('fastqsolexa', 'fastqsolexa.gz', 'fastqsolexa.bz2'):
@@ -78,7 +78,7 @@
                 <element name="unmatched" ftype="fastqsolexa" file="fastx_barcode_splitter1_unmatched.out" />
             </output_collection>
         </test>
-        
+
         <test>
           <!-- Split a FASTQ.gz file -->
           <param name="BARCODE" value="fastx_barcode_splitter1.txt" />
--- a/macros.xml	Thu Oct 11 09:35:51 2018 -0400
+++ b/macros.xml	Thu Aug 10 06:53:42 2023 +0000
@@ -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>
@@ -32,6 +34,7 @@
         </requirements>
     </xml>
     <token name="@VERSION@">0.0.14</token>
+    <token name="@VERSION_SUFFIX@">2</token>
     <token name="@SANGER@">fastqsanger,fastqsanger.gz,fastqsanger.bz2</token>
     <token name="@SOLEXA@">fastqsolexa,fastqsolexa.gz,fastqsolexa.bz2</token>
     <token name="@ILLUMINA@">fastqillumina,fastqillumina.gz,fastqillumina.bz2</token>