# HG changeset patch # User jtilman # Date 1358443574 -3600 # Node ID 346a2b0979ea47ac783cca1767468ff8bb3aa7bc # Parent 4cbf6c6d2f2b71c9c4ca02e25457f1132c9126f9 Adjusted tool definition and wrapper to Flexbar 2.31 release. diff -r 4cbf6c6d2f2b -r 346a2b0979ea flexbar.pl --- a/flexbar.pl Thu Jan 17 18:09:44 2013 +0100 +++ b/flexbar.pl Thu Jan 17 18:26:14 2013 +0100 @@ -1,24 +1,25 @@ #!/usr/bin/env perl -# Author: Johannes T. Roehr +# Flexbar wrapper for Galaxy tool definition, version 2.31 +# Author: Johannes Roehr use warnings; use strict; - my ($outFile, $id, $folder, $format) = @ARGV[($#ARGV - 3) .. $#ARGV]; my $call = join " ", @ARGV[0..($#ARGV - 4)]; -system $call .' --target reads > '. $outFile and exit 1; +system $call .' --target FlexbarTargetFile > '. $outFile and exit 1; -foreach(){ +foreach(){ my $fileType; $fileType = $1 if /\.(\w+)$/; $fileType = $format if /\.\w*fast\w$/; + $fileType = 'fasta' if /\.fasta$/; $fileType = 'tabular' if $fileType eq 'lengthdist'; my $file = $_; diff -r 4cbf6c6d2f2b -r 346a2b0979ea flexbar.xml --- a/flexbar.xml Thu Jan 17 18:09:44 2013 +0100 +++ b/flexbar.xml Thu Jan 17 18:26:14 2013 +0100 @@ -1,12 +1,13 @@ - + + - + flexible barcode and adapter removal - flexbar + flexbar flexbar --version @@ -126,12 +127,11 @@ #if $cLogging.select == "show": $cLogging.logLevel - $cLogging.noLenDist - $cLogging.remTag - #end if - - #if $cLogging.select == "off": - --no-length-dist + $cLogging.singleReads + $cLogging.lenDist + $cLogging.fastaOutput + $cLogging.numTags + $cLogging.remTags #end if @@ -330,19 +330,34 @@ - - - - + + + + + + + + + - - + + - + + + + + + + + + + + - + @@ -351,11 +366,12 @@ - + -**Flexbar help** + +**Flexbar description** Flexbar_ is a program to preprocess sequencing data. It demultiplexes barcoded runs and removes adapter sequences. Further, basic read trimming and filtering options are provided. Flexbar increases mapping rates and improves genome and transcriptome assemblies. It supports next-generation sequencing data in fasta/q and csfasta/q format from Illumina, Roche 454, and the SOLiD platform. @@ -363,12 +379,6 @@ ------ -**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. - ------- - **Trim-end modes** **Any:** longer part of read remains @@ -383,6 +393,12 @@ ------ +**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. + +------ + **Documentation** .. class:: warningmark