Mercurial > repos > pjbriggs > trimmomatic
annotate trimmomatic.xml @ 16:9a38087e3bfd draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/packages/trimmomatic commit ab36e4731731f12cce0e7d7cc3b50ba6a0bab1ef
author | iuc |
---|---|
date | Sun, 14 Jan 2024 11:00:33 +0000 |
parents | 32f1f56bd970 |
children | b9aaed85cbd1 |
rev | line source |
---|---|
15
32f1f56bd970
Updated for Trimmomatic 0.39 and adds quality score options.
pjbriggs
parents:
14
diff
changeset
|
1 <tool id="trimmomatic" name="Trimmomatic" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@"> |
0 | 2 <description>flexible read trimming tool for Illumina NGS data</description> |
5
f80107cdc406
Updated to 0.36.1: Reimplement to work with bioconda Trimmomatic 0.36 (toolshed version is still supported for now).
pjbriggs
parents:
4
diff
changeset
|
3 <macros> |
f80107cdc406
Updated to 0.36.1: Reimplement to work with bioconda Trimmomatic 0.36 (toolshed version is still supported for now).
pjbriggs
parents:
4
diff
changeset
|
4 <import>trimmomatic_macros.xml</import> |
f80107cdc406
Updated to 0.36.1: Reimplement to work with bioconda Trimmomatic 0.36 (toolshed version is still supported for now).
pjbriggs
parents:
4
diff
changeset
|
5 </macros> |
3
f8a9a5eaca8a
Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents:
2
diff
changeset
|
6 <requirements> |
15
32f1f56bd970
Updated for Trimmomatic 0.39 and adds quality score options.
pjbriggs
parents:
14
diff
changeset
|
7 <requirement type="package" version="@TOOL_VERSION@">trimmomatic</requirement> |
14
d94aff5ee623
Version 0.38.1: add coreutils as dependency to fix tool issues with 'readlink -e' across platforms.
pjbriggs
parents:
13
diff
changeset
|
8 <!-- |
d94aff5ee623
Version 0.38.1: add coreutils as dependency to fix tool issues with 'readlink -e' across platforms.
pjbriggs
parents:
13
diff
changeset
|
9 Coreutils required for 'readlink -e' work across platforms |
d94aff5ee623
Version 0.38.1: add coreutils as dependency to fix tool issues with 'readlink -e' across platforms.
pjbriggs
parents:
13
diff
changeset
|
10 See similar fix for snpSift |
d94aff5ee623
Version 0.38.1: add coreutils as dependency to fix tool issues with 'readlink -e' across platforms.
pjbriggs
parents:
13
diff
changeset
|
11 https://github.com/galaxyproject/tools-iuc/commit/b5e2080a7afdea9fa476895693b6115824c6fbb9 |
d94aff5ee623
Version 0.38.1: add coreutils as dependency to fix tool issues with 'readlink -e' across platforms.
pjbriggs
parents:
13
diff
changeset
|
12 --> |
16
9a38087e3bfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/packages/trimmomatic commit ab36e4731731f12cce0e7d7cc3b50ba6a0bab1ef
iuc
parents:
15
diff
changeset
|
13 <requirement type="package" version="9.4">coreutils</requirement> |
3
f8a9a5eaca8a
Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents:
2
diff
changeset
|
14 </requirements> |
6
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
15 <command detect_errors="aggressive"><![CDATA[ |
5
f80107cdc406
Updated to 0.36.1: Reimplement to work with bioconda Trimmomatic 0.36 (toolshed version is still supported for now).
pjbriggs
parents:
4
diff
changeset
|
16 @CONDA_TRIMMOMATIC_JAR_PATH@ && |
f80107cdc406
Updated to 0.36.1: Reimplement to work with bioconda Trimmomatic 0.36 (toolshed version is still supported for now).
pjbriggs
parents:
4
diff
changeset
|
17 @CONDA_TRIMMOMATIC_ADAPTERS_PATH@ && |
6
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
18 #if $readtype.single_or_paired == "pair_of_files" |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
19 #set r1_ext = $readtype.fastq_r1_in.extension |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
20 #set r2_ext = $readtype.fastq_r2_in.extension |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
21 ln -s '$readtype.fastq_r1_in' fastq_r1.'$r1_ext' && |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
22 ln -s '$readtype.fastq_r2_in' fastq_r2.'$r2_ext' && |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
23 #elif $readtype.single_or_paired == "collection" |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
24 #set r1_ext = $readtype.fastq_pair.forward.extension |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
25 #set r2_ext = $readtype.fastq_pair.reverse.extension |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
26 ln -s '$readtype.fastq_pair.forward' fastq_r1.'$r1_ext' && |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
27 ln -s '$readtype.fastq_pair.reverse' fastq_r2.'$r2_ext' && |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
28 #else |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
29 ln -s '$fastq_in' fastq_in.'$fastq_in.extension' && |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
30 #end if |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
31 java \${_JAVA_OPTIONS:--Xmx8G} -jar \$TRIMMOMATIC_JAR_PATH/trimmomatic.jar |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
32 #if $readtype.single_or_paired in ["pair_of_files","collection"] |
11
59054f086eca
Version 0.36.6 (output logs and handle fastqillumina and fastqsolexa inputs)
pjbriggs
parents:
10
diff
changeset
|
33 PE -threads \${GALAXY_SLOTS:-6} |
6
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
34 fastq_r1.'$r1_ext' fastq_r2.'$r2_ext' |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
35 fastq_out_r1_paired.'$r1_ext' fastq_out_r1_unpaired.'$r1_ext' |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
36 fastq_out_r2_paired.'$r2_ext' fastq_out_r2_unpaired.'$r2_ext' |
0 | 37 #else |
11
59054f086eca
Version 0.36.6 (output logs and handle fastqillumina and fastqsolexa inputs)
pjbriggs
parents:
10
diff
changeset
|
38 SE -threads \${GALAXY_SLOTS:-6} fastq_in.'$fastq_in.extension' fastq_out.'$fastq_in.extension' |
0 | 39 #end if |
40 ## ILLUMINACLIP option | |
16
9a38087e3bfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/packages/trimmomatic commit ab36e4731731f12cce0e7d7cc3b50ba6a0bab1ef
iuc
parents:
15
diff
changeset
|
41 #if $illuminaclip.do_illuminaclip == "yes" |
8 | 42 #if $illuminaclip.adapter_type.standard_or_custom == "custom" |
43 #if $readtype.single_or_paired in ["pair_of_files","collection"] | |
44 ILLUMINACLIP:$adapter_file_from_text:$illuminaclip.seed_mismatches:$illuminaclip.palindrome_clip_threshold:$illuminaclip.simple_clip_threshold:$illuminaclip.min_adapter_len:$illuminaclip.keep_both_reads | |
45 #else | |
46 ILLUMINACLIP:$adapter_file_from_text:$illuminaclip.seed_mismatches:$illuminaclip.palindrome_clip_threshold:$illuminaclip.simple_clip_threshold | |
47 #end if | |
48 #else | |
49 #if $readtype.single_or_paired in ["pair_of_files","collection"] | |
50 ILLUMINACLIP:\$TRIMMOMATIC_ADAPTERS_PATH/$illuminaclip.adapter_type.adapter_fasta:$illuminaclip.seed_mismatches:$illuminaclip.palindrome_clip_threshold:$illuminaclip.simple_clip_threshold:$illuminaclip.min_adapter_len:$illuminaclip.keep_both_reads | |
51 #else | |
52 ILLUMINACLIP:\$TRIMMOMATIC_ADAPTERS_PATH/$illuminaclip.adapter_type.adapter_fasta:$illuminaclip.seed_mismatches:$illuminaclip.palindrome_clip_threshold:$illuminaclip.simple_clip_threshold | |
53 #end if | |
54 #end if | |
0 | 55 #end if |
56 ## Other operations | |
57 #for $op in $operations | |
58 ## SLIDINGWINDOW | |
59 #if str( $op.operation.name ) == "SLIDINGWINDOW" | |
60 SLIDINGWINDOW:$op.operation.window_size:$op.operation.required_quality | |
61 #end if | |
62 ## MINLEN:36 | |
63 #if str( $op.operation.name ) == "MINLEN" | |
64 MINLEN:$op.operation.minlen | |
65 #end if | |
66 #if str( $op.operation.name ) == "LEADING" | |
67 LEADING:$op.operation.leading | |
68 #end if | |
69 #if str( $op.operation.name ) == "TRAILING" | |
70 TRAILING:$op.operation.trailing | |
71 #end if | |
72 #if str( $op.operation.name ) == "CROP" | |
73 CROP:$op.operation.crop | |
74 #end if | |
75 #if str( $op.operation.name ) == "HEADCROP" | |
76 HEADCROP:$op.operation.headcrop | |
77 #end if | |
4 | 78 #if str( $op.operation.name ) == "AVGQUAL" |
79 AVGQUAL:$op.operation.avgqual | |
80 #end if | |
81 #if str( $op.operation.name ) == "MAXINFO" | |
82 MAXINFO:$op.operation.target_length:$op.operation.strictness | |
83 #end if | |
0 | 84 #end for |
11
59054f086eca
Version 0.36.6 (output logs and handle fastqillumina and fastqsolexa inputs)
pjbriggs
parents:
10
diff
changeset
|
85 #if $output_logs: |
59054f086eca
Version 0.36.6 (output logs and handle fastqillumina and fastqsolexa inputs)
pjbriggs
parents:
10
diff
changeset
|
86 -trimlog trimlog |
59054f086eca
Version 0.36.6 (output logs and handle fastqillumina and fastqsolexa inputs)
pjbriggs
parents:
10
diff
changeset
|
87 #end if |
15
32f1f56bd970
Updated for Trimmomatic 0.39 and adds quality score options.
pjbriggs
parents:
14
diff
changeset
|
88 #if $quality_score |
32f1f56bd970
Updated for Trimmomatic 0.39 and adds quality score options.
pjbriggs
parents:
14
diff
changeset
|
89 $quality_score |
32f1f56bd970
Updated for Trimmomatic 0.39 and adds quality score options.
pjbriggs
parents:
14
diff
changeset
|
90 #end if |
5
f80107cdc406
Updated to 0.36.1: Reimplement to work with bioconda Trimmomatic 0.36 (toolshed version is still supported for now).
pjbriggs
parents:
4
diff
changeset
|
91 2>&1 | tee trimmomatic.log && |
f80107cdc406
Updated to 0.36.1: Reimplement to work with bioconda Trimmomatic 0.36 (toolshed version is still supported for now).
pjbriggs
parents:
4
diff
changeset
|
92 if [ -z "\$(tail -1 trimmomatic.log | grep "Completed successfully")" ]; then echo "Trimmomatic did not finish successfully" >&2 ; exit 1 ; fi |
6
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
93 && |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
94 #if $readtype.single_or_paired == "pair_of_files" |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
95 mv fastq_out_r1_paired.'$r1_ext' '${fastq_out_r1_paired}' && |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
96 mv fastq_out_r1_unpaired.'$r1_ext' '${fastq_out_r1_unpaired}' && |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
97 mv fastq_out_r2_paired.'$r2_ext' '${fastq_out_r2_paired}' && |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
98 mv fastq_out_r2_unpaired.'$r2_ext' '${fastq_out_r2_unpaired}' |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
99 #elif $readtype.single_or_paired == "collection" |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
100 mv fastq_out_r1_paired.'$r1_ext' '${fastq_out_paired.forward}' && |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
101 mv fastq_out_r1_unpaired.'$r1_ext' '${fastq_out_unpaired.forward}' && |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
102 mv fastq_out_r2_paired.'$r2_ext' '${fastq_out_paired.reverse}' && |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
103 mv fastq_out_r2_unpaired.'$r2_ext' '${fastq_out_unpaired.reverse}' |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
104 #else |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
105 mv fastq_out.'$fastq_in.extension' '${fastq_out}' |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
106 #end if |
3
f8a9a5eaca8a
Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents:
2
diff
changeset
|
107 ]]></command> |
8 | 108 <configfiles> |
109 <configfile name="adapter_file_from_text">#set from_text_area = '' | |
110 #if str( $illuminaclip.do_illuminaclip ) == "yes" and str( $illuminaclip.adapter_type.standard_or_custom ) == "custom": | |
111 #set from_text_area = $illuminaclip.adapter_type.adapter_text | |
112 #end if | |
113 ${from_text_area}</configfile> | |
114 </configfiles> | |
115 | |
0 | 116 <inputs> |
6
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
117 <conditional name="readtype"> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
118 <param name="single_or_paired" type="select" label="Single-end or paired-end reads?"> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
119 <option value="se" selected="true">Single-end</option> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
120 <option value="pair_of_files">Paired-end (two separate input files)</option> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
121 <option value="collection">Paired-end (as collection)</option> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
122 </param> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
123 <when value="se"> |
11
59054f086eca
Version 0.36.6 (output logs and handle fastqillumina and fastqsolexa inputs)
pjbriggs
parents:
10
diff
changeset
|
124 <param name="fastq_in" type="data" format="fastqsanger,fastqsanger.gz,fastqillumina,fastqillumina.gz,fastqsolexa,fastqsolexa.gz" label="Input FASTQ file" /> |
0 | 125 </when> |
6
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
126 <when value="pair_of_files"> |
11
59054f086eca
Version 0.36.6 (output logs and handle fastqillumina and fastqsolexa inputs)
pjbriggs
parents:
10
diff
changeset
|
127 <param name="fastq_r1_in" type="data" format="fastqsanger,fastqsanger.gz,fastqillumina,fastqillumina.gz,fastqsolexa,fastqsolexa.gz" |
6
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
128 label="Input FASTQ file (R1/first of pair)" /> |
11
59054f086eca
Version 0.36.6 (output logs and handle fastqillumina and fastqsolexa inputs)
pjbriggs
parents:
10
diff
changeset
|
129 <param name="fastq_r2_in" type="data" format="fastqsanger,fastqsanger.gz,fastqillumina,fastqillumina.gz,fastqsolexa,fastqsolexa.gz" |
6
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
130 label="Input FASTQ file (R2/second of pair)" /> |
0 | 131 </when> |
6
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
132 <when value="collection"> |
11
59054f086eca
Version 0.36.6 (output logs and handle fastqillumina and fastqsolexa inputs)
pjbriggs
parents:
10
diff
changeset
|
133 <param name="fastq_pair" format="fastqsanger,fastqsanger.gz,fastqillumina,fastqillumina.gz,fastqsolexa,fastqsolexa.gz" type="data_collection" collection_type="paired" label="Select FASTQ dataset collection with R1/R2 pair" /> |
6
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
134 </when> |
0 | 135 </conditional> |
136 <conditional name="illuminaclip"> | |
16
9a38087e3bfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/packages/trimmomatic commit ab36e4731731f12cce0e7d7cc3b50ba6a0bab1ef
iuc
parents:
15
diff
changeset
|
137 <param name="do_illuminaclip" type="select" label="Perform initial ILLUMINACLIP step?" help="Cut adapter and other illumina-specific sequences from the read"> |
9a38087e3bfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/packages/trimmomatic commit ab36e4731731f12cce0e7d7cc3b50ba6a0bab1ef
iuc
parents:
15
diff
changeset
|
138 <option value="no" selected="true">no</option> |
9a38087e3bfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/packages/trimmomatic commit ab36e4731731f12cce0e7d7cc3b50ba6a0bab1ef
iuc
parents:
15
diff
changeset
|
139 <option value="yes">yes</option> |
9a38087e3bfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/packages/trimmomatic commit ab36e4731731f12cce0e7d7cc3b50ba6a0bab1ef
iuc
parents:
15
diff
changeset
|
140 </param> |
6
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
141 <when value="yes"> |
8 | 142 <conditional name="adapter_type"> |
143 <param name="standard_or_custom" type="select" label="Select standard adapter sequences or provide custom?"> | |
144 <option value="standard" selected="true">Standard</option> | |
145 <option value="custom">Custom</option> | |
146 </param> | |
147 <when value="standard"> | |
148 <param name="adapter_fasta" type="select" label="Adapter sequences to use"> | |
149 <option value="TruSeq2-SE.fa">TruSeq2 (single-ended, for Illumina GAII)</option> | |
150 <option value="TruSeq3-SE.fa">TruSeq3 (single-ended, for MiSeq and HiSeq)</option> | |
151 <option value="TruSeq2-PE.fa">TruSeq2 (paired-ended, for Illumina GAII)</option> | |
152 <option value="TruSeq3-PE.fa">TruSeq3 (paired-ended, for MiSeq and HiSeq)</option> | |
153 <option value="TruSeq3-PE-2.fa">TruSeq3 (additional seqs) (paired-ended, for MiSeq and HiSeq)</option> | |
154 <option value="NexteraPE-PE.fa">Nextera (paired-ended)</option> | |
155 </param> | |
156 </when> | |
157 <when value="custom"> | |
158 <param name="adapter_text" type="text" area="True" size="10x30" value="" | |
159 label="Custom adapter sequences in fasta format" help="Write sequences in the fasta format."> | |
160 <sanitizer> | |
161 <valid initial="string.printable"></valid> | |
162 <mapping initial="none"/> | |
163 </sanitizer> | |
164 </param> | |
165 </when> | |
166 </conditional> | |
6
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
167 <param name="seed_mismatches" type="integer" label="Maximum mismatch count which will still allow a full match to be performed" value="2" /> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
168 <param name="palindrome_clip_threshold" type="integer" label="How accurate the match between the two 'adapter ligated' reads must be for PE palindrome read alignment" value="30" /> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
169 <param name="simple_clip_threshold" type="integer" label="How accurate the match between any adapter etc. sequence must be against a read" value="10" /> |
8 | 170 <param name="min_adapter_len" type="integer" label="Minimum length of adapter that needs to be detected (PE specific/palindrome mode)" value="8" /> |
171 <param name="keep_both_reads" type="boolean" label="Always keep both reads (PE specific/palindrome mode)?" truevalue="true" falsevalue="false" checked="true" | |
172 help="See help below"/> | |
6
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
173 </when> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
174 <when value="no" /> <!-- empty clause to satisfy planemo lint --> |
0 | 175 </conditional> |
176 <repeat name="operations" title="Trimmomatic Operation" min="1"> | |
177 <conditional name="operation"> | |
6
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
178 <param name="name" type="select" label="Select Trimmomatic operation to perform"> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
179 <option selected="true" value="SLIDINGWINDOW">Sliding window trimming (SLIDINGWINDOW)</option> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
180 <option value="MINLEN">Drop reads below a specified length (MINLEN)</option> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
181 <option value="LEADING">Cut bases off the start of a read, if below a threshold quality (LEADING)</option> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
182 <option value="TRAILING">Cut bases off the end of a read, if below a threshold quality (TRAILING)</option> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
183 <option value="CROP">Cut the read to a specified length (CROP)</option> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
184 <option value="HEADCROP">Cut the specified number of bases from the start of the read (HEADCROP)</option> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
185 <option value="AVGQUAL">Drop reads with average quality lower than a specified level (AVGQUAL)</option> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
186 <option value="MAXINFO">Trim reads adaptively, balancing read length and error rate to maximise the value of each read (MAXINFO)</option> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
187 </param> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
188 <when value="SLIDINGWINDOW"> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
189 <param name="window_size" type="integer" label="Number of bases to average across" value="4" /> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
190 <param name="required_quality" type="integer" label="Average quality required" value="20" /> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
191 </when> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
192 <when value="MINLEN"> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
193 <param name="minlen" type="integer" label="Minimum length of reads to be kept" value="20" /> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
194 </when> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
195 <when value="LEADING"> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
196 <param name="leading" type="integer" label="Minimum quality required to keep a base" value="3" help="Bases at the start of the read with quality below the threshold will be removed" /> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
197 </when> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
198 <when value="TRAILING"> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
199 <param name="trailing" type="integer" label="Minimum quality required to keep a base" value="3" help="Bases at the end of the read with quality below the threshold will be removed" /> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
200 </when> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
201 <when value="CROP"> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
202 <param name="crop" type="integer" label="Number of bases to keep from the start of the read" value="" /> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
203 </when> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
204 <when value="HEADCROP"> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
205 <param name="headcrop" type="integer" label="Number of bases to remove from the start of the read" value="" /> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
206 </when> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
207 <when value="AVGQUAL"> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
208 <param name="avgqual" type="integer" label="Minimum average quality required to keep a read" value="" /> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
209 </when> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
210 <when value="MAXINFO"> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
211 <param name="target_length" type="integer" label="Target read length" value="" help="The read length which is likely to allow the location of the read within the target sequence to be determined." /> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
212 <param name="strictness" type="float" label="Strictness" value="" help="Set between zero and one - specifies the balance between preserving read length versus removal of incorrect bases; low values (<0.2) favours longer reads, high values (>0.8) favours read correctness." /> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
213 </when> |
0 | 214 </conditional> |
215 </repeat> | |
15
32f1f56bd970
Updated for Trimmomatic 0.39 and adds quality score options.
pjbriggs
parents:
14
diff
changeset
|
216 <param name="quality_score" type="select" optional="true" label="Quality score encoding" help="The phred+64 encoding works the same as the phred+33 encoding, except you add 64 to the phred score to determine the ascii code of the quality character. You will only find phred+64 encoding on older |
32f1f56bd970
Updated for Trimmomatic 0.39 and adds quality score options.
pjbriggs
parents:
14
diff
changeset
|
217 data, which was sequenced several years ago. FASTQC can be used in order to identify the encoding type."> |
32f1f56bd970
Updated for Trimmomatic 0.39 and adds quality score options.
pjbriggs
parents:
14
diff
changeset
|
218 <option value="-phred33">Phred33</option> |
32f1f56bd970
Updated for Trimmomatic 0.39 and adds quality score options.
pjbriggs
parents:
14
diff
changeset
|
219 <option value="-phred64">Phred64</option> |
32f1f56bd970
Updated for Trimmomatic 0.39 and adds quality score options.
pjbriggs
parents:
14
diff
changeset
|
220 </param> |
11
59054f086eca
Version 0.36.6 (output logs and handle fastqillumina and fastqsolexa inputs)
pjbriggs
parents:
10
diff
changeset
|
221 <param name="output_logs" argument="-trimlog" type="boolean" label="Output trimlog file?" truevalue="yes" falsevalue="no" checked="False" /> |
59054f086eca
Version 0.36.6 (output logs and handle fastqillumina and fastqsolexa inputs)
pjbriggs
parents:
10
diff
changeset
|
222 <param name="output_err" type="boolean" label="Output trimmomatic log messages?" truevalue="yes" falsevalue="no" checked="False" help="these are the messages written to stderr (eg. for use in MultiQC)" /> |
0 | 223 </inputs> |
224 <outputs> | |
6
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
225 <data name="fastq_out_r1_paired" label="${tool.name} on ${readtype.fastq_r1_in.name} (R1 paired)" format_source="fastq_r1_in"> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
226 <filter>readtype['single_or_paired'] == "pair_of_files"</filter> |
0 | 227 </data> |
6
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
228 <data name="fastq_out_r2_paired" label="${tool.name} on ${readtype.fastq_r2_in.name} (R2 paired)" format_source="fastq_r2_in"> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
229 <filter>readtype['single_or_paired'] == "pair_of_files"</filter> |
0 | 230 </data> |
6
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
231 <data name="fastq_out_r1_unpaired" label="${tool.name} on ${readtype.fastq_r1_in.name} (R1 unpaired)" format_source="fastq_r1_in"> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
232 <filter>readtype['single_or_paired'] == "pair_of_files"</filter> |
0 | 233 </data> |
6
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
234 <data name="fastq_out_r2_unpaired" label="${tool.name} on ${readtype.fastq_r2_in.name} (R2 unpaired)" format_source="fastq_r2_in"> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
235 <filter>readtype['single_or_paired'] == "pair_of_files"</filter> |
0 | 236 </data> |
6
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
237 <data name="fastq_out" label="${tool.name} on ${readtype.fastq_in.name}" format_source="fastq_in"> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
238 <filter>readtype['single_or_paired'] == 'se'</filter> |
0 | 239 </data> |
7
6eeacf19a38e
Version 0.36.3: fix the naming of output collections to differentiate btwn paired/unpaired; document the _JAVA_OPTIONS env var (thanks Marius van den Beek).
pjbriggs
parents:
6
diff
changeset
|
240 <collection name="fastq_out_paired" type="paired" label="${tool.name} on ${on_string}: paired"> |
6
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
241 <filter>readtype['single_or_paired'] == "collection"</filter> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
242 <data name="forward" label="${tool.name} on ${readtype.fastq_pair.forward.name} (R1 paired)" format_source="fastq_pair['forward']"/> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
243 <data name="reverse" label="${tool.name} on ${readtype.fastq_pair.reverse.name} (R2 paired)" format_source="fastq_pair['reverse']"/> |
3
f8a9a5eaca8a
Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents:
2
diff
changeset
|
244 </collection> |
7
6eeacf19a38e
Version 0.36.3: fix the naming of output collections to differentiate btwn paired/unpaired; document the _JAVA_OPTIONS env var (thanks Marius van den Beek).
pjbriggs
parents:
6
diff
changeset
|
245 <collection name="fastq_out_unpaired" type="paired" label="${tool.name} on ${on_string}: unpaired"> |
6
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
246 <filter>readtype['single_or_paired'] == "collection"</filter> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
247 <data name="forward" label="${tool.name} on ${readtype.fastq_pair.forward.name} (R1 unpaired)" format_source="fastq_pair['forward']"/> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
248 <data name="reverse" label="${tool.name} on ${readtype.fastq_pair.reverse.name} (R2 unpaired)" format_source="fastq_pair['reverse']"/> |
3
f8a9a5eaca8a
Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents:
2
diff
changeset
|
249 </collection> |
11
59054f086eca
Version 0.36.6 (output logs and handle fastqillumina and fastqsolexa inputs)
pjbriggs
parents:
10
diff
changeset
|
250 <data name="log_file" format="txt" label="${tool.name} on ${on_string} (trimlog file)" from_work_dir="trimlog"> |
59054f086eca
Version 0.36.6 (output logs and handle fastqillumina and fastqsolexa inputs)
pjbriggs
parents:
10
diff
changeset
|
251 <filter>output_logs</filter> |
59054f086eca
Version 0.36.6 (output logs and handle fastqillumina and fastqsolexa inputs)
pjbriggs
parents:
10
diff
changeset
|
252 </data> |
59054f086eca
Version 0.36.6 (output logs and handle fastqillumina and fastqsolexa inputs)
pjbriggs
parents:
10
diff
changeset
|
253 <data name="err_file" format="txt" label="${tool.name} on ${on_string} (log file)" from_work_dir="trimmomatic.log"> |
59054f086eca
Version 0.36.6 (output logs and handle fastqillumina and fastqsolexa inputs)
pjbriggs
parents:
10
diff
changeset
|
254 <filter>output_err</filter> |
59054f086eca
Version 0.36.6 (output logs and handle fastqillumina and fastqsolexa inputs)
pjbriggs
parents:
10
diff
changeset
|
255 </data> |
0 | 256 </outputs> |
257 <tests> | |
16
9a38087e3bfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/packages/trimmomatic commit ab36e4731731f12cce0e7d7cc3b50ba6a0bab1ef
iuc
parents:
15
diff
changeset
|
258 <test expect_num_outputs="3"> |
0 | 259 <!-- Single-end example --> |
11
59054f086eca
Version 0.36.6 (output logs and handle fastqillumina and fastqsolexa inputs)
pjbriggs
parents:
10
diff
changeset
|
260 <conditional name="readtype"> |
59054f086eca
Version 0.36.6 (output logs and handle fastqillumina and fastqsolexa inputs)
pjbriggs
parents:
10
diff
changeset
|
261 <param name="single_or_paired" value="se" /> |
59054f086eca
Version 0.36.6 (output logs and handle fastqillumina and fastqsolexa inputs)
pjbriggs
parents:
10
diff
changeset
|
262 <param name="fastq_in" value="Illumina_SG_R1.fastq" ftype="fastqsanger" /> |
59054f086eca
Version 0.36.6 (output logs and handle fastqillumina and fastqsolexa inputs)
pjbriggs
parents:
10
diff
changeset
|
263 </conditional> |
0 | 264 <param name="operations_0|operation|name" value="SLIDINGWINDOW" /> |
11
59054f086eca
Version 0.36.6 (output logs and handle fastqillumina and fastqsolexa inputs)
pjbriggs
parents:
10
diff
changeset
|
265 <param name="output_logs" value="yes" /> |
59054f086eca
Version 0.36.6 (output logs and handle fastqillumina and fastqsolexa inputs)
pjbriggs
parents:
10
diff
changeset
|
266 <param name="output_err" value="yes" /> |
0 | 267 <output name="fastq_out" file="trimmomatic_se_out1.fastq" /> |
11
59054f086eca
Version 0.36.6 (output logs and handle fastqillumina and fastqsolexa inputs)
pjbriggs
parents:
10
diff
changeset
|
268 <output name="log_file" file="trimmomatic_se_out1.log" /> |
16
9a38087e3bfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/packages/trimmomatic commit ab36e4731731f12cce0e7d7cc3b50ba6a0bab1ef
iuc
parents:
15
diff
changeset
|
269 <output name="err_file" compare="re_match" file="trimmomatic_se_out1.err.re_match" /> |
0 | 270 </test> |
16
9a38087e3bfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/packages/trimmomatic commit ab36e4731731f12cce0e7d7cc3b50ba6a0bab1ef
iuc
parents:
15
diff
changeset
|
271 <test expect_num_outputs="1"> |
6
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
272 <!-- Single-end example - gzipped --> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
273 <param name="single_or_paired" value="se" /> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
274 <param name="fastq_in" value="Illumina_SG_R1.fastq.gz" ftype="fastqsanger.gz" /> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
275 <param name="operations_0|operation|name" value="SLIDINGWINDOW" /> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
276 <output name="fastq_out" file="trimmomatic_se_out1.fastq.gz" /> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
277 </test> |
16
9a38087e3bfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/packages/trimmomatic commit ab36e4731731f12cce0e7d7cc3b50ba6a0bab1ef
iuc
parents:
15
diff
changeset
|
278 <test expect_num_outputs="4"> |
6
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
279 <!-- Paired-end example - gzipped --> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
280 <param name="single_or_paired" value="pair_of_files" /> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
281 <param name="fastq_r1_in" value="Illumina_SG_R1.fastq.gz" ftype="fastqsanger.gz" /> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
282 <param name="fastq_r2_in" value="Illumina_SG_R2.fastq.gz" ftype="fastqsanger.gz" /> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
283 <param name="operations_0|operation|name" value="SLIDINGWINDOW" /> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
284 <output name="fastq_out_r1_paired" file="trimmomatic_pe_r1_paired_out1.fastq.gz" /> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
285 <output name="fastq_out_r1_unpaired" file="trimmomatic_pe_r1_unpaired_out1.fastq.gz" /> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
286 <output name="fastq_out_r2_paired" file="trimmomatic_pe_r2_paired_out1.fastq.gz" /> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
287 <output name="fastq_out_r2_unpaired" file="trimmomatic_pe_r2_unpaired_out1.fastq.gz" /> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
288 </test> |
16
9a38087e3bfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/packages/trimmomatic commit ab36e4731731f12cce0e7d7cc3b50ba6a0bab1ef
iuc
parents:
15
diff
changeset
|
289 <test expect_num_outputs="4"> |
0 | 290 <!-- Paired-end example --> |
6
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
291 <param name="single_or_paired" value="pair_of_files" /> |
0 | 292 <param name="fastq_r1_in" value="Illumina_SG_R1.fastq" ftype="fastqsanger" /> |
293 <param name="fastq_r2_in" value="Illumina_SG_R2.fastq" ftype="fastqsanger" /> | |
294 <param name="operations_0|operation|name" value="SLIDINGWINDOW" /> | |
295 <output name="fastq_out_r1_paired" file="trimmomatic_pe_r1_paired_out1.fastq" /> | |
296 <output name="fastq_out_r1_unpaired" file="trimmomatic_pe_r1_unpaired_out1.fastq" /> | |
297 <output name="fastq_out_r2_paired" file="trimmomatic_pe_r2_paired_out1.fastq" /> | |
298 <output name="fastq_out_r2_unpaired" file="trimmomatic_pe_r2_unpaired_out1.fastq" /> | |
299 </test> | |
16
9a38087e3bfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/packages/trimmomatic commit ab36e4731731f12cce0e7d7cc3b50ba6a0bab1ef
iuc
parents:
15
diff
changeset
|
300 <test expect_num_outputs="4"> |
11
59054f086eca
Version 0.36.6 (output logs and handle fastqillumina and fastqsolexa inputs)
pjbriggs
parents:
10
diff
changeset
|
301 <!-- Paired-end Illumina 1.3-1.7 quality encoding --> |
59054f086eca
Version 0.36.6 (output logs and handle fastqillumina and fastqsolexa inputs)
pjbriggs
parents:
10
diff
changeset
|
302 <param name="single_or_paired" value="pair_of_files" /> |
59054f086eca
Version 0.36.6 (output logs and handle fastqillumina and fastqsolexa inputs)
pjbriggs
parents:
10
diff
changeset
|
303 <param name="fastq_r1_in" value="Illumina_SG_R1.fastqillumina" ftype="fastqillumina" /> |
59054f086eca
Version 0.36.6 (output logs and handle fastqillumina and fastqsolexa inputs)
pjbriggs
parents:
10
diff
changeset
|
304 <param name="fastq_r2_in" value="Illumina_SG_R2.fastqillumina" ftype="fastqillumina" /> |
59054f086eca
Version 0.36.6 (output logs and handle fastqillumina and fastqsolexa inputs)
pjbriggs
parents:
10
diff
changeset
|
305 <param name="operations_0|operation|name" value="SLIDINGWINDOW" /> |
59054f086eca
Version 0.36.6 (output logs and handle fastqillumina and fastqsolexa inputs)
pjbriggs
parents:
10
diff
changeset
|
306 <output name="fastq_out_r1_paired" file="trimmomatic_pe_r1_paired_out1.fastqillumina" /> |
59054f086eca
Version 0.36.6 (output logs and handle fastqillumina and fastqsolexa inputs)
pjbriggs
parents:
10
diff
changeset
|
307 <output name="fastq_out_r1_unpaired" file="trimmomatic_pe_r1_unpaired_out1.fastqillumina" /> |
59054f086eca
Version 0.36.6 (output logs and handle fastqillumina and fastqsolexa inputs)
pjbriggs
parents:
10
diff
changeset
|
308 <output name="fastq_out_r2_paired" file="trimmomatic_pe_r2_paired_out1.fastqillumina" /> |
59054f086eca
Version 0.36.6 (output logs and handle fastqillumina and fastqsolexa inputs)
pjbriggs
parents:
10
diff
changeset
|
309 <output name="fastq_out_r2_unpaired" file="trimmomatic_pe_r2_unpaired_out1.fastqillumina" /> |
59054f086eca
Version 0.36.6 (output logs and handle fastqillumina and fastqsolexa inputs)
pjbriggs
parents:
10
diff
changeset
|
310 </test> |
16
9a38087e3bfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/packages/trimmomatic commit ab36e4731731f12cce0e7d7cc3b50ba6a0bab1ef
iuc
parents:
15
diff
changeset
|
311 <test expect_num_outputs="4"> |
11
59054f086eca
Version 0.36.6 (output logs and handle fastqillumina and fastqsolexa inputs)
pjbriggs
parents:
10
diff
changeset
|
312 <!-- Paired-end Solexa quality encoding --> |
59054f086eca
Version 0.36.6 (output logs and handle fastqillumina and fastqsolexa inputs)
pjbriggs
parents:
10
diff
changeset
|
313 <param name="single_or_paired" value="pair_of_files" /> |
59054f086eca
Version 0.36.6 (output logs and handle fastqillumina and fastqsolexa inputs)
pjbriggs
parents:
10
diff
changeset
|
314 <param name="fastq_r1_in" value="Illumina_SG_R1.fastqsolexa" ftype="fastqsolexa" /> |
59054f086eca
Version 0.36.6 (output logs and handle fastqillumina and fastqsolexa inputs)
pjbriggs
parents:
10
diff
changeset
|
315 <param name="fastq_r2_in" value="Illumina_SG_R2.fastqsolexa" ftype="fastqsolexa" /> |
59054f086eca
Version 0.36.6 (output logs and handle fastqillumina and fastqsolexa inputs)
pjbriggs
parents:
10
diff
changeset
|
316 <param name="operations_0|operation|name" value="SLIDINGWINDOW" /> |
59054f086eca
Version 0.36.6 (output logs and handle fastqillumina and fastqsolexa inputs)
pjbriggs
parents:
10
diff
changeset
|
317 <output name="fastq_out_r1_paired" file="trimmomatic_pe_r1_paired_out1.fastqsolexa" /> |
59054f086eca
Version 0.36.6 (output logs and handle fastqillumina and fastqsolexa inputs)
pjbriggs
parents:
10
diff
changeset
|
318 <output name="fastq_out_r1_unpaired" file="trimmomatic_pe_r1_unpaired_out1.fastqsolexa" /> |
59054f086eca
Version 0.36.6 (output logs and handle fastqillumina and fastqsolexa inputs)
pjbriggs
parents:
10
diff
changeset
|
319 <output name="fastq_out_r2_paired" file="trimmomatic_pe_r2_paired_out1.fastqsolexa" /> |
59054f086eca
Version 0.36.6 (output logs and handle fastqillumina and fastqsolexa inputs)
pjbriggs
parents:
10
diff
changeset
|
320 <output name="fastq_out_r2_unpaired" file="trimmomatic_pe_r2_unpaired_out1.fastqsolexa" /> |
59054f086eca
Version 0.36.6 (output logs and handle fastqillumina and fastqsolexa inputs)
pjbriggs
parents:
10
diff
changeset
|
321 </test> |
16
9a38087e3bfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/packages/trimmomatic commit ab36e4731731f12cce0e7d7cc3b50ba6a0bab1ef
iuc
parents:
15
diff
changeset
|
322 <test expect_num_outputs="1"> |
0 | 323 <!-- Single-end example (cropping) --> |
6
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
324 <param name="single_or_paired" value="se" /> |
0 | 325 <param name="fastq_in" value="Illumina_SG_R1.fastq" ftype="fastqsanger" /> |
326 <param name="operations_0|operation|name" value="CROP" /> | |
327 <param name="operations_0|operation|crop" value="10" /> | |
328 <output name="fastq_out" file="trimmomatic_se_out2.fastq" /> | |
329 </test> | |
16
9a38087e3bfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/packages/trimmomatic commit ab36e4731731f12cce0e7d7cc3b50ba6a0bab1ef
iuc
parents:
15
diff
changeset
|
330 <test expect_num_outputs="6"> |
3
f8a9a5eaca8a
Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents:
2
diff
changeset
|
331 <!-- Paired-end with dataset collection --> |
6
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
332 <param name="single_or_paired" value="collection" /> |
3
f8a9a5eaca8a
Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents:
2
diff
changeset
|
333 <param name="fastq_pair"> |
f8a9a5eaca8a
Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents:
2
diff
changeset
|
334 <collection type="paired"> |
f8a9a5eaca8a
Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents:
2
diff
changeset
|
335 <element name="forward" value="Illumina_SG_R1.fastq" ftype="fastqsanger" /> |
f8a9a5eaca8a
Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents:
2
diff
changeset
|
336 <element name="reverse" value="Illumina_SG_R2.fastq" ftype="fastqsanger"/> |
f8a9a5eaca8a
Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents:
2
diff
changeset
|
337 </collection> |
f8a9a5eaca8a
Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents:
2
diff
changeset
|
338 </param> |
f8a9a5eaca8a
Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents:
2
diff
changeset
|
339 <param name="operations_0|operation|name" value="SLIDINGWINDOW" /> |
f8a9a5eaca8a
Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents:
2
diff
changeset
|
340 <output_collection name="fastq_out_paired" type="paired"> |
6
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
341 <element name="forward" file="trimmomatic_pe_r1_paired_out1.fastq" /> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
342 <element name="reverse" file="trimmomatic_pe_r2_paired_out1.fastq" /> |
3
f8a9a5eaca8a
Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents:
2
diff
changeset
|
343 </output_collection> |
f8a9a5eaca8a
Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents:
2
diff
changeset
|
344 <output_collection name="fastq_out_unpaired" type="paired"> |
6
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
345 <element name="forward" file="trimmomatic_pe_r1_unpaired_out1.fastq" /> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
346 <element name="reverse" file="trimmomatic_pe_r2_unpaired_out1.fastq" /> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
347 </output_collection> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
348 </test> |
16
9a38087e3bfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/packages/trimmomatic commit ab36e4731731f12cce0e7d7cc3b50ba6a0bab1ef
iuc
parents:
15
diff
changeset
|
349 <test expect_num_outputs="6"> |
6
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
350 <!-- Paired-end with dataset collection - gzipped --> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
351 <param name="single_or_paired" value="collection" /> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
352 <param name="fastq_pair"> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
353 <collection type="paired"> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
354 <element name="forward" value="Illumina_SG_R1.fastq.gz" ftype="fastqsanger.gz" /> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
355 <element name="reverse" value="Illumina_SG_R2.fastq.gz" ftype="fastqsanger.gz"/> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
356 </collection> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
357 </param> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
358 <param name="operations_0|operation|name" value="SLIDINGWINDOW" /> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
359 <output_collection name="fastq_out_paired" type="paired"> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
360 <element name="forward" file="trimmomatic_pe_r1_paired_out1.fastq.gz" /> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
361 <element name="reverse" file="trimmomatic_pe_r2_paired_out1.fastq.gz" /> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
362 </output_collection> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
363 <output_collection name="fastq_out_unpaired" type="paired"> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
364 <element name="forward" file="trimmomatic_pe_r1_unpaired_out1.fastq.gz" /> |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
365 <element name="reverse" file="trimmomatic_pe_r2_unpaired_out1.fastq.gz" /> |
3
f8a9a5eaca8a
Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents:
2
diff
changeset
|
366 </output_collection> |
f8a9a5eaca8a
Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents:
2
diff
changeset
|
367 </test> |
16
9a38087e3bfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/packages/trimmomatic commit ab36e4731731f12cce0e7d7cc3b50ba6a0bab1ef
iuc
parents:
15
diff
changeset
|
368 <test expect_num_outputs="1"> |
4 | 369 <!-- Single-end using AVGQUAL --> |
6
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
370 <param name="single_or_paired" value="se" /> |
4 | 371 <param name="fastq_in" value="Illumina_SG_R1.fastq" ftype="fastqsanger" /> |
372 <param name="operations_0|operation|name" value="AVGQUAL" /> | |
373 <param name="operations_0|operation|avgqual" value="30" /> | |
374 <output name="fastq_out" file="trimmomatic_avgqual.fastq" /> | |
375 </test> | |
16
9a38087e3bfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/packages/trimmomatic commit ab36e4731731f12cce0e7d7cc3b50ba6a0bab1ef
iuc
parents:
15
diff
changeset
|
376 <test expect_num_outputs="1"> |
4 | 377 <!-- Single-end using MAXINFO --> |
6
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
378 <param name="single_or_paired" value="se" /> |
4 | 379 <param name="fastq_in" value="Illumina_SG_R1.fastq" ftype="fastqsanger" /> |
380 <param name="operations_0|operation|name" value="MAXINFO" /> | |
381 <param name="operations_0|operation|target_length" value="75" /> | |
382 <param name="operations_0|operation|strictness" value="0.8" /> | |
383 <output name="fastq_out" file="trimmomatic_maxinfo.fastq" /> | |
384 </test> | |
16
9a38087e3bfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/packages/trimmomatic commit ab36e4731731f12cce0e7d7cc3b50ba6a0bab1ef
iuc
parents:
15
diff
changeset
|
385 <test expect_num_outputs="4"> |
8 | 386 <!-- Paired-end ILLUMINACLIP - this does not check valid clipping --> |
387 <param name="single_or_paired" value="pair_of_files" /> | |
388 <param name="fastq_r1_in" value="Illumina_SG_R1.fastq" ftype="fastqsanger" /> | |
389 <param name="fastq_r2_in" value="Illumina_SG_R2.fastq" ftype="fastqsanger" /> | |
16
9a38087e3bfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/packages/trimmomatic commit ab36e4731731f12cce0e7d7cc3b50ba6a0bab1ef
iuc
parents:
15
diff
changeset
|
390 <param name="do_illuminaclip" value="yes"/> |
8 | 391 <param name="adapter_fasta" value="TruSeq2-PE.fa"/> |
392 <param name="operations_0|operation|name" value="SLIDINGWINDOW" /> | |
393 <output name="fastq_out_r1_paired" file="trimmomatic_pe_r1_paired_out1_clip.fastq" /> | |
394 <output name="fastq_out_r1_unpaired" file="trimmomatic_pe_r1_unpaired_out1.fastq" /> | |
395 <output name="fastq_out_r2_paired" file="trimmomatic_pe_r2_paired_out1.fastq" /> | |
396 <output name="fastq_out_r2_unpaired" file="trimmomatic_pe_r2_unpaired_out1_clip.fastq" /> | |
397 </test> | |
16
9a38087e3bfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/packages/trimmomatic commit ab36e4731731f12cce0e7d7cc3b50ba6a0bab1ef
iuc
parents:
15
diff
changeset
|
398 <test expect_num_outputs="4"> |
8 | 399 <!-- Paired-end ILLUMINACLIP providing 'custom' adapters - this does not check valid clipping --> |
400 <param name="single_or_paired" value="pair_of_files" /> | |
401 <param name="fastq_r1_in" value="Illumina_SG_R1.fastq" ftype="fastqsanger" /> | |
402 <param name="fastq_r2_in" value="Illumina_SG_R2.fastq" ftype="fastqsanger" /> | |
16
9a38087e3bfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/packages/trimmomatic commit ab36e4731731f12cce0e7d7cc3b50ba6a0bab1ef
iuc
parents:
15
diff
changeset
|
403 <param name="do_illuminaclip" value="yes"/> |
8 | 404 <param name="standard_or_custom" value="custom"/> |
405 <param name="adapter_text" | |
406 value=">PrefixPE/1 AATGATACGGCGACCACCGAGATCTACACTCTTTCCCTACACGACGCTCTTCCGATCT >PrefixPE/2 CAAGCAGAAGACGGCATACGAGATCGGTCTCGGCATTCCTGCTGAACCGCTCTTCCGATCT >PCR_Primer1 AATGATACGGCGACCACCGAGATCTACACTCTTTCCCTACACGACGCTCTTCCGATCT >PCR_Primer1_rc AGATCGGAAGAGCGTCGTGTAGGGAAAGAGTGTAGATCTCGGTGGTCGCCGTATCATT >PCR_Primer2 CAAGCAGAAGACGGCATACGAGATCGGTCTCGGCATTCCTGCTGAACCGCTCTTCCGATCT >PCR_Primer2_rc AGATCGGAAGAGCGGTTCAGCAGGAATGCCGAGACCGATCTCGTATGCCGTCTTCTGCTTG >FlowCell1 TTTTTTTTTTAATGATACGGCGACCACCGAGATCTACAC >FlowCell2 TTTTTTTTTTCAAGCAGAAGACGGCATACGA "/> | |
407 <param name="adapter_fasta" value="TruSeq2-PE.fa"/> | |
408 <param name="operations_0|operation|name" value="SLIDINGWINDOW" /> | |
409 <output name="fastq_out_r1_paired" file="trimmomatic_pe_r1_paired_out1_clip.fastq" /> | |
410 <output name="fastq_out_r1_unpaired" file="trimmomatic_pe_r1_unpaired_out1.fastq" /> | |
411 <output name="fastq_out_r2_paired" file="trimmomatic_pe_r2_paired_out1.fastq" /> | |
412 <output name="fastq_out_r2_unpaired" file="trimmomatic_pe_r2_unpaired_out1_clip.fastq" /> | |
413 </test> | |
16
9a38087e3bfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/packages/trimmomatic commit ab36e4731731f12cce0e7d7cc3b50ba6a0bab1ef
iuc
parents:
15
diff
changeset
|
414 <test expect_num_outputs="3"> |
15
32f1f56bd970
Updated for Trimmomatic 0.39 and adds quality score options.
pjbriggs
parents:
14
diff
changeset
|
415 <!-- Quality score test --> |
32f1f56bd970
Updated for Trimmomatic 0.39 and adds quality score options.
pjbriggs
parents:
14
diff
changeset
|
416 <conditional name="readtype"> |
32f1f56bd970
Updated for Trimmomatic 0.39 and adds quality score options.
pjbriggs
parents:
14
diff
changeset
|
417 <param name="single_or_paired" value="se" /> |
32f1f56bd970
Updated for Trimmomatic 0.39 and adds quality score options.
pjbriggs
parents:
14
diff
changeset
|
418 <param name="fastq_in" value="Illumina_SG_R1.fastq" ftype="fastqsanger" /> |
32f1f56bd970
Updated for Trimmomatic 0.39 and adds quality score options.
pjbriggs
parents:
14
diff
changeset
|
419 </conditional> |
32f1f56bd970
Updated for Trimmomatic 0.39 and adds quality score options.
pjbriggs
parents:
14
diff
changeset
|
420 <param name="operations_0|operation|name" value="SLIDINGWINDOW" /> |
32f1f56bd970
Updated for Trimmomatic 0.39 and adds quality score options.
pjbriggs
parents:
14
diff
changeset
|
421 <param name="output_logs" value="yes" /> |
32f1f56bd970
Updated for Trimmomatic 0.39 and adds quality score options.
pjbriggs
parents:
14
diff
changeset
|
422 <param name="output_err" value="yes" /> |
32f1f56bd970
Updated for Trimmomatic 0.39 and adds quality score options.
pjbriggs
parents:
14
diff
changeset
|
423 <param name="quality_score" value="-phred33"/> |
32f1f56bd970
Updated for Trimmomatic 0.39 and adds quality score options.
pjbriggs
parents:
14
diff
changeset
|
424 <output name="fastq_out" file="trimmomatic_se_out1.fastq" /> |
32f1f56bd970
Updated for Trimmomatic 0.39 and adds quality score options.
pjbriggs
parents:
14
diff
changeset
|
425 <output name="log_file" file="trimmomatic_se_out1.log" /> |
16
9a38087e3bfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/packages/trimmomatic commit ab36e4731731f12cce0e7d7cc3b50ba6a0bab1ef
iuc
parents:
15
diff
changeset
|
426 <output name="err_file" compare="re_match" file="trimmomatic_se_out2.err.re_match" /> |
15
32f1f56bd970
Updated for Trimmomatic 0.39 and adds quality score options.
pjbriggs
parents:
14
diff
changeset
|
427 </test> |
0 | 428 </tests> |
3
f8a9a5eaca8a
Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents:
2
diff
changeset
|
429 <help><![CDATA[ |
0 | 430 .. class:: infomark |
431 | |
432 **What it does** | |
433 | |
434 Trimmomatic performs a variety of useful trimming tasks for illumina paired-end and | |
435 single ended data. | |
436 | |
437 This tool allows the following trimming steps to be performed: | |
438 | |
439 * **ILLUMINACLIP:** Cut adapter and other illumina-specific sequences from the read | |
8 | 440 |
441 * If **Always keep both reads (PE specific/palindrome mode)** is True, the reverse read will also be retained in palindrome mode. | |
442 After read-though has been detected by palindrome mode, and the adapter sequence removed, | |
443 the reverse read contains the same sequence information as the forward read, albeit in reverse complement. | |
444 For this reason, the default behaviour is to entirely drop the reverse read. | |
445 Retaining the reverse read may be useful e.g. if the downstream tools cannot handle a combination of paired and unpaired reads. | |
0 | 446 * **SLIDINGWINDOW:** Perform a sliding window trimming, cutting once the average |
447 quality within the window falls below a threshold | |
448 * **MINLEN:** Drop the read if it is below a specified length | |
449 * **LEADING:** Cut bases off the start of a read, if below a threshold quality | |
450 * **TRAILING:** Cut bases off the end of a read, if below a threshold quality | |
451 * **CROP:** Cut the read to a specified length | |
452 * **HEADCROP:** Cut the specified number of bases from the start of the read | |
4 | 453 * **AVGQUAL:** Drop the read if the average quality is below a specified value |
6
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
454 * **MAXINFO:** Trim reads adaptively, balancing read length and error rate to |
4 | 455 maximise the value of each read |
0 | 456 |
457 If ILLUMINACLIP is requested then it is always performed first; subsequent options | |
458 can be mixed and matched and will be performed in the order that they have been | |
459 specified. | |
460 | |
461 .. class:: warningmark | |
462 | |
463 Note that trimming operation order is important. | |
464 | |
465 ------------- | |
466 | |
467 .. class:: infomark | |
468 | |
3
f8a9a5eaca8a
Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents:
2
diff
changeset
|
469 **Inputs** |
f8a9a5eaca8a
Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents:
2
diff
changeset
|
470 |
f8a9a5eaca8a
Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents:
2
diff
changeset
|
471 For single-end data this Trimmomatic tool accepts a single FASTQ file; for |
f8a9a5eaca8a
Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents:
2
diff
changeset
|
472 paired-end data it will accept either two FASTQ files (R1 and R2), or a |
f8a9a5eaca8a
Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents:
2
diff
changeset
|
473 dataset collection containing the R1/R2 FASTQ pair. |
f8a9a5eaca8a
Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents:
2
diff
changeset
|
474 |
f8a9a5eaca8a
Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents:
2
diff
changeset
|
475 .. class:: infomark |
f8a9a5eaca8a
Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents:
2
diff
changeset
|
476 |
0 | 477 **Outputs** |
478 | |
479 For paired-end data a particular strength of Trimmomatic is that it retains the | |
480 pairing of reads (from R1 and R2) in the filtered output files: | |
481 | |
482 * Two FASTQ files (R1-paired and R2-paired) contain one read from each pair where | |
483 both have survived filtering. | |
484 * Additionally two FASTQ files (R1-unpaired and R2-unpaired) contain reads where | |
485 one of the pair failed the filtering steps. | |
486 | |
3
f8a9a5eaca8a
Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents:
2
diff
changeset
|
487 .. class:: warningmark |
f8a9a5eaca8a
Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents:
2
diff
changeset
|
488 |
f8a9a5eaca8a
Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents:
2
diff
changeset
|
489 If the input consists of a dataset collection with the R1/R2 FASTQ pair then |
f8a9a5eaca8a
Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents:
2
diff
changeset
|
490 the outputs will also inclue two dataset collections: one for the 'paired' |
f8a9a5eaca8a
Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents:
2
diff
changeset
|
491 outputs and one for the 'unpaired' (as described above) |
f8a9a5eaca8a
Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents:
2
diff
changeset
|
492 |
0 | 493 Retaining the same order and number of reads in the filtered output fastq files is |
494 essential for many downstream analysis tools. | |
495 | |
496 For single-end data the output is a single FASTQ file containing just the filtered | |
497 reads. | |
498 | |
499 ------------- | |
500 | |
501 .. class:: infomark | |
502 | |
503 **Credits** | |
504 | |
16
9a38087e3bfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/packages/trimmomatic commit ab36e4731731f12cce0e7d7cc3b50ba6a0bab1ef
iuc
parents:
15
diff
changeset
|
505 This Galaxy tool was originally developed within the Bioinformatics Core |
9a38087e3bfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/packages/trimmomatic commit ab36e4731731f12cce0e7d7cc3b50ba6a0bab1ef
iuc
parents:
15
diff
changeset
|
506 Facility at the University of Manchester, with contributions from Peter van |
9a38087e3bfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/packages/trimmomatic commit ab36e4731731f12cce0e7d7cc3b50ba6a0bab1ef
iuc
parents:
15
diff
changeset
|
507 Heusden, Marius van den Beek, Jelle Scholtalbers, Charles Girardot, Matthias |
9a38087e3bfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/packages/trimmomatic commit ab36e4731731f12cce0e7d7cc3b50ba6a0bab1ef
iuc
parents:
15
diff
changeset
|
508 Bernt and Cristóbal Gallardo. It is now maintained as part of the IUC tool |
9a38087e3bfd
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/packages/trimmomatic commit ab36e4731731f12cce0e7d7cc3b50ba6a0bab1ef
iuc
parents:
15
diff
changeset
|
509 collection. |
6
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
510 |
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
511 It runs the Trimmomatic program which has been developed |
0 | 512 within Bjorn Usadel's group at RWTH Aachen university. |
513 | |
514 Trimmomatic website (including documentation): | |
515 | |
6
141bba0e9a77
Uploaded v0.36.2 (adds support for compressed fastq inputs)
pjbriggs
parents:
5
diff
changeset
|
516 * http://www.usadellab.org/cms/index.php?page=trimmomatic |
0 | 517 |
518 The reference for Trimmomatic is: | |
519 | |
1 | 520 * Bolger, A.M., Lohse, M., & Usadel, B. (2014). Trimmomatic: A flexible trimmer |
521 for Illumina Sequence Data. Bioinformatics, btu170. | |
0 | 522 |
523 Please kindly acknowledge both this Galaxy tool and the Trimmomatic program if you | |
524 use it. | |
3
f8a9a5eaca8a
Updated to version 0.32.3: add support for FASTQ pairs (dataset collections)
pjbriggs
parents:
2
diff
changeset
|
525 ]]></help> |
1 | 526 <citations> |
527 <!-- | |
528 See https://wiki.galaxyproject.org/Admin/Tools/ToolConfigSyntax#A.3Ccitations.3E_tag_set | |
529 Can be either DOI or Bibtex | |
530 Use http://www.bioinformatics.org/texmed/ to convert PubMed to Bibtex | |
531 --> | |
532 <citation type="doi">10.1093/bioinformatics/btu170</citation> | |
533 </citations> | |
0 | 534 </tool> |