annotate fastp.xml @ 7:2fcdbf78caf9 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 249269561e1d3a767371c154677e5dd59147f7d7
author iuc
date Wed, 16 Jan 2019 04:01:17 -0500
parents 7c49e331a737
children 1eb1895ab19c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
2fcdbf78caf9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 249269561e1d3a767371c154677e5dd59147f7d7
iuc
parents: 6
diff changeset
1 <tool id="fastp" name="fastp" version="@WRAPPER_VERSION@">
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'
7
2fcdbf78caf9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 249269561e1d3a767371c154677e5dd59147f7d7
iuc
parents: 6
diff changeset
75 #else
2fcdbf78caf9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 249269561e1d3a767371c154677e5dd59147f7d7
iuc
parents: 6
diff changeset
76 --detect_adapter_for_pe
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
77 #end if
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
78 #end if
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
79
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
80
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
81 ## Global Trimming Options
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
82
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
83 #if str($single_paired.global_trimming_options.trim_front1):
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
84 -f $single_paired.global_trimming_options.trim_front1
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
85 #end if
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
86
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
87 #if str($single_paired.global_trimming_options.trim_tail1):
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
88 -t $single_paired.global_trimming_options.trim_tail1
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
89 #end if
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
90
5
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
91 #if str($single_paired.single_paired_selector).startswith('paired'):
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
92 #if str($single_paired.global_trimming_options.trim_front2):
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
93 -F $single_paired.global_trimming_options.trim_front2
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
94 #end if
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
95 #if str($single_paired.global_trimming_options.trim_tail2):
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
96 -T $single_paired.global_trimming_options.trim_tail2
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
97 #end if
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
98 #end if
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
99
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
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 $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
104
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
105 #if str($overrepresented_sequence_analysis.overrepresentation_sampling):
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
106 -P $overrepresented_sequence_analysis.overrepresentation_sampling
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
107 #end if
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
108
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
109
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
110 ## Filter 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 ## 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
113
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
114 $filter_options.quality_filtering_options.disable_quality_filtering
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
115
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
116 #if str($filter_options.quality_filtering_options.qualified_quality_phred):
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
117 -q $filter_options.quality_filtering_options.qualified_quality_phred
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
118 #end if
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
119 #if str($filter_options.quality_filtering_options.unqualified_percent_limit):
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
120 -u $filter_options.quality_filtering_options.unqualified_percent_limit
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
121 #end if
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
122 #if str($filter_options.quality_filtering_options.n_base_limit):
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
123 -n $filter_options.quality_filtering_options.n_base_limit
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
124 #end if
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
125
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 ## 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
128
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
129 $filter_options.length_filtering_options.disable_length_filtering
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
130
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
131 #if str($filter_options.length_filtering_options.length_required):
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
132 -l $filter_options.length_filtering_options.length_required
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
133 #end if
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 ## 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
136
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
137 $filter_options.low_complexity_filter.enable_low_complexity_filter
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
138
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
139 #if str($filter_options.low_complexity_filter.complexity_threshold):
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
140 -Y $filter_options.low_complexity_filter.complexity_threshold
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
141 #end if
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
142
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 ## 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
145
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
146 ## PolyG tail trimming, useful for NextSeq/NovaSeq data
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
147
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
148 #if $read_mod_options.polyg_tail_trimming.trimming_select in ['', '-g']:
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
149 #if str($read_mod_options.polyg_tail_trimming.poly_g_min_len):
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
150 --poly_g_min_len $read_mod_options.polyg_tail_trimming.poly_g_min_len
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 $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
153 #end if
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 ## 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
156
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
157 #if $read_mod_options.polyx_tail_trimming.polyx_trimming_select == '-x':
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
158 $read_mod_options.polyx_tail_trimming.polyx_trimming_select
6
7c49e331a737 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 72f3e06941d063dffce10741fcebea38a536ee15
iuc
parents: 5
diff changeset
159 #if str($read_mod_options.polyx_tail_trimming.poly_x_min_len):
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
160 --poly_x_min_len $read_mod_options.polyx_tail_trimming.poly_x_min_len
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
161 #end if
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
162 #end if
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 ## UMI processing
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
165
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
166 #if $read_mod_options.umi_processing.umi:
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
167 $read_mod_options.umi_processing.umi
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
168 #if str($read_mod_options.umi_processing.umi_loc):
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
169 --umi_loc '$read_mod_options.umi_processing.umi_loc'
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
170 #end if
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
171 #if str($read_mod_options.umi_processing.umi_len):
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
172 --umi_len $read_mod_options.umi_processing.umi_len
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
173 #end if
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
174 #if str($read_mod_options.umi_processing.umi_prefix):
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
175 --umi_prefix '$read_mod_options.umi_processing.umi_prefix'
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
176 #end if
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
177 #end if
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 ## 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
180
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
181 #if $read_mod_options.cutting_by_quality_options.cut_by_quality5 or $read_mod_options.cutting_by_quality_options.cut_by_quality3:
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_quality5
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 $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
186
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
187 #if str($read_mod_options.cutting_by_quality_options.cut_window_size):
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
188 -W $read_mod_options.cutting_by_quality_options.cut_window_size
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
189 #end if
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
190 #if str($read_mod_options.cutting_by_quality_options.cut_mean_quality):
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
191 -M $read_mod_options.cutting_by_quality_options.cut_mean_quality
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
192 #end if
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
193 #end if
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 ## 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
196
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
197 $read_mod_options.base_correction_options.correction
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
198
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
199 &&
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
200
4
20c09892cfe7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 761a954744119f6317afe28eb50bd4f3fdea4984
iuc
parents: 3
diff changeset
201 mv first${ext} '${out1}'
5
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
202 #if str($single_paired.single_paired_selector).startswith('paired'):
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
203 &&
4
20c09892cfe7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 761a954744119f6317afe28eb50bd4f3fdea4984
iuc
parents: 3
diff changeset
204 mv second${ext} '${out2}'
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
205 #end if
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
206 ]]></command>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
207 <inputs>
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
208
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
209 <conditional name="single_paired">
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
210 <param name="single_paired_selector" type="select" label="Single-end or paired reads">
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
211 <option value="single" selected="true">Single-end</option>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
212 <option value="paired">Paired</option>
5
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
213 <option value="paired_collection">Paired Collection</option>
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
214 </param>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
215 <when value="single">
5
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="in" />
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
217 <expand macro="adapter_trimming_options" />
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
218 <expand macro="global_trimming_options" />
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
219 </when>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
220 <when value="paired">
5
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="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
222 <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
223 <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
224 <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
225 </expand>
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
226 <expand macro="global_trimming_options_paired" />
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
227 </when>
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
228 <when value="paired_collection">
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
229 <param name="paired_input" type="data_collection" collection_type="paired" format="fastq,fastq.gz" label="Select paired collection(s)"/>
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
230 <expand macro="adapter_trimming_options">
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="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
232 </expand>
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
233 <expand macro="global_trimming_options_paired" />
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
234 </when>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
235 </conditional>
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
236
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
237 <section name="overrepresented_sequence_analysis" title="Overrepresented Sequence Analysis" expanded="False">
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
238 <param name="overrepresentation_analysis" argument="-p" type="boolean" truevalue="-p" falsevalue="" checked="false" label="Enable overrepresented analysis" help="Enable overrepresented sequence analysis."/>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
239 <param name="overrepresentation_sampling" argument="-P" type="integer" optional="true" label="Overrepresentation sampling" help="One in (--overrepresentation_sampling) reads will be computed for overrepresentation analysis (1~10000), smaller is slower, default is 20."/>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
240 </section>
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
241
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
242 <!-- Filter Options -->
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
243 <section name="filter_options" title="Filter Options">
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
244 <section name="quality_filtering_options" title="Quality filtering options" expanded="True">
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="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
246 <param name="qualified_quality_phred" argument="-q" type="integer" optional="true" label="Qualified quality phred" help="The quality value that a base is qualified. Default 15 means phred quality >=Q15 is qualified."/>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
247 <param name="unqualified_percent_limit" argument="-u" type="integer" optional="true" label="Unqualified percent limit" help="How many percents of bases are allowed to be unqualified (0~100). Default 40 means 40%."/>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
248 <param name="n_base_limit" argument="-n" type="integer" optional="true" label="N base limit" help="If one read's number of N base is >n_base_limit, then this read/pair is discarded. Default is 5."/>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
249 </section>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
250
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
251 <section name="length_filtering_options" title="Length filtering options" expanded="True">
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
252 <param name="disable_length_filtering" argument="-L" type="boolean" truevalue="-L" falsevalue="" checked="false" label="Disable length filtering" help="Length filtering is enabled by default. If this option is specified, length filtering is disabled."/>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
253 <param name="length_required" argument="-l" type="integer" optional="true" label="Length required" help="Reads shorter than this value will be discarded. Default is 15."/>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
254 </section>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
255
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
256 <section name="low_complexity_filter" title="Low complexity filtering options" expanded="True">
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
257 <param name="enable_low_complexity_filter" argument="-y" type="boolean" truevalue="-y" falsevalue="" checked="false" label="Enable low complexity filter" help="The complexity is defined as the percentage of base that is different from its next base, default is No"/>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
258 <param name="complexity_threshold" argument="-Y" type="integer" optional="true" label="Complexity threshold" help="Threshold for low complexity filter (0~100). Default is 30, which means 30% complexity is required."/>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
259 </section>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
260 </section>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
261
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
262 <!-- Read Modification Options -->
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
263 <section name="read_mod_options" title="Read Modification Options">
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
264 <conditional name="polyg_tail_trimming">
6
7c49e331a737 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 72f3e06941d063dffce10741fcebea38a536ee15
iuc
parents: 5
diff changeset
265 <param name="trimming_select" type="select" label="PolyG tail trimming" help="This feature is enabled for NextSeq/NovaSeq data by default. NextSeq/NovaSeq data is detected by the machine ID in the FASTQ records.">
1
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="" 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
267 <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
268 <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
269 </param>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
270 <when value="-g">
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
271 <expand macro="poly_g_min_len" />
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
272 </when>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
273 <when value="">
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
274 <expand macro="poly_g_min_len" />
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
275 </when>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
276 <when value="-G" />
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
277 </conditional>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
278
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
279 <conditional name="polyx_tail_trimming">
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
280 <param name="polyx_trimming_select" type="select" label="PolyX tail trimming" help="Similar to polyG tail trimming. When polyG tail trimming and polyX tail trimming are both enabled, fastp will perform polyG trimming first, then perform polyX trimming. Disabled by default.">
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
281 <option value="" selected="true">Disable polyX trimming</option>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
282 <option value="-x">Enable polyX tail trimming</option>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
283 </param>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
284 <when value="-x">
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
285 <param name="poly_x_min_len" argument="--poly_x_min_len" type="integer" optional="true" label="PolyX minimum length"
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
286 help="The minimum length to detect polyX in the read tail. 10 by default."/>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
287 </when>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
288 <when value="" />
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
289 </conditional>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
290
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
291 <section name="umi_processing" title="UMI processing" expanded="True">
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" 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
293 <param name="umi_loc" argument="--umi_loc" type="text" optional="true" label="UMI location" help="Specify the location of UMI, can be (index1/index2/read1/read2/per_index/per_read, default is none."/>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
294 <param name="umi_len" argument="--umi_len" type="integer" optional="true" label="UMI length" help="If the UMI is in read1/read2, its length should be provided."/>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
295 <param name="umi_prefix" argument="--umi_prefix" type="text" optional="true" label="UMI prefix" help="If specified, an underline will be used to connect prefix and UMI (i.e. prefix=UMI, UMI=AATTCG, final=UMI_AATTCG). No prefix by default."/>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
296 </section>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
297
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
298 <section name="cutting_by_quality_options" title="Per read cutting by quality options" expanded="True">
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_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
300 <param name="cut_by_quality3" argument="-3" type="boolean" truevalue="-3" falsevalue="" checked="false" label="Cut by quality in tail (3')" help="Enable per read cutting by quality in tail (3'), default is disabled (WARNING: this will interfere deduplication for SE data)."/>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
301 <param name="cut_window_size" argument="-W" type="integer" optional="true" label="Cutting window size" help="The size of the sliding window for sliding window trimming, default is 4."/>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
302 <param name="cut_mean_quality" argument="-M" type="integer" optional="true" label="Cutting mean quality" help="The bases in the sliding window with mean quality below cutting_quality will be cut, default is Q20."/>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
303 </section>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
304
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
305 <section name="base_correction_options" title="Base correction by overlap analysis options" expanded="True">
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
306 <param name="correction" argument="-c" type="boolean" truevalue="-c" falsevalue="" checked="false" label="Enable base correction" help="Enable base correction in overlapped regions (only for PE data), default is disabled."/>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
307 </section>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
308 </section>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
309
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
310 <section name="output_options" title="Output Options" expanded="False">
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
311 <param name="report_html" type="boolean" truevalue="True" falsevalue="False" checked="True" label="Output HTML report" help="fastp provides a QC report for the data Before and After filtering within a single HTML page, which enables comparison of the quality statistics changed by the preprocessing step directly"/>
4
20c09892cfe7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 761a954744119f6317afe28eb50bd4f3fdea4984
iuc
parents: 3
diff changeset
312 <param name="report_json" type="boolean" truevalue="True" falsevalue="False" checked="False" label="Output JSON report" help="The JSON report contains all the data visualized in the HTML report. The format of the JSON report is manually optimized to be easily readable by humans and is compatible with MultiQC"/>
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
313 </section>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
314 </inputs>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
315
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
316 <outputs>
5
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
317 <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
318 <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
319 </data>
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
320 <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
321 <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
322 </data>
5
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
323 <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
324 <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
325 </collection>
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
326 <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
327 <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
328 </data>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
329 <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
330 <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
331 </data>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
332 </outputs>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
333
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
334 <tests>
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
335 <!-- Ensure default output works -->
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
336 <test expect_num_outputs="2">
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
337 <param name="in1" ftype="fastqsanger" value="R1.fq"/>
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
338 <param name="single_paired_selector" value="single"/>
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
339 <output name="out1" ftype="fastqsanger" file="out1.fq"/>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
340 <output name="report_html">
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 <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
343 </assert_contents>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
344 </output>
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
345 </test>
5
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
346 <!-- Ensure paired collection works -->
7
2fcdbf78caf9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 249269561e1d3a767371c154677e5dd59147f7d7
iuc
parents: 6
diff changeset
347 <test expect_num_outputs="4">
5
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
348 <param name="single_paired_selector" value="paired_collection"/>
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
349 <param name="paired_input">
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
350 <collection type="paired">
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
351 <element name="forward" value="bwa-mem-fastq1.fq" ftype="fastqsanger" />
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
352 <element name="reverse" value="bwa-mem-fastq2.fq" ftype="fastqsanger" />
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
353 </collection>
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
354 </param>
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
355 <output name="report_html">
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 <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
358 </assert_contents>
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
359 </output>
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
360 <output_collection name="output_paired_coll" type="paired">
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
361 <element name="forward" value="out_bwa1.fq" ftype="fastqsanger"/>
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
362 <element name="reverse" value="out_bwa2.fq" ftype="fastqsanger"/>
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
363 </output_collection>
4c14c2f8f4fb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit f3673fca1a180ada77fca93d871b3fd446f74498
iuc
parents: 4
diff changeset
364 </test>
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
365 <!-- Ensure custom adapter works -->
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
366 <test expect_num_outputs="2">
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
367 <param name="in1" ftype="fastq" value="R1.fq"/>
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
368 <param name="single_paired_selector" value="single"/>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
369 <param name="adapter_sequence1" value="ATCG"/>
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
370 <output name="out1" ftype="fastq" file="out_a.fq"/>
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
371 </test>
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
372 <!-- Ensure UMI processing works -->
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
373 <test expect_num_outputs="2">
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
374 <param name="in1" ftype="fastq" value="R1.fq"/>
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
375 <param name="single_paired_selector" value="single"/>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
376 <section name="umi_processing">
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" value="true"/>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
378 <param name="umi_loc" value="read1"/>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
379 <param name="umi_len" value="8"/>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
380 </section>
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
381 <output name="out1" ftype="fastq" file="out2.fq"/>
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
382 </test>
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
383 <!-- Ensure UMI processing with different lengths works -->
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
384 <test expect_num_outputs="2">
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
385 <param name="in1" ftype="fastq" value="R1.fq"/>
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
386 <param name="single_paired_selector" value="single"/>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
387 <section name="umi_processing">
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" value="true"/>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
389 <param name="umi_loc" value="read1"/>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
390 <param name="umi_len" value="12"/>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
391 </section>
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
392 <output name="out1" ftype="fastq" file="out3.fq"/>
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
393 </test>
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
394 <!-- Ensure paired-end fastq works -->
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
395 <test expect_num_outputs="3">
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
396 <param name="in1" ftype="fastq" value="bwa-mem-fastq1.fq"/>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
397 <param name="in2" ftype="fastq" value="bwa-mem-fastq2.fq"/>
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
398 <param name="single_paired_selector" value="paired"/>
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
399 <output name="out1" ftype="fastq" file="out_bwa1.fq"/>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
400 <output name="out2" ftype="fastq" file="out_bwa2.fq"/>
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
401 </test>
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
402 <!-- Ensure paired-end UMI processing of Read 1 works -->
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
403 <test expect_num_outputs="3">
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
404 <param name="in1" ftype="fastq" value="bwa-mem-fastq1.fq"/>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
405 <param name="in2" ftype="fastq" value="bwa-mem-fastq2.fq"/>
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
406 <param name="single_paired_selector" value="paired"/>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
407 <section name="umi_processing">
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" value="true"/>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
409 <param name="umi_loc" value="read1"/>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
410 <param name="umi_len" value="8"/>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
411 </section>
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
412 <output name="out1" ftype="fastq" file="out_bwa_umi_read1_1.fq"/>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
413 <output name="out2" ftype="fastq" file="out_bwa_umi_read1_2.fq"/>
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
414 </test>
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
415 <!-- Ensure paired-end UMI processing of Read 2 works -->
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
416 <test expect_num_outputs="3">
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
417 <param name="in1" ftype="fastq" value="bwa-mem-fastq1.fq"/>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
418 <param name="in2" ftype="fastq" value="bwa-mem-fastq2.fq"/>
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
419 <param name="single_paired_selector" value="paired"/>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
420 <section name="umi_processing">
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" value="true"/>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
422 <param name="umi_loc" value="read2"/>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
423 <param name="umi_len" value="8"/>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
424 </section>
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
425 <output name="out1" ftype="fastq" file="out_bwa_umi_read2_1.fq"/>
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
426 <output name="out2" ftype="fastq" file="out_bwa_umi_read2_2.fq"/>
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
427 </test>
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
428 <!-- Ensure JSON report output works -->
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
429 <test expect_num_outputs="2">
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="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
431 <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
432 <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
433 <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
434 <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
435 <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
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 <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
438 </assert_contents>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
439 </output>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
440 </test>
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
441 <!-- Ensure polyG trimming works -->
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
442 <test expect_num_outputs="2">
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
443 <param name="in1" ftype="fastq.gz" value="R1.fq.gz"/>
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
444 <param name="single_paired_selector" value="single"/>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
445 <param name="trimming_select" value="-g"/>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
446 <param name="poly_g_min_len" value="10"/>
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
447 <output name="out1" ftype="fastq.gz" decompress="True" file="out1.fq.gz"/>
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
448 </test>
6
7c49e331a737 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 72f3e06941d063dffce10741fcebea38a536ee15
iuc
parents: 5
diff changeset
449 <!-- Ensure polyX trimming works -->
7c49e331a737 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 72f3e06941d063dffce10741fcebea38a536ee15
iuc
parents: 5
diff changeset
450 <test expect_num_outputs="2">
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="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
452 <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
453 <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
454 <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
455 <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
456 <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
457 </test>
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
458 </tests>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
459 <help><![CDATA[
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
460 .. class:: infomark
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 **What it does**
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 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
465
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
466 *Features*
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
467
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
468 1. Filter out bad reads (too low quality, too short, or too many N...)
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
469
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
470 2. Cut low quality bases for per read in its 5' and 3' by evaluating the mean quality from a sliding window (like Trimmomatic but faster)
0
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
471
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
472 3. Trim all reads in front and tail
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
473
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
474 4. Cut adapters. Adapter sequences can be automatically detected, which means you don't have to input the adapter sequences to trim them.
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
475
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
476 5. Correct mismatched base pairs in overlapped regions of paired end reads, if one base is with high quality while the other is with ultra-low quality
0
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 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
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 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
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 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
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 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
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 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
487
1
adf6b091b0a8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 6918a14442b7ebc56950917d668356feefaaaa28
iuc
parents: 0
diff changeset
488 11. Support long reads (data from PacBio / Nanopore devices)
0
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 -----
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 **Inputs**
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 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
495
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
496 -----
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 **Outputs**
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 * Processed reads
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 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
503
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
504 * HTML report (default is Yes)
4
20c09892cfe7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 761a954744119f6317afe28eb50bd4f3fdea4984
iuc
parents: 3
diff changeset
505 * JSON report (compatible with MultiQC)
0
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 .. _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
508
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
509 ]]></help>
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 <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
512 </citations>
cb7226f7c585 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastp commit 2e41f5d3dd8201a5f8295ec30095c508250a8304
iuc
parents:
diff changeset
513 </tool>