# HG changeset patch # User rnateam # Date 1449823838 18000 # Node ID 25ebec14969a5206997ee82c8cf4eb364f3e7b0d # Parent c17588f80c6f028d72f3e2fb307e18ed01945511 Add RR/YY binary splitting diff -r c17588f80c6f -r 25ebec14969a RR_bcs.fa --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/RR_bcs.fa Fri Dec 11 03:50:38 2015 -0500 @@ -0,0 +1,4 @@ +>repA +RR +>repB +YY diff -r c17588f80c6f -r 25ebec14969a flexbar_split_RR_bcs.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/flexbar_split_RR_bcs.xml Fri Dec 11 03:50:38 2015 -0500 @@ -0,0 +1,107 @@ + + + + + + + + + using RR 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__/RR_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 RR (replicate A) and YY (replicate B) 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. + + + + diff -r c17588f80c6f -r 25ebec14969a flexbar_split_RYYR_bcs.xml --- a/flexbar_split_RYYR_bcs.xml Mon Nov 30 11:48:19 2015 -0500 +++ b/flexbar_split_RYYR_bcs.xml Fri Dec 11 03:50:38 2015 -0500 @@ -92,7 +92,7 @@ **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. +This tool splits paired-end reads according to an external set of barcode reads in RY IUPAC format according to patterns RYYR (replicate A) and YRRY (replicate B) using Flexbar. .. _project: https://github.com/seqan/flexbar