annotate fastp.xml @ 11:c59d48774d03 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
author iuc
date Tue, 05 Mar 2024 08:41:43 +0000
parents dbf9c561ef29
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11
c59d48774d03 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
iuc
parents: 9
diff changeset
1 <tool id="fastp" name="fastp" version="@TOOL_VERSION@+galaxy0" profile="23.1">
c59d48774d03 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
iuc
parents: 9
diff changeset
2 <description>fast all-in-one preprocessing for FASTQ files</description>
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
3 <macros>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
4 <import>macros.xml</import>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
5 </macros>
11
c59d48774d03 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
iuc
parents: 9
diff changeset
6 <expand macro="biotools" />
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
7 <requirements>
11
c59d48774d03 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
iuc
parents: 9
diff changeset
8 <requirement type="package" version="@TOOL_VERSION@">fastp</requirement>
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
9 </requirements>
3
e0b44bf2543e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit d4f5a03011790c36ffd0f698b1e75c80f87fd1bf
iuc
parents: 1
diff changeset
10 <version_command>fastp -v</version_command>
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
11 <command detect_errors="exit_code"><![CDATA[
4
7c82cb2a90c4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 761a954744119f6317afe28eb50bd4f3fdea4984
iuc
parents: 3
diff changeset
12 #import re
7c82cb2a90c4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 761a954744119f6317afe28eb50bd4f3fdea4984
iuc
parents: 3
diff changeset
13
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
14 ## Link input files
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
15
5
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
16 #set ext = '.fastq'
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
17
5
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
18 #if $single_paired.single_paired_selector == 'paired_collection':
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
19 #if $single_paired.paired_input.forward.is_of_type('fastq.gz'):
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
20 #set ext = '.fastq.gz'
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
21 #end if
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
22 #set $in1 = $single_paired.paired_input.forward
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
23 #set $in2 = $single_paired.paired_input.reverse
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
24 #set $in1_name = re.sub('[^\w\-\s]', '_', str($single_paired.paired_input.name)) + $ext
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
25 #set $in2_name = re.sub('[^\w\-\s]', '_', str("%s_%s" % ($single_paired.paired_input.name, "R2"))) + $ext
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
26 #set out1 = $output_paired_coll.forward
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
27 #set out2 = $output_paired_coll.reverse
11
c59d48774d03 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
iuc
parents: 9
diff changeset
28 ln -sf '$in1' '$in1_name' &&
c59d48774d03 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
iuc
parents: 9
diff changeset
29 ln -sf '$in2' '$in2_name' &&
5
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
30 #else
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
31 #if $in1.is_of_type('fastq.gz')
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
32 #set ext = '.fastq.gz'
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
33 #end if
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
34
5
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
35 #set $in1_name = re.sub('[^\w\-\s]', '_', str($in1.element_identifier)) + $ext
11
c59d48774d03 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
iuc
parents: 9
diff changeset
36 ln -sf '$in1' '$in1_name' &&
5
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
37
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
38 #if str($single_paired.single_paired_selector) == 'paired':
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
39 #set $in2_name = re.sub('[^\w\-\s]', '_', str("%s_R2" % $in2.element_identifier)) + $ext
11
c59d48774d03 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
iuc
parents: 9
diff changeset
40 ln -sf '$in2' '$in2_name' &&
5
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
41 #end if
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
42 #end if
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
43
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
44
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
45 ## Run fastp
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
46
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
47 fastp
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
48
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
49 --thread \${GALAXY_SLOTS:-1}
4
7c82cb2a90c4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 761a954744119f6317afe28eb50bd4f3fdea4984
iuc
parents: 3
diff changeset
50 --report_title 'fastp report for $in1_name'
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
51
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
52 #if $in1.is_of_type('fastqillumina', 'fastqsolexa', 'fastqillumina.gz', 'fastqsolexa.gz'):
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
53 --phred64
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
54 #end if
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
55
5
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
56 -i '$in1_name'
4
7c82cb2a90c4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 761a954744119f6317afe28eb50bd4f3fdea4984
iuc
parents: 3
diff changeset
57 -o first${ext}
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
58
5
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
59 #if str($single_paired.single_paired_selector).startswith('paired'):
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
60 -I '$in2_name'
4
7c82cb2a90c4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 761a954744119f6317afe28eb50bd4f3fdea4984
iuc
parents: 3
diff changeset
61 -O second${ext}
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
62 #end if
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
63
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
64
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
65 ## Adapter Trimming Options
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
66
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
67 $single_paired.adapter_trimming_options.disable_adapter_trimming
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
68
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
69 #if str($single_paired.adapter_trimming_options.adapter_sequence1):
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
70 --adapter_sequence '$single_paired.adapter_trimming_options.adapter_sequence1'
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
71 #end if
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
72
5
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
73 #if str($single_paired.single_paired_selector).startswith('paired'):
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
74 #if str($single_paired.adapter_trimming_options.adapter_sequence2):
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
75 --adapter_sequence_r2 '$single_paired.adapter_trimming_options.adapter_sequence2'
7
6c2351178f8d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 249269561e1d3a767371c154677e5dd59147f7d7
iuc
parents: 6
diff changeset
76 #else
6c2351178f8d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 249269561e1d3a767371c154677e5dd59147f7d7
iuc
parents: 6
diff changeset
77 --detect_adapter_for_pe
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
78 #end if
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
79 #end if
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
80
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
81
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
82 ## Global Trimming Options
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
83
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
84 #if str($single_paired.global_trimming_options.trim_front1):
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
85 -f $single_paired.global_trimming_options.trim_front1
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
86 #end if
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
87
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
88 #if str($single_paired.global_trimming_options.trim_tail1):
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
89 -t $single_paired.global_trimming_options.trim_tail1
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
90 #end if
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
91
5
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
92 #if str($single_paired.single_paired_selector).startswith('paired'):
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
93 #if str($single_paired.global_trimming_options.trim_front2):
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
94 -F $single_paired.global_trimming_options.trim_front2
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
95 #end if
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
96 #if str($single_paired.global_trimming_options.trim_tail2):
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
97 -T $single_paired.global_trimming_options.trim_tail2
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
98 #end if
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
99 #end if
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
100
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
101
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
102 ## Overrepresented sequence analysis
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
103
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
104 $overrepresented_sequence_analysis.overrepresentation_analysis
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
105
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
106 #if str($overrepresented_sequence_analysis.overrepresentation_sampling):
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
107 -P $overrepresented_sequence_analysis.overrepresentation_sampling
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
108 #end if
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
109
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
110
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
111 ## Filter Options
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
112
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
113 ## Quality filtering options
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
114
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
115 $filter_options.quality_filtering_options.disable_quality_filtering
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
116
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
117 #if str($filter_options.quality_filtering_options.qualified_quality_phred):
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
118 -q $filter_options.quality_filtering_options.qualified_quality_phred
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
119 #end if
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
120 #if str($filter_options.quality_filtering_options.unqualified_percent_limit):
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
121 -u $filter_options.quality_filtering_options.unqualified_percent_limit
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
122 #end if
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
123 #if str($filter_options.quality_filtering_options.n_base_limit):
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
124 -n $filter_options.quality_filtering_options.n_base_limit
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
125 #end if
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
126
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
127
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
128 ## Length filtering options
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
129
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
130 $filter_options.length_filtering_options.disable_length_filtering
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
131
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
132 #if str($filter_options.length_filtering_options.length_required):
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
133 -l $filter_options.length_filtering_options.length_required
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
134 #end if
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
135
9
dbf9c561ef29 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit a64eb7904f80e90a5faff04ea3fb797ee1e07d36"
iuc
parents: 8
diff changeset
136 #if str($filter_options.length_filtering_options.length_limit):
dbf9c561ef29 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit a64eb7904f80e90a5faff04ea3fb797ee1e07d36"
iuc
parents: 8
diff changeset
137 --length_limit $filter_options.length_filtering_options.length_limit
dbf9c561ef29 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit a64eb7904f80e90a5faff04ea3fb797ee1e07d36"
iuc
parents: 8
diff changeset
138 #end if
dbf9c561ef29 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit a64eb7904f80e90a5faff04ea3fb797ee1e07d36"
iuc
parents: 8
diff changeset
139
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
140 ## Low complexity filtering options
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
141
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
142 $filter_options.low_complexity_filter.enable_low_complexity_filter
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
143
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
144 #if str($filter_options.low_complexity_filter.complexity_threshold):
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
145 -Y $filter_options.low_complexity_filter.complexity_threshold
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
146 #end if
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
147
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
148
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
149 ## Read Modification Options
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
150
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
151 ## PolyG tail trimming, useful for NextSeq/NovaSeq data
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
152
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
153 #if $read_mod_options.polyg_tail_trimming.trimming_select in ['', '-g']:
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
154 #if str($read_mod_options.polyg_tail_trimming.poly_g_min_len):
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
155 --poly_g_min_len $read_mod_options.polyg_tail_trimming.poly_g_min_len
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
156 #end if
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
157 $read_mod_options.polyg_tail_trimming.trimming_select
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
158 #end if
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
159
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
160 ## PolyX tail trimming
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
161
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
162 #if $read_mod_options.polyx_tail_trimming.polyx_trimming_select == '-x':
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
163 $read_mod_options.polyx_tail_trimming.polyx_trimming_select
6
a935cbdf1c0e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 72f3e06941d063dffce10741fcebea38a536ee15
iuc
parents: 5
diff changeset
164 #if str($read_mod_options.polyx_tail_trimming.poly_x_min_len):
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
165 --poly_x_min_len $read_mod_options.polyx_tail_trimming.poly_x_min_len
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
166 #end if
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
167 #end if
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
168
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
169 ## UMI processing
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
170
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
171 #if $read_mod_options.umi_processing.umi:
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
172 $read_mod_options.umi_processing.umi
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
173 #if str($read_mod_options.umi_processing.umi_loc):
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
174 --umi_loc '$read_mod_options.umi_processing.umi_loc'
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
175 #end if
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
176 #if str($read_mod_options.umi_processing.umi_len):
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
177 --umi_len $read_mod_options.umi_processing.umi_len
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
178 #end if
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
179 #if str($read_mod_options.umi_processing.umi_prefix):
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
180 --umi_prefix '$read_mod_options.umi_processing.umi_prefix'
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
181 #end if
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
182 #end if
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
183
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
184 ## Per read cutting by quality options
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
185
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
186 #if $read_mod_options.cutting_by_quality_options.cut_by_quality5 or $read_mod_options.cutting_by_quality_options.cut_by_quality3:
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
187
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
188 $read_mod_options.cutting_by_quality_options.cut_by_quality5
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
189
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
190 $read_mod_options.cutting_by_quality_options.cut_by_quality3
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
191
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
192 #if str($read_mod_options.cutting_by_quality_options.cut_window_size):
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
193 -W $read_mod_options.cutting_by_quality_options.cut_window_size
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
194 #end if
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
195 #if str($read_mod_options.cutting_by_quality_options.cut_mean_quality):
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
196 -M $read_mod_options.cutting_by_quality_options.cut_mean_quality
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
197 #end if
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
198 #end if
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
199
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
200 ## Base correction by overlap analysis options
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
201
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
202 $read_mod_options.base_correction_options.correction
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
203
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
204 &&
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
205
4
7c82cb2a90c4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 761a954744119f6317afe28eb50bd4f3fdea4984
iuc
parents: 3
diff changeset
206 mv first${ext} '${out1}'
5
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
207 #if str($single_paired.single_paired_selector).startswith('paired'):
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
208 &&
4
7c82cb2a90c4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 761a954744119f6317afe28eb50bd4f3fdea4984
iuc
parents: 3
diff changeset
209 mv second${ext} '${out2}'
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
210 #end if
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
211 ]]></command>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
212 <inputs>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
213 <conditional name="single_paired">
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
214 <param name="single_paired_selector" type="select" label="Single-end or paired reads">
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
215 <option value="single" selected="true">Single-end</option>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
216 <option value="paired">Paired</option>
5
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
217 <option value="paired_collection">Paired Collection</option>
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
218 </param>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
219 <when value="single">
5
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
220 <expand macro="in" />
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
221 <expand macro="adapter_trimming_options" />
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
222 <expand macro="global_trimming_options" />
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
223 </when>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
224 <when value="paired">
5
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
225 <expand macro="in" read_number="1" argument="-i"/>
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
226 <expand macro="in" read_number="2" argument="-I"/>
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
227 <expand macro="adapter_trimming_options">
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
228 <expand macro="adapter_sequence" read_number="2"/>
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
229 </expand>
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
230 <expand macro="global_trimming_options_paired" />
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
231 </when>
11
c59d48774d03 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
iuc
parents: 9
diff changeset
232 <when value="paired_collection">
c59d48774d03 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
iuc
parents: 9
diff changeset
233 <param name="paired_input" type="data_collection" format="fastq,fastq.gz" label="Select paired collection(s)" collection_type="paired"/>
5
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
234 <expand macro="adapter_trimming_options">
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
235 <expand macro="adapter_sequence" read_number="2"/>
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
236 </expand>
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
237 <expand macro="global_trimming_options_paired" />
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
238 </when>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
239 </conditional>
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
240
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
241 <section name="overrepresented_sequence_analysis" title="Overrepresented Sequence Analysis" expanded="False">
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
242 <param name="overrepresentation_analysis" argument="-p" type="boolean" truevalue="-p" falsevalue="" checked="false" label="Enable overrepresented analysis" help="Enable overrepresented sequence analysis."/>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
243 <param name="overrepresentation_sampling" argument="-P" type="integer" optional="true" label="Overrepresentation sampling" help="One in (--overrepresentation_sampling) reads will be computed for overrepresentation analysis (1~10000), smaller is slower, default is 20."/>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
244 </section>
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
245
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
246 <!-- Filter Options -->
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
247 <section name="filter_options" title="Filter Options">
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
248 <section name="quality_filtering_options" title="Quality filtering options" expanded="True">
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
249 <param name="disable_quality_filtering" argument="-Q" type="boolean" truevalue="-Q" falsevalue="" checked="false" label="Disable quality filtering" help="Quality filtering is enabled by default. If this option is specified, quality filtering is disabled."/>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
250 <param name="qualified_quality_phred" argument="-q" type="integer" optional="true" label="Qualified quality phred" help="The quality value that a base is qualified. Default 15 means phred quality >=Q15 is qualified."/>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
251 <param name="unqualified_percent_limit" argument="-u" type="integer" optional="true" label="Unqualified percent limit" help="How many percents of bases are allowed to be unqualified (0~100). Default 40 means 40%."/>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
252 <param name="n_base_limit" argument="-n" type="integer" optional="true" label="N base limit" help="If one read's number of N base is >n_base_limit, then this read/pair is discarded. Default is 5."/>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
253 </section>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
254
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
255 <section name="length_filtering_options" title="Length filtering options" expanded="True">
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
256 <param name="disable_length_filtering" argument="-L" type="boolean" truevalue="-L" falsevalue="" checked="false" label="Disable length filtering" help="Length filtering is enabled by default. If this option is specified, length filtering is disabled."/>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
257 <param name="length_required" argument="-l" type="integer" optional="true" label="Length required" help="Reads shorter than this value will be discarded. Default is 15."/>
11
c59d48774d03 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
iuc
parents: 9
diff changeset
258 <param argument="--length_limit" type="integer" optional="true" label="Maximum length" help="Reads longer than this value will be discarded. Default is 0 and means no limitation."/>
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
259 </section>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
260
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
261 <section name="low_complexity_filter" title="Low complexity filtering options" expanded="True">
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
262 <param name="enable_low_complexity_filter" argument="-y" type="boolean" truevalue="-y" falsevalue="" checked="false" label="Enable low complexity filter" help="The complexity is defined as the percentage of base that is different from its next base, default is No"/>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
263 <param name="complexity_threshold" argument="-Y" type="integer" optional="true" label="Complexity threshold" help="Threshold for low complexity filter (0~100). Default is 30, which means 30% complexity is required."/>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
264 </section>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
265 </section>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
266
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
267 <!-- Read Modification Options -->
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
268 <section name="read_mod_options" title="Read Modification Options">
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
269 <conditional name="polyg_tail_trimming">
6
a935cbdf1c0e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 72f3e06941d063dffce10741fcebea38a536ee15
iuc
parents: 5
diff changeset
270 <param name="trimming_select" type="select" label="PolyG tail trimming" help="This feature is enabled for NextSeq/NovaSeq data by default. NextSeq/NovaSeq data is detected by the machine ID in the FASTQ records.">
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
271 <option value="" selected="true">Automatic trimming for Illumina NextSeq/NovaSeq data</option>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
272 <option value="-g">Force polyG tail trimming</option>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
273 <option value="-G">Disable polyG tail trimming</option>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
274 </param>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
275 <when value="-g">
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
276 <expand macro="poly_g_min_len" />
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
277 </when>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
278 <when value="">
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
279 <expand macro="poly_g_min_len" />
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
280 </when>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
281 <when value="-G" />
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
282 </conditional>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
283
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
284 <conditional name="polyx_tail_trimming">
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
285 <param name="polyx_trimming_select" type="select" label="PolyX tail trimming" help="Similar to polyG tail trimming. When polyG tail trimming and polyX tail trimming are both enabled, fastp will perform polyG trimming first, then perform polyX trimming. Disabled by default.">
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
286 <option value="" selected="true">Disable polyX trimming</option>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
287 <option value="-x">Enable polyX tail trimming</option>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
288 </param>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
289 <when value="-x">
11
c59d48774d03 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
iuc
parents: 9
diff changeset
290 <param argument="--poly_x_min_len" type="integer" optional="true" label="PolyX minimum length"
c59d48774d03 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
iuc
parents: 9
diff changeset
291 help="The minimum length to detect polyX in the read tail. 10 by default."/>
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
292 </when>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
293 <when value="" />
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
294 </conditional>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
295
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
296 <section name="umi_processing" title="UMI processing" expanded="True">
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
297 <param name="umi" argument="-U" type="boolean" truevalue="-U" falsevalue="" checked="false" label="Enable unique molecular identifer" help="Enable unique molecular identifer (UMI) preprocessing."/>
11
c59d48774d03 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
iuc
parents: 9
diff changeset
298 <param argument="--umi_loc" type="text" optional="true" label="UMI location" help="Specify the location of UMI, can be (index1/index2/read1/read2/per_index/per_read, default is none."/>
c59d48774d03 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
iuc
parents: 9
diff changeset
299 <param argument="--umi_len" type="integer" optional="true" label="UMI length" help="If the UMI is in read1/read2, its length should be provided."/>
c59d48774d03 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
iuc
parents: 9
diff changeset
300 <param argument="--umi_prefix" type="text" optional="true" label="UMI prefix" help="If specified, an underline will be used to connect prefix and UMI (i.e. prefix=UMI, UMI=AATTCG, final=UMI_AATTCG). No prefix by default."/>
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
301 </section>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
302
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
303 <section name="cutting_by_quality_options" title="Per read cutting by quality options" expanded="True">
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
304 <param name="cut_by_quality5" argument="-5" type="boolean" truevalue="-5" falsevalue="" checked="false" label="Cut by quality in front (5')" help="Enable per read cutting by quality in front (5'), default is disabled (WARNING: this will interfere deduplication for both PE/SE data)."/>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
305 <param name="cut_by_quality3" argument="-3" type="boolean" truevalue="-3" falsevalue="" checked="false" label="Cut by quality in tail (3')" help="Enable per read cutting by quality in tail (3'), default is disabled (WARNING: this will interfere deduplication for SE data)."/>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
306 <param name="cut_window_size" argument="-W" type="integer" optional="true" label="Cutting window size" help="The size of the sliding window for sliding window trimming, default is 4."/>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
307 <param name="cut_mean_quality" argument="-M" type="integer" optional="true" label="Cutting mean quality" help="The bases in the sliding window with mean quality below cutting_quality will be cut, default is Q20."/>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
308 </section>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
309
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
310 <section name="base_correction_options" title="Base correction by overlap analysis options" expanded="True">
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
311 <param name="correction" argument="-c" type="boolean" truevalue="-c" falsevalue="" checked="false" label="Enable base correction" help="Enable base correction in overlapped regions (only for PE data), default is disabled."/>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
312 </section>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
313 </section>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
314
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
315 <section name="output_options" title="Output Options" expanded="False">
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
316 <param name="report_html" type="boolean" truevalue="True" falsevalue="False" checked="True" label="Output HTML report" help="fastp provides a QC report for the data Before and After filtering within a single HTML page, which enables comparison of the quality statistics changed by the preprocessing step directly"/>
4
7c82cb2a90c4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 761a954744119f6317afe28eb50bd4f3fdea4984
iuc
parents: 3
diff changeset
317 <param name="report_json" type="boolean" truevalue="True" falsevalue="False" checked="False" label="Output JSON report" help="The JSON report contains all the data visualized in the HTML report. The format of the JSON report is manually optimized to be easily readable by humans and is compatible with MultiQC"/>
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
318 </section>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
319 </inputs>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
320
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
321 <outputs>
8
1d8fe9bc4cb0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6e59980ea50d84a849190460ae44c055f643355f
iuc
parents: 7
diff changeset
322 <data name="out1" format_source="in1" label="${tool.name} on ${on_string}: Read 1 output">
5
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
323 <filter>single_paired['single_paired_selector'] in ["single", "paired"]</filter>
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
324 </data>
8
1d8fe9bc4cb0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6e59980ea50d84a849190460ae44c055f643355f
iuc
parents: 7
diff changeset
325 <data name="out2" format_source="in2" label="${tool.name} on ${on_string}: Read 2 output">
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
326 <filter>single_paired['single_paired_selector'] == "paired"</filter>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
327 </data>
8
1d8fe9bc4cb0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6e59980ea50d84a849190460ae44c055f643355f
iuc
parents: 7
diff changeset
328 <collection name="output_paired_coll" type="paired" format_source="paired_input['forward']" label="${tool.name} on ${on_string}: Paired-end output">
5
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
329 <filter>single_paired['single_paired_selector'] == "paired_collection"</filter>
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
330 </collection>
8
1d8fe9bc4cb0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6e59980ea50d84a849190460ae44c055f643355f
iuc
parents: 7
diff changeset
331 <data name="report_html" format="html" from_work_dir="fastp.html" label="${tool.name} on ${on_string}: HTML report">
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
332 <filter>output_options['report_html'] is True</filter>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
333 </data>
8
1d8fe9bc4cb0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6e59980ea50d84a849190460ae44c055f643355f
iuc
parents: 7
diff changeset
334 <data name="report_json" format="json" from_work_dir="fastp.json" label="${tool.name} on ${on_string}: JSON report">
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
335 <filter>output_options['report_json'] is True</filter>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
336 </data>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
337 </outputs>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
338
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
339 <tests>
11
c59d48774d03 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
iuc
parents: 9
diff changeset
340 <!-- 1. Ensure default output works -->
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
341 <test expect_num_outputs="2">
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
342 <param name="in1" ftype="fastqsanger" value="R1.fq"/>
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
343 <param name="single_paired_selector" value="single"/>
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
344 <output name="out1" ftype="fastqsanger" file="out1.fq"/>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
345 <output name="report_html">
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
346 <assert_contents>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
347 <has_text text="fastp report"/>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
348 </assert_contents>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
349 </output>
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
350 </test>
11
c59d48774d03 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
iuc
parents: 9
diff changeset
351 <!-- 2. Ensure paired collection works -->
7
6c2351178f8d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 249269561e1d3a767371c154677e5dd59147f7d7
iuc
parents: 6
diff changeset
352 <test expect_num_outputs="4">
5
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
353 <param name="single_paired_selector" value="paired_collection"/>
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
354 <param name="paired_input">
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
355 <collection type="paired">
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
356 <element name="forward" value="bwa-mem-fastq1.fq" ftype="fastqsanger" />
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
357 <element name="reverse" value="bwa-mem-fastq2.fq" ftype="fastqsanger" />
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
358 </collection>
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
359 </param>
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
360 <output name="report_html">
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
361 <assert_contents>
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
362 <has_text text="fastp report"/>
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
363 </assert_contents>
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
364 </output>
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
365 <output_collection name="output_paired_coll" type="paired">
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
366 <element name="forward" value="out_bwa1.fq" ftype="fastqsanger"/>
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
367 <element name="reverse" value="out_bwa2.fq" ftype="fastqsanger"/>
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
368 </output_collection>
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
369 </test>
11
c59d48774d03 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
iuc
parents: 9
diff changeset
370 <!-- 3. Ensure custom adapter works -->
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
371 <test expect_num_outputs="2">
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
372 <param name="in1" ftype="fastq" value="R1.fq"/>
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
373 <param name="single_paired_selector" value="single"/>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
374 <param name="adapter_sequence1" value="ATCG"/>
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
375 <output name="out1" ftype="fastq" file="out_a.fq"/>
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
376 </test>
11
c59d48774d03 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
iuc
parents: 9
diff changeset
377 <!-- 4. Ensure UMI processing works -->
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
378 <test expect_num_outputs="2">
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
379 <param name="in1" ftype="fastq" value="R1.fq"/>
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
380 <param name="single_paired_selector" value="single"/>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
381 <section name="umi_processing">
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
382 <param name="umi" value="true"/>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
383 <param name="umi_loc" value="read1"/>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
384 <param name="umi_len" value="8"/>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
385 </section>
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
386 <output name="out1" ftype="fastq" file="out2.fq"/>
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
387 </test>
11
c59d48774d03 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
iuc
parents: 9
diff changeset
388 <!-- 5. Ensure UMI processing with different lengths works -->
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
389 <test expect_num_outputs="2">
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
390 <param name="in1" ftype="fastq" value="R1.fq"/>
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
391 <param name="single_paired_selector" value="single"/>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
392 <section name="umi_processing">
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
393 <param name="umi" value="true"/>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
394 <param name="umi_loc" value="read1"/>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
395 <param name="umi_len" value="12"/>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
396 </section>
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
397 <output name="out1" ftype="fastq" file="out3.fq"/>
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
398 </test>
11
c59d48774d03 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
iuc
parents: 9
diff changeset
399 <!-- 6. Ensure paired-end fastq works -->
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
400 <test expect_num_outputs="3">
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
401 <param name="in1" ftype="fastq" value="bwa-mem-fastq1.fq"/>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
402 <param name="in2" ftype="fastq" value="bwa-mem-fastq2.fq"/>
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
403 <param name="single_paired_selector" value="paired"/>
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
404 <output name="out1" ftype="fastq" file="out_bwa1.fq"/>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
405 <output name="out2" ftype="fastq" file="out_bwa2.fq"/>
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
406 </test>
11
c59d48774d03 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
iuc
parents: 9
diff changeset
407 <!-- 7. Ensure paired-end UMI processing of Read 1 works -->
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
408 <test expect_num_outputs="3">
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
409 <param name="in1" ftype="fastq" value="bwa-mem-fastq1.fq"/>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
410 <param name="in2" ftype="fastq" value="bwa-mem-fastq2.fq"/>
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
411 <param name="single_paired_selector" value="paired"/>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
412 <section name="umi_processing">
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
413 <param name="umi" value="true"/>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
414 <param name="umi_loc" value="read1"/>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
415 <param name="umi_len" value="8"/>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
416 </section>
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
417 <output name="out1" ftype="fastq" file="out_bwa_umi_read1_1.fq"/>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
418 <output name="out2" ftype="fastq" file="out_bwa_umi_read1_2.fq"/>
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
419 </test>
11
c59d48774d03 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
iuc
parents: 9
diff changeset
420 <!-- 8. Ensure paired-end UMI processing of Read 2 works -->
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
421 <test expect_num_outputs="3">
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
422 <param name="in1" ftype="fastq" value="bwa-mem-fastq1.fq"/>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
423 <param name="in2" ftype="fastq" value="bwa-mem-fastq2.fq"/>
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
424 <param name="single_paired_selector" value="paired"/>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
425 <section name="umi_processing">
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
426 <param name="umi" value="true"/>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
427 <param name="umi_loc" value="read2"/>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
428 <param name="umi_len" value="8"/>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
429 </section>
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
430 <output name="out1" ftype="fastq" file="out_bwa_umi_read2_1.fq"/>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
431 <output name="out2" ftype="fastq" file="out_bwa_umi_read2_2.fq"/>
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
432 </test>
11
c59d48774d03 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
iuc
parents: 9
diff changeset
433 <!-- 9. Ensure JSON report output works -->
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
434 <test expect_num_outputs="2">
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
435 <param name="in1" ftype="fastqsanger" value="R1.fq"/>
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
436 <param name="single_paired_selector" value="single"/>
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
437 <param name="report_html" value="False"/>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
438 <param name="report_json" value="True"/>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
439 <output name="out1" ftype="fastqsanger" file="out1.fq"/>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
440 <output name="report_json">
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
441 <assert_contents>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
442 <has_text text="fastp report"/>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
443 </assert_contents>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
444 </output>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
445 </test>
11
c59d48774d03 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
iuc
parents: 9
diff changeset
446 <!-- 10. Ensure polyG trimming works -->
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
447 <test expect_num_outputs="2">
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
448 <param name="in1" ftype="fastq.gz" value="R1.fq.gz"/>
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
449 <param name="single_paired_selector" value="single"/>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
450 <param name="trimming_select" value="-g"/>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
451 <param name="poly_g_min_len" value="10"/>
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
452 <output name="out1" ftype="fastq.gz" decompress="True" file="out1.fq.gz"/>
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
453 </test>
11
c59d48774d03 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
iuc
parents: 9
diff changeset
454 <!-- 11. Ensure polyX trimming works -->
6
a935cbdf1c0e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 72f3e06941d063dffce10741fcebea38a536ee15
iuc
parents: 5
diff changeset
455 <test expect_num_outputs="2">
a935cbdf1c0e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 72f3e06941d063dffce10741fcebea38a536ee15
iuc
parents: 5
diff changeset
456 <param name="in1" ftype="fastq.gz" value="R1.fq.gz"/>
a935cbdf1c0e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 72f3e06941d063dffce10741fcebea38a536ee15
iuc
parents: 5
diff changeset
457 <param name="single_paired_selector" value="single"/>
a935cbdf1c0e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 72f3e06941d063dffce10741fcebea38a536ee15
iuc
parents: 5
diff changeset
458 <param name="trimming_select" value="-G"/>
a935cbdf1c0e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 72f3e06941d063dffce10741fcebea38a536ee15
iuc
parents: 5
diff changeset
459 <param name="polyx_trimming_select" value="-x"/>
a935cbdf1c0e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 72f3e06941d063dffce10741fcebea38a536ee15
iuc
parents: 5
diff changeset
460 <param name="poly_x_min_len" value="10"/>
a935cbdf1c0e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 72f3e06941d063dffce10741fcebea38a536ee15
iuc
parents: 5
diff changeset
461 <output name="out1" ftype="fastq.gz" decompress="True" file="out1.fq.gz"/>
a935cbdf1c0e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 72f3e06941d063dffce10741fcebea38a536ee15
iuc
parents: 5
diff changeset
462 </test>
11
c59d48774d03 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
iuc
parents: 9
diff changeset
463 <!-- 12. Test fastq files with different length -->
c59d48774d03 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
iuc
parents: 9
diff changeset
464 <test expect_exit_code="255" expect_failure="true">
c59d48774d03 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
iuc
parents: 9
diff changeset
465 <param name="single_paired_selector" value="paired_collection"/>
c59d48774d03 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
iuc
parents: 9
diff changeset
466 <param name="paired_input">
c59d48774d03 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
iuc
parents: 9
diff changeset
467 <collection type="paired">
c59d48774d03 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
iuc
parents: 9
diff changeset
468 <element name="forward" value="bwa-mem-fastq1.fq" ftype="fastqsanger" />
c59d48774d03 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
iuc
parents: 9
diff changeset
469 <element name="reverse" value="bwa-mem-fastq2_too_long.fq" ftype="fastqsanger" />
c59d48774d03 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
iuc
parents: 9
diff changeset
470 </collection>
c59d48774d03 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
iuc
parents: 9
diff changeset
471 </param>
c59d48774d03 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
iuc
parents: 9
diff changeset
472 </test>
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
473 </tests>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
474 <help><![CDATA[
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
475 .. class:: infomark
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
476
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
477 **What it does**
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
478
11
c59d48774d03 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
iuc
parents: 9
diff changeset
479 fastp_ is a tool designed to provide fast all-in-one preprocessing for FASTQ files. This tool is developed in C++ with multithreading supported to
c59d48774d03 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
iuc
parents: 9
diff changeset
480 afford high performance.
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
481
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
482 *Features*
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
483
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
484 1. Filter out bad reads (too low quality, too short, or too many N...)
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
485
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
486 2. Cut low quality bases for per read in its 5' and 3' by evaluating the mean quality from a sliding window (like Trimmomatic but faster)
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
487
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
488 3. Trim all reads in front and tail
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
489
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
490 4. Cut adapters. Adapter sequences can be automatically detected, which means you don't have to input the adapter sequences to trim them.
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
491
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
492 5. Correct mismatched base pairs in overlapped regions of paired end reads, if one base is with high quality while the other is with ultra-low quality
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
493
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
494 6. Trim polyG in 3' ends, which is commonly seen in NovaSeq/NextSeq data. Trim polyX in 3' ends to remove unwanted polyX tailing (i.e. polyA tailing for mRNA-Seq data)
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
495
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
496 7. Preprocess unique molecular identifer (UMI) enabled data, shift UMI to sequence name
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
497
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
498 8. Report JSON format result for further interpreting
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
499
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
500 9. Visualize quality control and filtering results on a single HTML page (like FASTQC but faster and more informative)
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
501
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
502 10. Split the output to multiple files (0001.R1.gz, 0002.R1.gz...) to support parallel processing. Two modes can be used, limiting the total split file number, or limitting the lines of each split file (*Not enabled in this Galaxy tool*)
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
503
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
504 11. Support long reads (data from PacBio / Nanopore devices)
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
505
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
506 -----
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
507
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
508 **Inputs**
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
509
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
510 Single-end or Paired-end FASTQ or FASTQ.GZ reads
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
511
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
512 -----
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
513
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
514 **Outputs**
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
515
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
516 * Processed reads
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
517
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
518 Optionally, under **Output Options** you can choose to output
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
519
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
520 * HTML report (default is Yes)
4
7c82cb2a90c4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 761a954744119f6317afe28eb50bd4f3fdea4984
iuc
parents: 3
diff changeset
521 * JSON report (compatible with MultiQC)
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
522
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
523 .. _fastp: https://github.com/OpenGene/fastp
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
524
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
525 ]]></help>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
526 <citations>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
527 <citation type="doi">10.1101/274100</citation>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
528 </citations>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
529 </tool>