# HG changeset patch # User jtilman # Date 1375800573 -7200 # Node ID 12e4b3bb38c68e7015a0d13570ccc0a6250a498c # Parent d62311a7bac65f8cec247dc1d7e0a50949dfb796 Adjusted tool definition to Flexbar release 2.4 diff -r d62311a7bac6 -r 12e4b3bb38c6 flexbar.pl --- a/flexbar.pl Thu May 23 20:51:05 2013 +0200 +++ b/flexbar.pl Tue Aug 06 16:49:33 2013 +0200 @@ -1,6 +1,6 @@ #!/usr/bin/env perl -# Flexbar wrapper for Galaxy tool definition, version 2.34 +# Flexbar wrapper for Galaxy tool definition, version 2.4 # Author: Johannes Roehr use warnings; @@ -20,11 +20,12 @@ $fileType = $1 if /\.(\w+)$/; $fileType = $format if /\.\w*fast\w$/; $fileType = 'fasta' if /\.fasta$/; - $fileType = 'tabular' if $fileType eq 'lengthdist'; + $fileType = 'csfasta' if /\.csfasta$/; + $fileType = 'tabular' if /\.lengthdist$/; my $file = $_; - s/_//g; + s/_/-/g; my $name = "primary_". $id ."_". $_ ."_visible_". $fileType; diff -r d62311a7bac6 -r 12e4b3bb38c6 flexbar.xml --- a/flexbar.xml Thu May 23 20:51:05 2013 +0200 +++ b/flexbar.xml Tue Aug 06 16:49:33 2013 +0200 @@ -1,13 +1,14 @@ - + - + + flexible barcode and adapter removal - flexbar + flexbar flexbar --version @@ -26,32 +27,25 @@ #end if #end if - - #if $reads.ext == "fasta": - --format fasta - #end if - #if $reads.ext == "fastq": - --format fastq - #end if #if $reads.ext == "fastqsanger": - --format fastq-sanger + --format sanger #end if #if $reads.ext == "fastqsolexa": - --format fastq-solexa + --format solexa #end if #if $reads.ext == "fastqillumina": - --format fastq-i1.3 + --format i1.3 #end if #if $reads.ext == "csfasta": - --format csfasta + --color-space #end if #if $reads.ext == "fastqcssanger": - --format csfastq + --color-space #end if --max-uncalled $maxUncalled - --min-readlength $minReadLen + --min-read-length $minReadLen #if $trimEnds.select == "on": --pre-trim-left $trimEnds.trimLeft @@ -78,6 +72,8 @@ $cBarcodes.cbReads.bKeep #end if + $cBarcodes.bUnassigned + --barcode-trim-end $cBarcodes.bTrimEnd #if $cBarcodes.cbTailLen.select == "yes": @@ -88,7 +84,7 @@ --barcode-min-overlap $cBarcodes.cbMinOverlap.bMinOverlap #end if - --barcode-threshold $cBarcodes.bThresh + --barcode-threshold $cBarcodes.bThresh #if $cBarcodes.cbAlignScores.select == "yes": --barcode-match $bMatch @@ -114,6 +110,8 @@ --adapter-tail-length $cAdapters.caTailLen.aTailLen #end if + $cAdapters.aReadSet + --adapter-min-overlap $cAdapters.aMinOverlap --adapter-threshold $cAdapters.aThresh @@ -125,11 +123,14 @@ #end if + #if $cOutput.select == "show": + $cOutput.fastaOutput + $cOutput.lenDist + $cOutput.singleReads + #end if + #if $cLogging.select == "show": $cLogging.logLevel - $cLogging.singleReads - $cLogging.lenDist - $cLogging.fastaOutput $cLogging.numTags $cLogging.remTags $cLogging.rndTags @@ -140,6 +141,7 @@ + @@ -195,6 +197,7 @@ + @@ -210,6 +213,12 @@ + + + + + + @@ -217,6 +226,7 @@ + @@ -253,7 +263,7 @@ - + @@ -306,6 +316,12 @@ + + + + + + @@ -340,6 +356,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + @@ -356,21 +396,6 @@ - - - - - - - - - - - - - - - @@ -387,7 +412,7 @@ - + @@ -409,7 +434,7 @@ **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. Flexbar is available on the project_ page. +Flexbar preprocesses high-throughput sequencing data efficiently. It demultiplexes barcoded runs and removes adapter sequences. Moreover, trimming and filtering features are provided. Flexbar increases read 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. Flexbar is available on the project_ page. .. _project: https://sourceforge.net/projects/flexbar @@ -417,15 +442,15 @@ **Trim-end modes** -**Any:** longer part of read remains +**Any:** longer side of read remains after overlap removal -**Left:** align before or at read end, right part remains +**Left:** right side remains after removal, align before or at read end -**Right:** align after or at read start, left part remains +**Right:** left part remains after removal, align after or at read start -**Left tail:** consider first n bases, see tail-length options +**Left tail:** consider first n bases of reads in alignment -**Right tail:** use only last n bases of reads in alignment +**Right tail:** use only last n bases, see tail-length options ------