Previous changeset 0:9258bc0db620 (2013-07-10) Next changeset 2:dd41f344987e (2013-07-10) |
Commit message:
Uploaded |
added:
trimmomatic.xml |
b |
diff -r 9258bc0db620 -r 21dda18cba86 trimmomatic.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/trimmomatic.xml Wed Jul 10 23:30:46 2013 -0400 |
[ |
b'@@ -0,0 +1,204 @@\n+<tool id="trimmomatic" name="Trimmomatic" version="1.0.0">\n+ \n+ <description>Trim adapters and otherwise cleanup fastq files in a pair aware manner</description>\n+ \n+ <command interpreter="perl">\n+ trimmomatic_wrapper.pl\n+ paired ${paired.is_paired}\n+ fwdfile ${paired.forwards_file}\n+ #if $paired.is_paired:\n+ revfile ${paired.reverse_file}\n+ #end if\n+ phred $phred\n+ cutadapt ${adapt.adapters}\n+ #if $adapt.adapters:\n+ adaptfile ${adapt.adapt_file}\n+ adaptseed ${adapt.adapt_seed}\n+ adaptpalindrome ${adapt.adapt_palindrome}\n+ adaptsimple ${adapt.adapt_simple}\n+ #end if\n+ slidingwindow ${sliding.slidingwindow}\n+ #if $sliding.slidingwindow:\n+ slidingsize ${sliding.slid_window}\n+ slidingqual ${sliding.slid_qual}\n+ #end if\n+ trimleading ${leading.trimleading}\n+ #if $leading.trimleading:\n+ leadingqual ${leading.lead_qual}\n+ #end if\n+ trimtrailing ${trailing.trimtrailing}\n+ #if $trailing.trimtrailing:\n+ trailingqual ${trailing.trail_qual}\n+ #end if\n+ crop ${crop.cropend}\n+ #if $crop.cropend:\n+ croplen ${crop.crop_len}\n+ #end if\n+ headcrop ${headcrop.headcrop_s}\n+ #if $headcrop.headcrop_s:\n+ headcroplen ${headcrop.headcrop_len}\n+ #end if\n+ minlen $minlen\n+ log $log\n+ #if $log == "True":\n+ logfile $logfile\n+ #end if\n+ singles $singles\n+ #if $paired.is_paired:\n+ fwdpairs $fwdpairs\n+ revpairs $revpairs\n+ #end if\n+ tool-dir ${GALAXY_DATA_INDEX_DIR}\n+ > $dummy_out\n+ </command>\n+ \n+ <inputs>\n+ \n+ <conditional name="paired">\n+ <param name="is_paired" type="boolean" checked="true" truevalue="paired" falsevalue="single" label="Paired end reads?" help="Do you have 2 separate paired end read files?"/>\n+ <when value="paired">\n+ <param name="forwards_file" type="data" format="fastq,fastqsanger,fastqsolexa,fastqillumina" label="Direction 1 fastq reads to trim"/>\n+ <param name="reverse_file" type="data" format="fastq,fastqsanger,fastqsolexa,fastqillumina" label="Direction 2 fastq reads to trim"/>\n+ </when>\n+ <when value="single">\n+ <param name="forwards_file" type="data" format="fastq,fastqsanger,fastqsolexa,fastqillumina" label="Fastq reads to trim"/>\n+ </when>\n+ </conditional>\n+ <param name="phred" type="select" label="Quality encoding." help="Phred33 or Phred 64, probably Phred64">\n+ <option value="phred64" selected="True">phred64</option>\n+ <option value="phred33">phred33</option>\n+ </param>\n+ \n+ <conditional name="adapt">\n+ <param name="adapters" type="boolean" checked="false" falsevalue="False" truevalue="True" label="Clip Illumina adapters?" help="Cut adapter and other illumina-specific sequences from the read."/>\n+ <when value="True">\n+ <param name="adapt_file" type="data" format="fasta" label="Fasta of adapters to clip" help="Please supply a list of adapters to clip"/>\n+ <param name="adapt_seed" type="integer" value="2" label="Seed mismatches" help="Specifies the maximum mismatch count which will still allow a full match to be performed."/>\n+ <param name="adapt_palindrome" type="integer" value="40" label="Palindrome clip threshold" help="Specifies how accurate the match between the two \'adapter ligated\' reads must be for PE palindrome read alignment."/>\n+ <param name="adapt_simple" type="integer"'..b'[\'is_paired\'])</filter>\n+ </data>\n+ <data name="singles" format="fastq" label="${tool.name} on ${on_string}: trimmed reads"/>\n+ <data name="dummy_out" format="tabular" label="${tool.name} on ${on_string}: DEBUG OUTPUT" hidden="True"/>\n+ </outputs>\n+ <help>\n+***Trimmomatic***\n+\n+A flexible read trimming tool for Illumina NGS data\n+\n+ \n+\n+Trimmomatic performs a variety of useful trimming tasks for illumina paired-end and single ended data.The selection of trimming steps and their associated parameters are supplied on the command line.\n+\n+The current trimming steps are:\n+\n+ILLUMINACLIP: Cut adapter and other illumina-specific sequences from the read.\n+\n+SLIDINGWINDOW: Perform a sliding window trimming, cutting once the average quality within the window falls below a threshold.\n+\n+LEADING: Cut bases off the start of a read, if below a threshold quality\n+\n+TRAILING: Cut bases off the end of a read, if below a threshold quality\n+\n+CROP: Cut the read to a specified length\n+\n+HEADCROP: Cut the specified number of bases from the start of the read\n+\n+MINLEN: Drop the read if it is below a specified length\n+\n+**The Adapter Fasta**\n+\n+Illumina adapter and other technical sequences are copyrighted by Illumina, which makes it illegal for us to make them available without a licence. As such, you need to get access to the illumina sequences from another source, and create an appropriate adapter FASTA.\n+\n+To make this fasta, you must first understand how it will be used. Trimmomatic uses two strategies for adapter trimming: Palindrome and Simple\n+\n+With \'simple\' trimming, each adapter sequence is tested against the reads, and if a sufficiently accurate match is detected, the read is clipped appropriately.\n+\n+\'Palindrome\' trimming is specifically designed for the case of \'reading through\' a short fragment into the adapter sequence on the other end. In this approach, the appropriate adapter sequences are \'in silico ligated\' onto the start of the reads, and the combined adapter+read sequences, forward and reverse are aligned. If they align in a manner which indicates \'read-through\', the forward read is clipped and the reverse read dropped (since it contains no new data).\n+\n+Naming of the sequences indicates how they should be used. For \'Palindrome\' clipping, the sequence names should both start with \'Prefix\', and end in \'/1\' for the forward adapter and \'/2\' for the reverse adapter.All other sequences are checked using \'simple\' mode. Sequences with names ending in \'/1\' or \'/2\' will be checked only against the forward or reverse read. All other sequences will be checked against both the forward and reverse read. If you want to check for the reverse-complement of a specific sequence, you need to specifically include the reverse-complemented form of the sequence as well, with another name.\n+\n+The thresholds used are a simplified log-likelihood approach. Each matching base adds just over 0.6, while each mismatch reduces the alignment score by Q/10. Therefore, a perfect match of a 20 base sequence will score just over 12, while 25 bases are needed to score 15. As such we recommend values between 12 - 15 for this parameter. For palindromic matches, the entire read sequence plus (partial) adapter sequences can be used - therefore this threshold can be higher, in the range of 30-40. The \'seed mismatch\' parameter is used to make alignments more efficient, specifying the maximum base mismatch count in the \'seed\' (16 bases). Typical values here are 1 or 2.\n+\n+**Citation**\n+\n+Lohse M, Bolger AM, Nagel A, Fernie AR, Lunn JE, Stitt M, Usadel B. RobiNA: a \n+user-friendly, integrated software solution for RNA-Seq-based transcriptomics.\n+Nucleic Acids Res. 2012 Jul;40(Web Server issue):W622-7.\n+\n+ \n+\n+**Contacts**\n+\n+Anthony Bolger bolger at mpimp-golm dot mpg dot de\n+\n+Federico M. Giorgi federico dot giorgi at gmail dot com\n+\n+Wrapped for Galaxy by:\n+\n+Simon Gladman (VBC/VLSCI) simon dot gladman at monash dot edu\n+ </help>\n+</tool>\n' |