comparison trim_galore.xml @ 9:1bfc7254232e draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/trim_galore commit f971832d2b34a182314e5201ea6895dd207c5923
author bgruening
date Thu, 16 Mar 2017 13:48:46 -0400
parents f1e71aeaa923
children b4e39d993fc8
comparison
equal deleted inserted replaced
8:f1e71aeaa923 9:1bfc7254232e
1 <tool id="trim_galore" name="Trim Galore!" version="0.4.2"> 1 <tool id="trim_galore" name="Trim Galore!" version="0.4.2">
2 <!-- Wrapper compatible with Trim Galore! version 0.4 --> 2 <!-- Wrapper compatible with Trim Galore! version 0.4 -->
3 <description>adaptive quality and adapter trimmer</description> 3 <description>Quality and adapter trimmer of reads</description>
4 <macros> 4 <macros>
5 <macro name="adapter_trimming"> 5 <macro name="adapter_trimming">
6 <conditional name="trimming"> 6 <conditional name="trimming">
7 <param name="trimming_select" type="select" label="Trimming reads?"> 7 <param name="trimming_select" type="select" label="Adapter sequence to be trimmed">
8 <option value="">Automatic detection</option> 8 <option value="">Automatic detection</option>
9 <option value="--illumina">Illumina universal</option> 9 <option value="--illumina">Illumina universal</option>
10 <option value="--nextera">Nextera transposase</option> 10 <option value="--nextera">Nextera transposase</option>
11 <option value="--small_rna">Illumina small RNA adapters</option> 11 <option value="--small_rna">Illumina small RNA adapters</option>
12 <option value="user">User defined adapter trimming</option> 12 <option value="user">User defined adapter sequence</option>
13 </param> 13 </param>
14 <when value=""/> 14 <when value=""/>
15 <when value="--illumina"/> 15 <when value="--illumina"/>
16 <when value="--nextera"/> 16 <when value="--nextera"/>
17 <when value="--small_rna"/> 17 <when value="--small_rna"/>
34 <param name="three_prime_clip_R1" type="integer" value="" optional="True" label="Remove N bp from the 3' end of read 1"> 34 <param name="three_prime_clip_R1" type="integer" value="" optional="True" label="Remove N bp from the 3' end of read 1">
35 <help>Instructs Trim Galore! to remove N bp from the 3' end of read 1 after adapter/quality trimming has been performed. 35 <help>Instructs Trim Galore! to remove N bp from the 3' end of read 1 after adapter/quality trimming has been performed.
36 This may remove some unwanted bias from the 3' end that is not directly related to adapter sequence or basecall quality. 36 This may remove some unwanted bias from the 3' end that is not directly related to adapter sequence or basecall quality.
37 (--three_prime_clip_R1)</help> 37 (--three_prime_clip_R1)</help>
38 </param> 38 </param>
39 <param name="three_prime_clip_R2" type="integer" value="" optional="True" label="Remove N bp from the 3' end of read 1"> 39 <param name="three_prime_clip_R2" type="integer" value="" optional="True" label="Remove N bp from the 3' end of read 2">
40 <help>Instructs Trim Galore! to remove N bp from the 3' end of read 2 after 40 <help>Instructs Trim Galore! to remove N bp from the 3' end of read 2 after
41 adapter/quality trimming has been performed. This may remove some unwanted bias from 41 adapter/quality trimming has been performed. This may remove some unwanted bias from
42 the 3' end that is not directly related to adapter sequence or basecall quality. (--three_prime_clip_R2)</help> 42 the 3' end that is not directly related to adapter sequence or basecall quality.</help>
43 </param> 43 </param>
44 </macro> 44 </macro>
45 </macros> 45 </macros>
46 <requirements> 46 <requirements>
47 <!-- conda dependency --> 47 <!-- conda dependency -->
247 <option value="custom">Full parameter list</option> 247 <option value="custom">Full parameter list</option>
248 </param> 248 </param>
249 <when value="default" /> 249 <when value="default" />
250 <!-- Full/advanced params. --> 250 <!-- Full/advanced params. -->
251 <when value="custom"> 251 <when value="custom">
252 <param name="quality" type="integer" value="20" label="Trim low-quality ends from reads in addition to adapter removal" 252 <param name="quality" type="integer" value="20" label="Trim low-quality ends from reads in addition to adapter removal (Enter phred quality score threshold)"
253 help="For more information please see below." /> 253 help="For more information please see below." />
254 <param name="stringency" type="integer" value="1" label="Overlap with adapter sequence required to trim a sequence" /> 254 <param name="stringency" type="integer" value="1" label="Overlap with adapter sequence required to trim a sequence" />
255 <param name="error_rate" type="float" value="0.1" label="Maximum allowed error rate" /> 255 <param name="error_rate" type="float" value="0.1" label="Maximum allowed error rate" />
256 <param name="min_length" type="integer" value="20" label="Discard reads that became shorter than length INT" /> 256 <param name="min_length" type="integer" value="20" label="Discard reads that became shorter than length N" />
257 257
258 <param name="clip_R1" type="integer" optional="True" min="0" label="Instructs Trim Galore! to remove INT bp from the 5' end of read 1" /> 258 <param name="clip_R1" type="integer" optional="True" min="0" label="Instructs Trim Galore! to remove N bp from the 5' end of read 1" />
259 <param name="clip_R2" type="integer" optional="True" min="0" label="Instructs Trim Galore! to remove INT bp from the 5' end of read 2" /> 259 <param name="clip_R2" type="integer" optional="True" min="0" label="Instructs Trim Galore! to remove N bp from the 5' end of read 2 (Only for paired-end reads)" />
260 260
261 <param name="report" type="boolean" truevalue="true" falsevalue="false" checked="False" label="Generate a report file" help="" /> 261 <param name="report" type="boolean" truevalue="true" falsevalue="false" checked="False" label="Generate a report file" help="" />
262 262
263 <conditional name="retain_unpaired"> 263 <conditional name="retain_unpaired">
264 <param name="retain_unpaired_select" type="select" label="specify if you would like to retain unpaired reads"> 264 <param name="retain_unpaired_select" type="select" label="specify if you would like to retain unpaired reads">
285 <!-- Full/advanced params. --> 285 <!-- Full/advanced params. -->
286 <when value="custom"> 286 <when value="custom">
287 <param name="rrbs" type="boolean" truevalue="--rrbs" falsevalue="" checked="True" 287 <param name="rrbs" type="boolean" truevalue="--rrbs" falsevalue="" checked="True"
288 label="Specifies that the input file was an MspI digested RRBS sample" /> 288 label="Specifies that the input file was an MspI digested RRBS sample" />
289 <param name="non_directional" type="boolean" truevalue="--non_directional" falsevalue="" checked="False" 289 <param name="non_directional" type="boolean" truevalue="--non_directional" falsevalue="" checked="False"
290 label="Selecting this option for non-directional RRBS libraries" /> 290 label="Screen quality-trimmed sequences for 'CAA' or 'CGA' at the start of the read and, if found, removes the first two basepairs" />
291 </when> <!-- full --> 291 </when> <!-- full -->
292 </conditional> <!-- params --> 292 </conditional> <!-- params -->
293 293
294 </inputs> 294 </inputs>
295 <outputs> 295 <outputs>
416 * Trim Galore! can trim paired-end files by 1 additional bp from the 3' end of all reads to avoid problems with invalid alignments with Bowtie 1 416 * Trim Galore! can trim paired-end files by 1 additional bp from the 3' end of all reads to avoid problems with invalid alignments with Bowtie 1
417 417
418 .. _Trim Galore!: http://www.bioinformatics.babraham.ac.uk/projects/trim_galore/ 418 .. _Trim Galore!: http://www.bioinformatics.babraham.ac.uk/projects/trim_galore/
419 419
420 It is developed by Felix Krueger at the Babraham Institute. 420 It is developed by Felix Krueger at the Babraham Institute.
421 ]]> 421
422 ----
423
424 **Main Settings**
425
426 * **Adapter sequence to be trimmed**
427
428 * **Automatic detection**
429
430 | Adapter sequence to be trimmed. Trim Galore will try to auto-detect whether the Illumina universal, Nextera transposase or Illumina small RNA adapter sequence was used.
431
432 * **Illumina universal**
433
434 | Adapter sequence to be trimmed is the first 13bp of the Illumina universal adapter 'AGATCGGAAGAGC' instead of the default auto-detection of adapter sequence.
435 |
436 | *option --illumina*
437
438 * **Nextera transposase**
439
440 | Adapter sequence to be trimmed is the first 12bp of the Nextera adapter 'CTGTCTCTTATA' instead of the default auto-detection of adapter sequence.
441 |
442 | *option --nextera*
443
444 * **Illumina small RNA adapters**
445
446 | Adapter sequence to be trimmed is the first 12bp of the Illumina Small RNA 3' Adapter 'TGGAATTCTCGG' instead of the default auto-detection of adapter sequence. Selecting to trim smallRNA adapters will also lower the --length value to 18bp. If the smallRNA libraries are paired-end then -a2 will be set to the Illumina small RNA 5' adapter automatically (‘GATCGTCGGACT’) unless -a 2 had been defined explicitly.
447 |
448 | *option --small_rna*
449
450 * **User defined adapter trimming**
451
452 | Adapter sequence to be trimmed is the sequence entered by the user instead of the default auto-detection of adapter sequence.
453 |
454 | *option -a*
455
456 * **If Single-End Reads**
457
458 * **Remove <int> bp from the 3' end**
459
460 | <int> Instructs Trim Galore to remove <int> bp from the 3' end of read 1 (or single-end reads) AFTER adapter/quality trimming has been performed. This may remove some unwanted bias from the 3' end that is not directly related to adapter sequence or basecall quality. Default: OFF.
461 |
462 | *option --three_prime_clip_R1*
463
464 * **If Paired-End Reads**
465
466 * **Trims 1 bp off every read from its 3' end**
467
468 | This may be needed for FastQ files that are to be aligned as paired-end data with Bowtie. This is because Bowtie (1) regards alignments like this:
469 |
470 | R1 --------------------------->
471 | R2 <---------------------------
472 |
473 | or this:
474 |
475 | R1 ----------------------->
476 | R2 <-----------------
477 |
478 | as invalid (whenever a start/end coordinate is contained within the other read).
479 |
480 | *option --t*
481
482 * **Remove <int> bp from the 3' end of read 1**
483
484 | <int> Instructs Trim Galore to remove <int> bp from the 3' end of read 1 (or single-end reads) AFTER adapter/quality trimming has been performed. This may remove some unwanted bias from the 3' end that is not directly related to adapter sequence or basecall quality. Default: OFF.
485 |
486 | *option --three_prime_clip_R1*
487
488 * **Remove <int> bp from the 3' end of read 2**
489
490 | <int> Instructs Trim Galore to remove <int> bp from the 3' end of read 2 AFTER adapter/quality trimming has been performed. This may remove some unwanted bias from the 3' end that is not directly related to adapter sequence or basecall quality. Default: OFF.
491 |
492 | *option --three_prime_clip_R2*
493
494 ----
495
496 **Advanced Settings**
497
498 * **Trim low-quality ends from reads in addition to adapter removal**
499
500 | For RRBS samples, quality trimming will be performed first, and adapter trimming is carried in a second round. Other files are quality and adapter trimmed in a single pass. The algorithm is the same as the one used by BWA (Subtract <INT> from all qualities; compute partial sums from all indices to the end of the sequence; cut sequence at the index at which the sum is minimal). Default Phred score: 20.
501 |
502 | *option -q*
503
504 * **Overlap with adapter sequence required to trim a sequence**
505
506 | Defaults to a very stringent setting of '1', i.e. even a single bp of overlapping sequence will be trimmed of the 3' end of any read.
507 |
508 | *option -s*
509
510 * **Maximum allowed error rate**
511
512 | (no. of errors divided by the length of the matching region) (default: 0.1).
513 |
514 | *option -e*
515
516 * **Discard reads that became shorter than length <INT>**
517
518 | because of either quality or adapter trimming. A value of '0' effectively disables this behaviour. Default: 20 bp.
519 |
520 | For paired-end files, both reads of a read-pair need to be longer than <INT> bp to be printed out to validated paired-end files (see option --paired). If only one read became too short there is the possibility of keeping such unpaired single-end reads (see --retain_unpaired). Default pair-cutoff: 20 bp.
521 |
522 | *option --length*
523
524 * **Instructs Trim Galore! to remove INT bp from the 5' end of read 1**
525
526 | Instructs Trim Galore to remove <INT> bp from the 5' end of read 1 (or single-end reads). This may be useful if the qualities were very poor, or if there is some sort of unwanted bias at the 5' end. Default: OFF.
527 |
528 | *option --clip_R1*
529
530 * **Instructs Trim Galore! to remove INT bp from the 5' end of read 2**
531
532 | Instructs Trim Galore to remove <int> bp from the 5' end of read 2 (paired-end reads only). This may be useful if the qualities were very poor, or if there is some sort of unwanted bias at the 5' end. For paired-end BS-Seq, it is recommended to remove the first few bp because the end-repair reaction may introduce a bias towards low methylation. Please refer to the M-bias plot section in the Bismark User Guide for some examples. Default: OFF.
533 |
534 | *option --clip_R2*
535
536 * **Specify if you would like to retain unpaired reads**
537
538 | If only one of the two paired-end reads became too short, the longer read will be written to either '.unpaired_1.fq' or '.unpaired_2.fq' output files. The length cutoff for unpaired single-end reads is governed by the parameters -r1/--length_1 and -r2/--length_2. Default: OFF.
539 |
540 | *option --retained_unpaired*
541
542 ----
543
544 **RRBS specific settings**
545
546 * **Specifies that the input file was an MspI digested RRBS sample (recognition site: CCGG)**
547
548 | Sequences which were adapter-trimmed will have a further 2 bp removed from their 3' end. This is to avoid that the filled-in C close to the second MspI site in a sequence is used for methylation calls. Sequences which were merely trimmed because of poor quality will not be shortened further.
549 |
550 | *option -rrbs*
551
552 * **Screen quality-trimmed sequences for 'CAA' or 'CGA' at the start of the read and, if found, removes the first two basepairs**
553
554 | Selecting this option for non-directional RRBS libraries will screen quality-trimmed sequences for 'CAA' or 'CGA' at the start of the read and, if found, removes the first two basepairs. Like with the option '--rrbs' this avoids using cytosine positions that were filled-in during the end-repair step. '--non_directional' requires '--rrbs' to be specified as well.
555 |
556 | *option --non_directional*]]>
422 </help> 557 </help>
423 <citations></citations> 558 <citations></citations>
424 </tool> 559 </tool>