# HG changeset patch # User rnateam # Date 1447778145 18000 # Node ID 17603d9eee69e3e0f11b3bc0ae56f0fe3234fd6c # Parent b994884d55416bdad917b5c246dbab9123672711 Uploaded diff -r b994884d5541 -r 17603d9eee69 flexbar_split_RYYR_bcs.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/flexbar_split_RYYR_bcs.xml Tue Nov 17 11:35:45 2015 -0500 @@ -0,0 +1,107 @@ + + + + + + + + + using RYYR IUPAC pattern. + + + flexbar + + + flexbar --version + + + + flexbar + + --threads \${GALAXY_SLOTS:-1} + + --reads $reads + + --reads2 $reads2 + + #if $reads.ext == "fastqsanger": + --format sanger + #end if + #if $reads.ext == "fastqsolexa": + --format solexa + #end if + #if $reads.ext == "fastqillumina": + --format i1.3 + #end if + #if $reads.ext == "csfasta": + --color-space + #end if + #if $reads.ext == "fastqcssanger": + --color-space + #end if + + --barcodes $__tool_directory__/RYYR_bcs.fa + + --barcode-reads $bReads + + --barcode-threshold $bThresh + + --max-uncalled $maxUncalled + --min-read-length $minReadLen + + > $output; + + mv flexbar_barcode_repA_1.fastq $output_repA_1; + mv flexbar_barcode_repA_2.fastq $output_repA_2; + mv flexbar_barcode_repB_1.fastq $output_repB_1; + mv flexbar_barcode_repB_2.fastq $output_repB_2; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +**Description** + +This tool splits paired-end reads according to an external set of barcode reads in RY IUPAC format according to patterns RYYR and YRRY using Flexbar. + +.. _project: https://github.com/seqan/flexbar + +------ + +**Reference** + +Matthias Dodt, Johannes T. Roehr, Rina Ahmed, Christoph Dieterich: Flexbar — flexible barcode and adapter processing for next-generation sequencing platforms. Biology 2012, 1(3):895-905. + + + +