annotate fastp.xml @ 8:1d8fe9bc4cb0 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6e59980ea50d84a849190460ae44c055f643355f
author iuc
date Tue, 28 May 2019 10:18:59 -0400
parents 6c2351178f8d
children dbf9c561ef29
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8
1d8fe9bc4cb0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6e59980ea50d84a849190460ae44c055f643355f
iuc
parents: 7
diff changeset
1 <tool id="fastp" name="fastp" version="@WRAPPER_VERSION@+galaxy1">
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
2 <description>- fast all-in-one preprocessing for FASTQ files</description>
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>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
6 <requirements>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
7 <requirement type="package" version="@WRAPPER_VERSION@">fastp</requirement>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
8 </requirements>
3
e0b44bf2543e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit d4f5a03011790c36ffd0f698b1e75c80f87fd1bf
iuc
parents: 1
diff changeset
9 <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
10 <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
11 #import re
7c82cb2a90c4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 761a954744119f6317afe28eb50bd4f3fdea4984
iuc
parents: 3
diff changeset
12
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
13 ## Link input files
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
14
5
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
15 #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
16
5
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
17 #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
18 #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
19 #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
20 #end if
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
21 #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
22 #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
23 #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
24 #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
25 #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
26 #set out2 = $output_paired_coll.reverse
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
27 ln -s '$in1' '$in1_name' &&
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
28 ln -s '$in2' '$in2_name' &&
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
29 #else
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
30 #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
31 #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
32 #end if
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
33
5
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
34 #set $in1_name = re.sub('[^\w\-\s]', '_', str($in1.element_identifier)) + $ext
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
35 ln -s '$in1' '$in1_name' &&
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
36
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
37 #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
38 #set $in2_name = re.sub('[^\w\-\s]', '_', str("%s_R2" % $in2.element_identifier)) + $ext
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
39 ln -s '$in2' '$in2_name' &&
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
40 #end if
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
41 #end if
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
42
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 ## Run fastp
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
45
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
46 fastp
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
47
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
48 --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
49 --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
50
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
51 #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
52 --phred64
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
53 #end if
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
54
5
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
55 -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
56 -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
57
5
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
58 #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
59 -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
60 -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
61 #end if
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
62
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
63
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
64 ## 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
65
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
66 $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
67
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
68 #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
69 --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
70 #end if
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
71
5
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
72 #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
73 #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
74 --adapter_sequence_r2 '$single_paired.adapter_trimming_options.adapter_sequence2'
7
6c2351178f8d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 249269561e1d3a767371c154677e5dd59147f7d7
iuc
parents: 6
diff changeset
75 #else
6c2351178f8d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 249269561e1d3a767371c154677e5dd59147f7d7
iuc
parents: 6
diff changeset
76 --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
77 #end if
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
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
135 ## 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
136
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
137 $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
138
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
139 #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
140 -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
141 #end if
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
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
144 ## 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
145
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
146 ## 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
147
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
148 #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
149 #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
150 --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
151 #end if
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
152 $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
153 #end if
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
154
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
155 ## 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
156
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
157 #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
158 $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
159 #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
160 --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
161 #end if
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
162 #end if
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
163
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
164 ## UMI processing
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
165
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
166 #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
167 $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
168 #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
169 --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
170 #end if
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
171 #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
172 --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
173 #end if
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
174 #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
175 --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
176 #end if
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
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
179 ## 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
180
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
181 #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
182
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
183 $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
184
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
185 $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 #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
188 -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
189 #end if
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
190 #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
191 -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
192 #end if
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
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
195 ## 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
196
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
197 $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
198
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
199 &&
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
200
4
7c82cb2a90c4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 761a954744119f6317afe28eb50bd4f3fdea4984
iuc
parents: 3
diff changeset
201 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
202 #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
203 &&
4
7c82cb2a90c4 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 761a954744119f6317afe28eb50bd4f3fdea4984
iuc
parents: 3
diff changeset
204 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
205 #end if
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
206 ]]></command>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
207 <inputs>
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
208
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
209 <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
210 <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
211 <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
212 <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
213 <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
214 </param>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
215 <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
216 <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
217 <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
218 <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
219 </when>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
220 <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
221 <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
222 <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
223 <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
224 <expand macro="adapter_sequence" read_number="2"/>
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
225 </expand>
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="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
227 </when>
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
228 <when 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
229 <param name="paired_input" type="data_collection" collection_type="paired" format="fastq,fastq.gz" label="Select paired collection(s)"/>
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="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
231 <expand macro="adapter_sequence" read_number="2"/>
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
232 </expand>
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
233 <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
234 </when>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
235 </conditional>
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
236
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
237 <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
238 <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
239 <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
240 </section>
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 <!-- Filter Options -->
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
243 <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
244 <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
245 <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
246 <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
247 <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
248 <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
249 </section>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
250
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
251 <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
252 <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
253 <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."/>
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="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
257 <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
258 <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
259 </section>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
260 </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 <!-- 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
263 <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
264 <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
265 <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
266 <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
267 <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
268 <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
269 </param>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
270 <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
271 <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
272 </when>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
273 <when value="">
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
274 <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
275 </when>
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 </conditional>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
278
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
279 <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
280 <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
281 <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
282 <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
283 </param>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
284 <when value="-x">
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
285 <param name="poly_x_min_len" argument="--poly_x_min_len" type="integer" optional="true" label="PolyX minimum length"
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
286 help="The minimum length to detect polyX in the read tail. 10 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 </when>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
288 <when value="" />
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
289 </conditional>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
290
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
291 <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
292 <param name="umi" argument="-U" type="boolean" truevalue="-U" falsevalue="" checked="false" label="Enable unique molecular identifer" help="Enable unique molecular identifer (UMI) preprocessing."/>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
293 <param name="umi_loc" 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."/>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
294 <param name="umi_len" argument="--umi_len" type="integer" optional="true" label="UMI length" help="If the UMI is in read1/read2, its length should be provided."/>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
295 <param name="umi_prefix" 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."/>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
296 </section>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
297
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
298 <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
299 <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
300 <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
301 <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
302 <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
303 </section>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
304
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
305 <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
306 <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
307 </section>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
308 </section>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
309
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
310 <section name="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
311 <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
312 <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
313 </section>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
314 </inputs>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
315
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
316 <outputs>
8
1d8fe9bc4cb0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6e59980ea50d84a849190460ae44c055f643355f
iuc
parents: 7
diff changeset
317 <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
318 <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
319 </data>
8
1d8fe9bc4cb0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6e59980ea50d84a849190460ae44c055f643355f
iuc
parents: 7
diff changeset
320 <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
321 <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
322 </data>
8
1d8fe9bc4cb0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6e59980ea50d84a849190460ae44c055f643355f
iuc
parents: 7
diff changeset
323 <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
324 <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
325 </collection>
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="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
327 <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
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 <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
330 <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
331 </data>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
332 </outputs>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
333
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
334 <tests>
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
335 <!-- Ensure default output works -->
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
336 <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
337 <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
338 <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
339 <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
340 <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
341 <assert_contents>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
342 <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
343 </assert_contents>
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
344 </output>
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
345 </test>
5
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
346 <!-- 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
347 <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
348 <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
349 <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
350 <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
351 <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
352 <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
353 </collection>
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
354 </param>
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
355 <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
356 <assert_contents>
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
357 <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
358 </assert_contents>
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
359 </output>
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
360 <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
361 <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
362 <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
363 </output_collection>
3e2551a37201 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
364 </test>
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
365 <!-- Ensure custom adapter works -->
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
366 <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
367 <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
368 <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
369 <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
370 <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
371 </test>
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
372 <!-- Ensure UMI processing works -->
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
373 <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
374 <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
375 <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
376 <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
377 <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
378 <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
379 <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
380 </section>
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
381 <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
382 </test>
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
383 <!-- Ensure UMI processing with different lengths works -->
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
384 <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
385 <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
386 <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
387 <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
388 <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
389 <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
390 <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
391 </section>
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
392 <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
393 </test>
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
394 <!-- Ensure paired-end fastq works -->
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
395 <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
396 <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
397 <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
398 <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
399 <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
400 <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
401 </test>
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
402 <!-- Ensure paired-end UMI processing of Read 1 works -->
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
403 <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
404 <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
405 <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
406 <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
407 <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
408 <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
409 <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
410 <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
411 </section>
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
412 <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
413 <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
414 </test>
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
415 <!-- Ensure paired-end UMI processing of Read 2 works -->
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
416 <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
417 <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
418 <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
419 <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
420 <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
421 <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
422 <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
423 <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
424 </section>
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
425 <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
426 <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
427 </test>
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
428 <!-- Ensure JSON report output works -->
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
429 <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
430 <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
431 <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
432 <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
433 <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
434 <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
435 <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
436 <assert_contents>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
437 <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
438 </assert_contents>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
439 </output>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
440 </test>
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
441 <!-- Ensure polyG trimming works -->
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
442 <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
443 <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
444 <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
445 <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
446 <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
447 <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
448 </test>
6
a935cbdf1c0e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 72f3e06941d063dffce10741fcebea38a536ee15
iuc
parents: 5
diff changeset
449 <!-- Ensure polyX trimming works -->
a935cbdf1c0e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 72f3e06941d063dffce10741fcebea38a536ee15
iuc
parents: 5
diff changeset
450 <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
451 <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
452 <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
453 <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
454 <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
455 <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
456 <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
457 </test>
0
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
458 </tests>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
459 <help><![CDATA[
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
460 .. class:: infomark
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
461
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
462 **What it does**
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
463
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
464 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 afford high performance.
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
465
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
466 *Features*
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
467
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
468 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
469
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
470 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
471
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
472 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
473
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
474 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
475
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
476 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
477
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
478 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
479
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
480 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
481
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
482 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
483
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
484 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
485
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
486 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
487
1
f44e93b4529c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
488 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
489
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
490 -----
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
491
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
492 **Inputs**
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
493
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
494 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
495
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
496 -----
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
497
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
498 **Outputs**
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
499
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
500 * Processed reads
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
501
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
502 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
503
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
504 * 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
505 * 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
506
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
507 .. _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
508
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
509 ]]></help>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
510 <citations>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
511 <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
512 </citations>
988729b728f0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
513 </tool>