# HG changeset patch # User devteam # Date 1447263517 18000 # Node ID 8abdedf55101521cb18482d1fc346eb28b252673 # Parent c46a5807f2b6dbaf160e2eabdc6707f2399044f2 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit a1517c9d22029095120643bbe2c8fa53754dd2b7 diff -r c46a5807f2b6 -r 8abdedf55101 fastx_barcode_splitter.xml --- a/fastx_barcode_splitter.xml Tue Jun 03 14:50:45 2014 -0400 +++ b/fastx_barcode_splitter.xml Wed Nov 11 12:38:37 2015 -0500 @@ -1,42 +1,38 @@ - + fastx_toolkit - fastx_barcode_splitter_galaxy_wrapper.sh $BARCODE $input "$input.name" "$output.files_path" --mismatches $mismatches --partial $partial $EOL > $output + fastx_barcode_splitter_galaxy_wrapper.sh '$BARCODE' '$input' "$input.name" "$output.files_path" --mismatches $mismatches --partial $partial $EOL > '$output' + + + + - - - + + + + - - - - + - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + **What it does** This tool splits a Solexa library (FASTQ file) or a regular FASTA file into several files, using barcodes as the split criteria. @@ -50,11 +46,11 @@ Example:: #This line is a comment (starts with a 'number' sign) - BC1 GATCT - BC2 ATCGT - BC3 GTGAT + BC1 GATCT + BC2 ATCGT + BC3 GTGAT BC4 TGTCT - + For each barcode, a new FASTQ file will be created (with the barcode's identifier as part of the file name). Sequences matching the barcode will be stored in the appropriate file. @@ -72,7 +68,6 @@ This tool is based on `FASTX-toolkit`__ by Assaf Gordon. .. __: http://hannonlab.cshl.edu/fastx_toolkit/ - - + diff -r c46a5807f2b6 -r 8abdedf55101 fastx_barcode_splitter_galaxy_wrapper.sh --- a/fastx_barcode_splitter_galaxy_wrapper.sh Tue Jun 03 14:50:45 2014 -0400 +++ b/fastx_barcode_splitter_galaxy_wrapper.sh Wed Nov 11 12:38:37 2015 -0500 @@ -62,7 +62,7 @@ PREFIX="$BASEPATH""${LIBNAME}__" SUFFIX=".txt" -RESULTS=`zcat -f "$FASTQ_FILE" | fastx_barcode_splitter.pl --bcfile "$BARCODE_FILE" --prefix "$PREFIX" --suffix "$SUFFIX" "$@"` +RESULTS=`zcat -f < "$FASTQ_FILE" | fastx_barcode_splitter.pl --bcfile "$BARCODE_FILE" --prefix "$PREFIX" --suffix "$SUFFIX" "$@"` if [ $? != 0 ]; then echo "error" fi diff -r c46a5807f2b6 -r 8abdedf55101 tool_dependencies.xml --- a/tool_dependencies.xml Tue Jun 03 14:50:45 2014 -0400 +++ b/tool_dependencies.xml Wed Nov 11 12:38:37 2015 -0500 @@ -1,6 +1,6 @@ - +