# HG changeset patch # User iuc # Date 1539264934 14400 # Node ID da00153634dc49079452bafda2556fb7a7561e5b # Parent e3d91cb9f1963eb261b9d1a7c7304bbdd058ef09 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit b2735803f9719ff955a49a5bde54a211d6d48bb5 diff -r e3d91cb9f196 -r da00153634dc fastx_barcode_splitter.xml --- a/fastx_barcode_splitter.xml Tue May 08 12:50:59 2018 -0400 +++ b/fastx_barcode_splitter.xml Thu Oct 11 09:35:34 2018 -0400 @@ -8,7 +8,18 @@ mkdir split && @CATS@ '$__tool_directory__/fastx_barcode_splitter.pl' --bcfile '$BARCODE' --prefix 'split/' ---suffix '.$input.extension' +--suffix +#if $input.is_of_type('fastqsanger', 'fastqsanger.gz', 'fastqsanger.bz2'): + '.fastqsanger' +#elif $input.is_of_type('fastqsolexa', 'fastqsolexa.gz', 'fastqsolexa.bz2'): + '.fastqsolexa' +#elif $input.is_of_type('fastqillumina', 'fastqillumina.gz', 'fastqillumina.bz2'): + '.fastqillumina' +#elif $input.is_of_type('fasta', 'fasta.gz'): + '.fasta' +#else: + '.$input.extension' +#end if --mismatches $mismatches --partial $partial #if $refBarcodeLocation.barcodeLocation == "idxfile": @@ -21,8 +32,7 @@ ]]> - - + @@ -46,7 +56,7 @@ - + @@ -68,6 +78,23 @@ + + + + + + + + + + + + + + + + + diff -r e3d91cb9f196 -r da00153634dc macros.xml --- a/macros.xml Tue May 08 12:50:59 2018 -0400 +++ b/macros.xml Thu Oct 11 09:35:34 2018 -0400 @@ -2,7 +2,7 @@ #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,13 @@ #end if ]]> + + + fastx_toolkit diff -r e3d91cb9f196 -r da00153634dc test-data/fastx_barcode_splitter1.fastq.gz Binary file test-data/fastx_barcode_splitter1.fastq.gz has changed