# HG changeset patch # User iuc # Date 1539264951 14400 # Node ID 4bedca26c1336c76f5da0d4da5e35e18adc7034b # Parent 015dc921d814eaa5bb0bbf7dfff7da2e6000cd45 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit b2735803f9719ff955a49a5bde54a211d6d48bb5 diff -r 015dc921d814 -r 4bedca26c133 fastx_barcode_splitter.xml --- a/fastx_barcode_splitter.xml Tue May 08 13:27:14 2018 -0400 +++ b/fastx_barcode_splitter.xml Thu Oct 11 09:35:51 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 015dc921d814 -r 4bedca26c133 macros.xml --- a/macros.xml Tue May 08 13:27:14 2018 -0400 +++ b/macros.xml Thu Oct 11 09:35:51 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 015dc921d814 -r 4bedca26c133 test-data/fastx_barcode_splitter1.fastq.gz Binary file test-data/fastx_barcode_splitter1.fastq.gz has changed