annotate fastp.xml @ 6:7c49e331a737 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 72f3e06941d063dffce10741fcebea38a536ee15
author iuc
date Thu, 23 Aug 2018 02:53:19 -0400
parents 4c14c2f8f4fb
children 2fcdbf78caf9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6
7c49e331a737 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 72f3e06941d063dffce10741fcebea38a536ee15
iuc
parents: 5
diff changeset
1 <tool id="fastp" name="fastp" version="@WRAPPER_VERSION@.3">
0
cb7226f7c585 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>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
3 <macros>
cb7226f7c585 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>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
5 </macros>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
6 <requirements>
cb7226f7c585 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>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
8 </requirements>
3
5f584c4b0f7e 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
cb7226f7c585 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
20c09892cfe7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 761a954744119f6317afe28eb50bd4f3fdea4984
iuc
parents: 3
diff changeset
11 #import re
20c09892cfe7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 761a954744119f6317afe28eb50bd4f3fdea4984
iuc
parents: 3
diff changeset
12
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
13 ## Link input files
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
14
5
4c14c2f8f4fb 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
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
16
5
4c14c2f8f4fb 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':
4c14c2f8f4fb 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'):
4c14c2f8f4fb 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'
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
20 #end if
4c14c2f8f4fb 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
4c14c2f8f4fb 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
4c14c2f8f4fb 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
4c14c2f8f4fb 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
4c14c2f8f4fb 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
4c14c2f8f4fb 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
4c14c2f8f4fb 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' &&
4c14c2f8f4fb 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' &&
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
29 #else
4c14c2f8f4fb 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')
4c14c2f8f4fb 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'
4c14c2f8f4fb 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
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
33
5
4c14c2f8f4fb 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
4c14c2f8f4fb 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' &&
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
36
4c14c2f8f4fb 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':
4c14c2f8f4fb 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
4c14c2f8f4fb 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' &&
4c14c2f8f4fb 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
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
41 #end if
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
42
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
43
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
44 ## Run fastp
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
45
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
46 fastp
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
47
1
adf6b091b0a8 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
20c09892cfe7 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
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
50
0
cb7226f7c585 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'):
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
52 --phred64
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
53 #end if
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
54
5
4c14c2f8f4fb 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
20c09892cfe7 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
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
57
5
4c14c2f8f4fb 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'):
4c14c2f8f4fb 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
20c09892cfe7 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
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
61 #end if
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
62
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
63
adf6b091b0a8 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
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
65
cb7226f7c585 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
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
67
cb7226f7c585 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):
cb7226f7c585 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'
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
70 #end if
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
71
5
4c14c2f8f4fb 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
cb7226f7c585 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):
cb7226f7c585 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'
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
75 #end if
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
76 #end if
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
77
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
78
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
79 ## Global Trimming Options
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
80
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
81 #if str($single_paired.global_trimming_options.trim_front1):
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
82 -f $single_paired.global_trimming_options.trim_front1
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
83 #end if
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
84
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
85 #if str($single_paired.global_trimming_options.trim_tail1):
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
86 -t $single_paired.global_trimming_options.trim_tail1
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
87 #end if
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
88
5
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
89 #if str($single_paired.single_paired_selector).startswith('paired'):
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
90 #if str($single_paired.global_trimming_options.trim_front2):
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
91 -F $single_paired.global_trimming_options.trim_front2
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
92 #end if
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
93 #if str($single_paired.global_trimming_options.trim_tail2):
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
94 -T $single_paired.global_trimming_options.trim_tail2
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
95 #end if
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
96 #end if
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
97
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
98
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
99 ## Overrepresented sequence analysis
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
100
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
101 $overrepresented_sequence_analysis.overrepresentation_analysis
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
102
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
103 #if str($overrepresented_sequence_analysis.overrepresentation_sampling):
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
104 -P $overrepresented_sequence_analysis.overrepresentation_sampling
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
105 #end if
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
106
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
107
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
108 ## Filter Options
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
109
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
110 ## Quality filtering options
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
111
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
112 $filter_options.quality_filtering_options.disable_quality_filtering
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
113
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
114 #if str($filter_options.quality_filtering_options.qualified_quality_phred):
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
115 -q $filter_options.quality_filtering_options.qualified_quality_phred
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
116 #end if
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
117 #if str($filter_options.quality_filtering_options.unqualified_percent_limit):
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
118 -u $filter_options.quality_filtering_options.unqualified_percent_limit
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
119 #end if
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
120 #if str($filter_options.quality_filtering_options.n_base_limit):
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
121 -n $filter_options.quality_filtering_options.n_base_limit
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
122 #end if
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
123
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
124
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
125 ## Length filtering options
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
126
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
127 $filter_options.length_filtering_options.disable_length_filtering
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
128
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
129 #if str($filter_options.length_filtering_options.length_required):
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
130 -l $filter_options.length_filtering_options.length_required
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
131 #end if
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
132
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
133 ## Low complexity filtering options
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
134
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
135 $filter_options.low_complexity_filter.enable_low_complexity_filter
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
136
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
137 #if str($filter_options.low_complexity_filter.complexity_threshold):
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
138 -Y $filter_options.low_complexity_filter.complexity_threshold
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
139 #end if
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
140
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
141
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
142 ## Read Modification Options
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
143
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
144 ## PolyG tail trimming, useful for NextSeq/NovaSeq data
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
145
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
146 #if $read_mod_options.polyg_tail_trimming.trimming_select in ['', '-g']:
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
147 #if str($read_mod_options.polyg_tail_trimming.poly_g_min_len):
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
148 --poly_g_min_len $read_mod_options.polyg_tail_trimming.poly_g_min_len
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
149 #end if
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
150 $read_mod_options.polyg_tail_trimming.trimming_select
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
151 #end if
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
152
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
153 ## PolyX tail trimming
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
154
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
155 #if $read_mod_options.polyx_tail_trimming.polyx_trimming_select == '-x':
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
156 $read_mod_options.polyx_tail_trimming.polyx_trimming_select
6
7c49e331a737 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 72f3e06941d063dffce10741fcebea38a536ee15
iuc
parents: 5
diff changeset
157 #if str($read_mod_options.polyx_tail_trimming.poly_x_min_len):
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
158 --poly_x_min_len $read_mod_options.polyx_tail_trimming.poly_x_min_len
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
159 #end if
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
160 #end if
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
161
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
162 ## UMI processing
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
163
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
164 #if $read_mod_options.umi_processing.umi:
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
165 $read_mod_options.umi_processing.umi
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
166 #if str($read_mod_options.umi_processing.umi_loc):
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
167 --umi_loc '$read_mod_options.umi_processing.umi_loc'
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
168 #end if
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
169 #if str($read_mod_options.umi_processing.umi_len):
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
170 --umi_len $read_mod_options.umi_processing.umi_len
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
171 #end if
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
172 #if str($read_mod_options.umi_processing.umi_prefix):
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
173 --umi_prefix '$read_mod_options.umi_processing.umi_prefix'
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
174 #end if
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
175 #end if
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
176
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
177 ## Per read cutting by quality options
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
178
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
179 #if $read_mod_options.cutting_by_quality_options.cut_by_quality5 or $read_mod_options.cutting_by_quality_options.cut_by_quality3:
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
180
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
181 $read_mod_options.cutting_by_quality_options.cut_by_quality5
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
182
adf6b091b0a8 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_quality3
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
184
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
185 #if str($read_mod_options.cutting_by_quality_options.cut_window_size):
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
186 -W $read_mod_options.cutting_by_quality_options.cut_window_size
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
187 #end if
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
188 #if str($read_mod_options.cutting_by_quality_options.cut_mean_quality):
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
189 -M $read_mod_options.cutting_by_quality_options.cut_mean_quality
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
190 #end if
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
191 #end if
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
192
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
193 ## Base correction by overlap analysis options
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
194
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
195 $read_mod_options.base_correction_options.correction
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
196
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
197 &&
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
198
4
20c09892cfe7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 761a954744119f6317afe28eb50bd4f3fdea4984
iuc
parents: 3
diff changeset
199 mv first${ext} '${out1}'
5
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
200 #if str($single_paired.single_paired_selector).startswith('paired'):
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
201 &&
4
20c09892cfe7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 761a954744119f6317afe28eb50bd4f3fdea4984
iuc
parents: 3
diff changeset
202 mv second${ext} '${out2}'
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
203 #end if
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
204 ]]></command>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
205 <inputs>
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
206
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
207 <conditional name="single_paired">
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
208 <param name="single_paired_selector" type="select" label="Single-end or paired reads">
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
209 <option value="single" selected="true">Single-end</option>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
210 <option value="paired">Paired</option>
5
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
211 <option value="paired_collection">Paired Collection</option>
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
212 </param>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
213 <when value="single">
5
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
214 <expand macro="in" />
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
215 <expand macro="adapter_trimming_options" />
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
216 <expand macro="global_trimming_options" />
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
217 </when>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
218 <when value="paired">
5
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
219 <expand macro="in" read_number="1" argument="-i"/>
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
220 <expand macro="in" read_number="2" argument="-I"/>
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
221 <expand macro="adapter_trimming_options">
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
222 <expand macro="adapter_sequence" read_number="2"/>
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
223 </expand>
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
224 <expand macro="global_trimming_options_paired" />
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
225 </when>
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
226 <when value="paired_collection">
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
227 <param name="paired_input" type="data_collection" collection_type="paired" format="fastq,fastq.gz" label="Select paired collection(s)"/>
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
228 <expand macro="adapter_trimming_options">
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
229 <expand macro="adapter_sequence" read_number="2"/>
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
230 </expand>
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
231 <expand macro="global_trimming_options_paired" />
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
232 </when>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
233 </conditional>
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
234
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
235 <section name="overrepresented_sequence_analysis" title="Overrepresented Sequence Analysis" expanded="False">
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
236 <param name="overrepresentation_analysis" argument="-p" type="boolean" truevalue="-p" falsevalue="" checked="false" label="Enable overrepresented analysis" help="Enable overrepresented sequence analysis."/>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
237 <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."/>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
238 </section>
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
239
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
240 <!-- Filter Options -->
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
241 <section name="filter_options" title="Filter Options">
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
242 <section name="quality_filtering_options" title="Quality filtering options" expanded="True">
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
243 <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."/>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
244 <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."/>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
245 <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%."/>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
246 <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."/>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
247 </section>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
248
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
249 <section name="length_filtering_options" title="Length filtering options" expanded="True">
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
250 <param name="disable_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."/>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
251 <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."/>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
252 </section>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
253
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
254 <section name="low_complexity_filter" title="Low complexity filtering options" expanded="True">
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
255 <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"/>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
256 <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."/>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
257 </section>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
258 </section>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
259
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
260 <!-- Read Modification Options -->
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
261 <section name="read_mod_options" title="Read Modification Options">
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
262 <conditional name="polyg_tail_trimming">
6
7c49e331a737 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 72f3e06941d063dffce10741fcebea38a536ee15
iuc
parents: 5
diff changeset
263 <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
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
264 <option value="" selected="true">Automatic trimming for Illumina NextSeq/NovaSeq data</option>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
265 <option value="-g">Force polyG tail trimming</option>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
266 <option value="-G">Disable polyG tail trimming</option>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
267 </param>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
268 <when value="-g">
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
269 <expand macro="poly_g_min_len" />
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
270 </when>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
271 <when value="">
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
272 <expand macro="poly_g_min_len" />
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
273 </when>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
274 <when value="-G" />
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
275 </conditional>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
276
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
277 <conditional name="polyx_tail_trimming">
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
278 <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.">
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
279 <option value="" selected="true">Disable polyX trimming</option>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
280 <option value="-x">Enable polyX tail trimming</option>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
281 </param>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
282 <when value="-x">
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
283 <param name="poly_x_min_len" argument="--poly_x_min_len" type="integer" optional="true" label="PolyX minimum length"
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
284 help="The minimum length to detect polyX in the read tail. 10 by default."/>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
285 </when>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
286 <when value="" />
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
287 </conditional>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
288
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
289 <section name="umi_processing" title="UMI processing" expanded="True">
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
290 <param name="umi" argument="-U" type="boolean" truevalue="-U" falsevalue="" checked="false" label="Enable unique molecular identifer" help="Enable unique molecular identifer (UMI) preprocessing."/>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
291 <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."/>
adf6b091b0a8 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_len" argument="--umi_len" type="integer" optional="true" label="UMI length" help="If the UMI is in read1/read2, its length should be provided."/>
adf6b091b0a8 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_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."/>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
294 </section>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
295
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
296 <section name="cutting_by_quality_options" title="Per read cutting by quality options" expanded="True">
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
297 <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)."/>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
298 <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)."/>
adf6b091b0a8 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_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."/>
adf6b091b0a8 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_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."/>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
301 </section>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
302
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
303 <section name="base_correction_options" title="Base correction by overlap analysis options" expanded="True">
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
304 <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."/>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
305 </section>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
306 </section>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
307
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
308 <section name="output_options" title="Output Options" expanded="False">
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
309 <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
20c09892cfe7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 761a954744119f6317afe28eb50bd4f3fdea4984
iuc
parents: 3
diff changeset
310 <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
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
311 </section>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
312 </inputs>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
313
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
314 <outputs>
5
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
315 <data name="out1" format_source="in1" label="${tool.name} on ${on_string}: Read 1 Output">
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
316 <filter>single_paired['single_paired_selector'] in ["single", "paired"]</filter>
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
317 </data>
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
318 <data name="out2" format_source="in2" label="${tool.name} on ${on_string}: Read 2 Output">
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
319 <filter>single_paired['single_paired_selector'] == "paired"</filter>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
320 </data>
5
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
321 <collection name="output_paired_coll" type="paired" structured_like="paired_input" inherit_format="true" label="Paired-end output of ${tool.name} on ${on_string}">
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
322 <filter>single_paired['single_paired_selector'] == "paired_collection"</filter>
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
323 </collection>
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
324 <data name="report_html" format="html" from_work_dir="fastp.html" label="${tool.name} on ${on_string}: HTML Report">
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
325 <filter>output_options['report_html'] is True</filter>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
326 </data>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
327 <data name="report_json" format="json" from_work_dir="fastp.json" label="${tool.name} on ${on_string}: JSON Report">
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
328 <filter>output_options['report_json'] is True</filter>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
329 </data>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
330 </outputs>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
331
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
332 <tests>
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
333 <!-- Ensure default output works -->
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
334 <test expect_num_outputs="2">
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
335 <param name="in1" ftype="fastqsanger" value="R1.fq"/>
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
336 <param name="single_paired_selector" value="single"/>
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
337 <output name="out1" ftype="fastqsanger" file="out1.fq"/>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
338 <output name="report_html">
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
339 <assert_contents>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
340 <has_text text="fastp report"/>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
341 </assert_contents>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
342 </output>
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
343 </test>
5
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
344 <!-- Ensure paired collection works -->
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
345 <test expect_num_outputs="3">
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
346 <param name="single_paired_selector" value="paired_collection"/>
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
347 <param name="paired_input">
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
348 <collection type="paired">
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
349 <element name="forward" value="bwa-mem-fastq1.fq" ftype="fastqsanger" />
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
350 <element name="reverse" value="bwa-mem-fastq2.fq" ftype="fastqsanger" />
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
351 </collection>
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
352 </param>
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
353 <output name="report_html">
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
354 <assert_contents>
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
355 <has_text text="fastp report"/>
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
356 </assert_contents>
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
357 </output>
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
358 <output_collection name="output_paired_coll" type="paired">
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
359 <element name="forward" value="out_bwa1.fq" ftype="fastqsanger"/>
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
360 <element name="reverse" value="out_bwa2.fq" ftype="fastqsanger"/>
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
361 </output_collection>
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
362 </test>
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
363 <!-- Ensure custom adapter works -->
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
364 <test expect_num_outputs="2">
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
365 <param name="in1" ftype="fastq" value="R1.fq"/>
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
366 <param name="single_paired_selector" value="single"/>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
367 <param name="adapter_sequence1" value="ATCG"/>
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
368 <output name="out1" ftype="fastq" file="out_a.fq"/>
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
369 </test>
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
370 <!-- Ensure UMI processing works -->
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
371 <test expect_num_outputs="2">
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
372 <param name="in1" ftype="fastq" value="R1.fq"/>
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
373 <param name="single_paired_selector" value="single"/>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
374 <section name="umi_processing">
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
375 <param name="umi" value="true"/>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
376 <param name="umi_loc" value="read1"/>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
377 <param name="umi_len" value="8"/>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
378 </section>
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
379 <output name="out1" ftype="fastq" file="out2.fq"/>
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
380 </test>
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
381 <!-- Ensure UMI processing with different lengths works -->
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
382 <test expect_num_outputs="2">
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
383 <param name="in1" ftype="fastq" value="R1.fq"/>
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
384 <param name="single_paired_selector" value="single"/>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
385 <section name="umi_processing">
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
386 <param name="umi" value="true"/>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
387 <param name="umi_loc" value="read1"/>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
388 <param name="umi_len" value="12"/>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
389 </section>
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
390 <output name="out1" ftype="fastq" file="out3.fq"/>
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
391 </test>
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
392 <!-- Ensure paired-end fastq works -->
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
393 <test expect_num_outputs="3">
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
394 <param name="in1" ftype="fastq" value="bwa-mem-fastq1.fq"/>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
395 <param name="in2" ftype="fastq" value="bwa-mem-fastq2.fq"/>
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
396 <param name="single_paired_selector" value="paired"/>
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
397 <output name="out1" ftype="fastq" file="out_bwa1.fq"/>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
398 <output name="out2" ftype="fastq" file="out_bwa2.fq"/>
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
399 </test>
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
400 <!-- Ensure paired-end UMI processing of Read 1 works -->
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
401 <test expect_num_outputs="3">
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
402 <param name="in1" ftype="fastq" value="bwa-mem-fastq1.fq"/>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
403 <param name="in2" ftype="fastq" value="bwa-mem-fastq2.fq"/>
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
404 <param name="single_paired_selector" value="paired"/>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
405 <section name="umi_processing">
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
406 <param name="umi" value="true"/>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
407 <param name="umi_loc" value="read1"/>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
408 <param name="umi_len" value="8"/>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
409 </section>
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
410 <output name="out1" ftype="fastq" file="out_bwa_umi_read1_1.fq"/>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
411 <output name="out2" ftype="fastq" file="out_bwa_umi_read1_2.fq"/>
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
412 </test>
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
413 <!-- Ensure paired-end UMI processing of Read 2 works -->
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
414 <test expect_num_outputs="3">
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
415 <param name="in1" ftype="fastq" value="bwa-mem-fastq1.fq"/>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
416 <param name="in2" ftype="fastq" value="bwa-mem-fastq2.fq"/>
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
417 <param name="single_paired_selector" value="paired"/>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
418 <section name="umi_processing">
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
419 <param name="umi" value="true"/>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
420 <param name="umi_loc" value="read2"/>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
421 <param name="umi_len" value="8"/>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
422 </section>
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
423 <output name="out1" ftype="fastq" file="out_bwa_umi_read2_1.fq"/>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
424 <output name="out2" ftype="fastq" file="out_bwa_umi_read2_2.fq"/>
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
425 </test>
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
426 <!-- Ensure JSON report output works -->
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
427 <test expect_num_outputs="2">
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
428 <param name="in1" ftype="fastqsanger" value="R1.fq"/>
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
429 <param name="single_paired_selector" value="single"/>
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
430 <param name="report_html" value="False"/>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
431 <param name="report_json" value="True"/>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
432 <output name="out1" ftype="fastqsanger" file="out1.fq"/>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
433 <output name="report_json">
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
434 <assert_contents>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
435 <has_text text="fastp report"/>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
436 </assert_contents>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
437 </output>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
438 </test>
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
439 <!-- Ensure polyG trimming works -->
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
440 <test expect_num_outputs="2">
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
441 <param name="in1" ftype="fastq.gz" value="R1.fq.gz"/>
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
442 <param name="single_paired_selector" value="single"/>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
443 <param name="trimming_select" value="-g"/>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
444 <param name="poly_g_min_len" value="10"/>
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
445 <output name="out1" ftype="fastq.gz" decompress="True" file="out1.fq.gz"/>
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
446 </test>
6
7c49e331a737 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 72f3e06941d063dffce10741fcebea38a536ee15
iuc
parents: 5
diff changeset
447 <!-- Ensure polyX trimming works -->
7c49e331a737 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 72f3e06941d063dffce10741fcebea38a536ee15
iuc
parents: 5
diff changeset
448 <test expect_num_outputs="2">
7c49e331a737 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 72f3e06941d063dffce10741fcebea38a536ee15
iuc
parents: 5
diff changeset
449 <param name="in1" ftype="fastq.gz" value="R1.fq.gz"/>
7c49e331a737 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 72f3e06941d063dffce10741fcebea38a536ee15
iuc
parents: 5
diff changeset
450 <param name="single_paired_selector" value="single"/>
7c49e331a737 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 72f3e06941d063dffce10741fcebea38a536ee15
iuc
parents: 5
diff changeset
451 <param name="trimming_select" value="-G"/>
7c49e331a737 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 72f3e06941d063dffce10741fcebea38a536ee15
iuc
parents: 5
diff changeset
452 <param name="polyx_trimming_select" value="-x"/>
7c49e331a737 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 72f3e06941d063dffce10741fcebea38a536ee15
iuc
parents: 5
diff changeset
453 <param name="poly_x_min_len" value="10"/>
7c49e331a737 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 72f3e06941d063dffce10741fcebea38a536ee15
iuc
parents: 5
diff changeset
454 <output name="out1" ftype="fastq.gz" decompress="True" file="out1.fq.gz"/>
7c49e331a737 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 72f3e06941d063dffce10741fcebea38a536ee15
iuc
parents: 5
diff changeset
455 </test>
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
456 </tests>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
457 <help><![CDATA[
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
458 .. class:: infomark
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
459
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
460 **What it does**
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
461
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
462 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.
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
463
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
464 *Features*
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
465
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
466 1. Filter out bad reads (too low quality, too short, or too many N...)
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
467
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
468 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
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
469
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
470 3. Trim all reads in front and tail
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
471
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
472 4. Cut adapters. Adapter sequences can be automatically detected, which means you don't have to input the adapter sequences to trim them.
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
473
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
474 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
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
475
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
476 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
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
477
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
478 7. Preprocess unique molecular identifer (UMI) enabled data, shift UMI to sequence name
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
479
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
480 8. Report JSON format result for further interpreting
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
481
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
482 9. Visualize quality control and filtering results on a single HTML page (like FASTQC but faster and more informative)
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
483
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
484 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
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
485
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
486 11. Support long reads (data from PacBio / Nanopore devices)
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
487
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
488 -----
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
489
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
490 **Inputs**
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
491
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
492 Single-end or Paired-end FASTQ or FASTQ.GZ reads
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
493
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
494 -----
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
495
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
496 **Outputs**
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
497
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
498 * Processed reads
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
499
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
500 Optionally, under **Output Options** you can choose to output
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
501
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
502 * HTML report (default is Yes)
4
20c09892cfe7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 761a954744119f6317afe28eb50bd4f3fdea4984
iuc
parents: 3
diff changeset
503 * JSON report (compatible with MultiQC)
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
504
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
505 .. _fastp: https://github.com/OpenGene/fastp
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
506
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
507 ]]></help>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
508 <citations>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
509 <citation type="doi">10.1101/274100</citation>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
510 </citations>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
511 </tool>