annotate fastp.xml @ 12:d60c3f704da0 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6b8fbd9db12329e2f49eee672b185015c3e35d4f
author iuc
date Tue, 13 Aug 2024 12:18:39 +0000
parents c59d48774d03
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
12
d60c3f704da0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6b8fbd9db12329e2f49eee672b185015c3e35d4f
iuc
parents: 11
diff changeset
1 <tool id="fastp" name="fastp" version="@TOOL_VERSION@+galaxy1" profile="23.1">
11
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'
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
76 #end if
12
d60c3f704da0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6b8fbd9db12329e2f49eee672b185015c3e35d4f
iuc
parents: 11
diff changeset
77 $single_paired.adapter_trimming_options.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
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
80
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
81 ## 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
82
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
83 #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
84 -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
85 #end if
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
86
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
87 #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
88 -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
89 #end if
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
90
5
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
91 #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
92 #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
93 -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
94 #end if
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
95 #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
96 -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
97 #end if
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
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 ## Overrepresented sequence analysis
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
102
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
103 $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
104
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
105 #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
106 -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
107 #end if
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
108
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
109
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
110 ## Filter Options
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
111
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
112 ## 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
113
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
114 $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
115
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
116 #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
117 -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
118 #end if
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
119 #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
120 -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
121 #end if
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
122 #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
123 -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
124 #end if
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
125
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 ## 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
128
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
129 $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
130
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
131 #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
132 -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
133 #end if
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
134
9
dbf9c561ef29 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit a64eb7904f80e90a5faff04ea3fb797ee1e07d36"
iuc
parents: 8
diff changeset
135 #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
136 --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
137 #end if
dbf9c561ef29 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit a64eb7904f80e90a5faff04ea3fb797ee1e07d36"
iuc
parents: 8
diff changeset
138
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
139 ## 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
140
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
141 $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
142
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
143 #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
144 -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
145 #end if
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
146
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 ## 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
149
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
150 ## 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
151
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
152 #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
153 #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
154 --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
155 #end if
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
156 $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
157 #end if
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
158
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
159 ## 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
160
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
161 #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
162 $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
163 #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
164 --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
165 #end if
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
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
168 ## UMI processing
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
169
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
170 #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
171 $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 #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
173 --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
174 #end if
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
175 #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
176 --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
177 #end if
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
178 #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
179 --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
180 #end if
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
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
183 ## 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
184
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
185 #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
186
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
187 $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
188
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
189 $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
190
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
191 #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
192 -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
193 #end if
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
194 #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
195 -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
196 #end if
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
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
199 ## 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
200
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
201 $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
202
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
4
7c82cb2a90c4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 761a954744119f6317afe28eb50bd4f3fdea4984
iuc
parents: 3
diff changeset
205 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
206 #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
207 &&
4
7c82cb2a90c4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 761a954744119f6317afe28eb50bd4f3fdea4984
iuc
parents: 3
diff changeset
208 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
209 #end if
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
210 ]]></command>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
211 <inputs>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
212 <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
213 <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
214 <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
215 <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
216 <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
217 </param>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
218 <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
219 <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
220 <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
221 <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
222 </when>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
223 <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
224 <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
225 <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
226 <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
227 <expand macro="adapter_sequence" read_number="2"/>
12
d60c3f704da0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6b8fbd9db12329e2f49eee672b185015c3e35d4f
iuc
parents: 11
diff changeset
228 <expand macro="detect_adapter_for_pe" />
5
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"/>
12
d60c3f704da0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6b8fbd9db12329e2f49eee672b185015c3e35d4f
iuc
parents: 11
diff changeset
236 <expand macro="detect_adapter_for_pe" />
5
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
237 </expand>
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
238 <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
239 </when>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
240 </conditional>
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
241
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
242 <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
243 <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
244 <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
245 </section>
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
246
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
247 <!-- 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="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
249 <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
250 <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
251 <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
252 <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
253 <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
254 </section>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
255
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
256 <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
257 <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
258 <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
259 <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
260 </section>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
261
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
262 <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
263 <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
264 <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
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 </section>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
267
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
268 <!-- 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 <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
270 <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
271 <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
272 <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
273 <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
274 <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
275 </param>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
276 <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
277 <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
278 </when>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
279 <when value="">
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
280 <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
281 </when>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
282 <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
283 </conditional>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
284
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
285 <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
286 <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
287 <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
288 <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
289 </param>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
290 <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
291 <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
292 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
293 </when>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
294 <when value="" />
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
295 </conditional>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
296
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
297 <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
298 <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
299 <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
300 <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
301 <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
302 </section>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
303
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
304 <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
305 <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
306 <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
307 <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
308 <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
309 </section>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
310
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
311 <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
312 <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
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 </section>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
315
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
316 <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
317 <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
318 <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
319 </section>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
320 </inputs>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
321
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
322 <outputs>
8
1d8fe9bc4cb0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6e59980ea50d84a849190460ae44c055f643355f
iuc
parents: 7
diff changeset
323 <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
324 <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
325 </data>
8
1d8fe9bc4cb0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6e59980ea50d84a849190460ae44c055f643355f
iuc
parents: 7
diff changeset
326 <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
327 <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
328 </data>
8
1d8fe9bc4cb0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6e59980ea50d84a849190460ae44c055f643355f
iuc
parents: 7
diff changeset
329 <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
330 <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
331 </collection>
8
1d8fe9bc4cb0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6e59980ea50d84a849190460ae44c055f643355f
iuc
parents: 7
diff changeset
332 <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
333 <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
334 </data>
8
1d8fe9bc4cb0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6e59980ea50d84a849190460ae44c055f643355f
iuc
parents: 7
diff changeset
335 <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
336 <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
337 </data>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
338 </outputs>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
339
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
340 <tests>
11
c59d48774d03 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
iuc
parents: 9
diff changeset
341 <!-- 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
342 <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
343 <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
344 <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
345 <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
346 <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
347 <assert_contents>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
348 <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
349 </assert_contents>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
350 </output>
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
351 </test>
11
c59d48774d03 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
iuc
parents: 9
diff changeset
352 <!-- 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
353 <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
354 <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
355 <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
356 <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
357 <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
358 <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
359 </collection>
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
360 </param>
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
361 <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
362 <assert_contents>
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
363 <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
364 </assert_contents>
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
365 </output>
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
366 <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
367 <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
368 <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
369 </output_collection>
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
370 </test>
11
c59d48774d03 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
iuc
parents: 9
diff changeset
371 <!-- 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
372 <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
373 <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
374 <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
375 <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
376 <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
377 </test>
11
c59d48774d03 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
iuc
parents: 9
diff changeset
378 <!-- 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
379 <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
380 <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
381 <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
382 <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
383 <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
384 <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
385 <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
386 </section>
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
387 <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
388 </test>
11
c59d48774d03 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
iuc
parents: 9
diff changeset
389 <!-- 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
390 <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
391 <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
392 <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
393 <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
394 <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
395 <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
396 <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
397 </section>
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
398 <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
399 </test>
11
c59d48774d03 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
iuc
parents: 9
diff changeset
400 <!-- 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
401 <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
402 <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
403 <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
404 <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
405 <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
406 <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
407 </test>
11
c59d48774d03 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
iuc
parents: 9
diff changeset
408 <!-- 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
409 <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
410 <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
411 <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
412 <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
413 <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
414 <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
415 <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
416 <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
417 </section>
1
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="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
419 <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
420 </test>
11
c59d48774d03 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
iuc
parents: 9
diff changeset
421 <!-- 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
422 <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
423 <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
424 <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
425 <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
426 <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
427 <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
428 <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
429 <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
430 </section>
1
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="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
432 <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
433 </test>
11
c59d48774d03 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
iuc
parents: 9
diff changeset
434 <!-- 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
435 <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
436 <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
437 <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
438 <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
439 <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
440 <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
441 <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
442 <assert_contents>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
443 <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
444 </assert_contents>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
445 </output>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
446 </test>
11
c59d48774d03 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
iuc
parents: 9
diff changeset
447 <!-- 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
448 <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
449 <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
450 <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
451 <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
452 <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
453 <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
454 </test>
11
c59d48774d03 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
iuc
parents: 9
diff changeset
455 <!-- 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
456 <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
457 <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
458 <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
459 <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
460 <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
461 <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
462 <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
463 </test>
11
c59d48774d03 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
iuc
parents: 9
diff changeset
464 <!-- 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
465 <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
466 <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
467 <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
468 <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
469 <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
470 <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
471 </collection>
c59d48774d03 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
iuc
parents: 9
diff changeset
472 </param>
c59d48774d03 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
iuc
parents: 9
diff changeset
473 </test>
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
474 </tests>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
475 <help><![CDATA[
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
476 .. class:: infomark
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
477
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
478 **What it does**
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
479
11
c59d48774d03 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 61d055a8abacf009e8afe2d72377e6769ad08f42
iuc
parents: 9
diff changeset
480 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
481 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
482
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
483 *Features*
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
484
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
485 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
486
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
487 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
488
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
489 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
490
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
491 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
492
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
493 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
494
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
495 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
496
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
497 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
498
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
499 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
500
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
501 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
502
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
503 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
504
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
505 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
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
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
509 **Inputs**
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
510
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
511 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
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
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
515 **Outputs**
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
516
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
517 * Processed reads
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
518
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
519 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
520
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
521 * 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
522 * 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
523
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
524 .. _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
525
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
526 ]]></help>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
527 <citations>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
528 <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
529 </citations>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
530 </tool>