annotate bbduk.xml @ 8:d1f62024a08b draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit e6a741fc2fe38e91a310e9c29467c814a2d34cac
author iuc
date Sat, 18 May 2024 19:13:38 +0000
parents bf0cb5dd02f2
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
425dab0e057b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit aca07f4e7d683d1b7d06abb63e05d4ff1b28771f
iuc
parents: 1
diff changeset
1 <tool id="bbtools_bbduk" name="BBTools: BBduk" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
0
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
2 <description>decontamination using kmers</description>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
3 <macros>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
4 <import>macros.xml</import>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
5 </macros>
3
425dab0e057b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit aca07f4e7d683d1b7d06abb63e05d4ff1b28771f
iuc
parents: 1
diff changeset
6 <expand macro="edam_ontology"/>
8
d1f62024a08b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit e6a741fc2fe38e91a310e9c29467c814a2d34cac
iuc
parents: 7
diff changeset
7 <expand macro="bio.tools"/>
0
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
8 <expand macro="requirements"/>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
9 <command detect_errors="exit_code"><![CDATA[
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
10 #import os
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
11
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
12 #if str($input_type_cond.input_type) in ['single', 'pair']:
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
13 #set read1 = $input_type_cond.read1
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
14 ## bbduk uses the file extension to determine the input format.
1
60dd895841cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 425671870866660485ef6a35c94d3736f5c1df97"
iuc
parents: 0
diff changeset
15 #set ext = '.fastq'
0
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
16 #if $read1.ext.endswith('.gz'):
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
17 #set ext = $ext + '.gz'
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
18 #end if
1
60dd895841cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 425671870866660485ef6a35c94d3736f5c1df97"
iuc
parents: 0
diff changeset
19 #set read1_file = 'forward' + $ext
0
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
20 ln -s '${read1}' '${read1_file}' &&
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
21 #if str($input_type_cond.input_type) == 'pair':
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
22 #set read2 = $input_type_cond.read2
1
60dd895841cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 425671870866660485ef6a35c94d3736f5c1df97"
iuc
parents: 0
diff changeset
23 #set read2_file = 'reverse' + $ext
0
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
24 ln -s '${read2}' '${read2_file}' &&
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
25 #end if
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
26 #else:
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
27 #set read1 = $input_type_cond.reads_collection['forward']
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
28 ## bbduk uses the file extension to determine the input format.
7
bf0cb5dd02f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 8f659e3524ff3fbf70ce9f4090e3fe8a49048b29
iuc
parents: 3
diff changeset
29 #set ext = '.fastq'
0
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
30 #if $read1.ext.endswith('.gz'):
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
31 #set ext = $ext + '.gz'
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
32 #end if
7
bf0cb5dd02f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 8f659e3524ff3fbf70ce9f4090e3fe8a49048b29
iuc
parents: 3
diff changeset
33 #set read1_file = 'forward' + $ext
0
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
34 ln -s '${read1}' '${read1_file}' &&
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
35 #set read2 = $input_type_cond.reads_collection['reverse']
7
bf0cb5dd02f2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 8f659e3524ff3fbf70ce9f4090e3fe8a49048b29
iuc
parents: 3
diff changeset
36 #set read2_file = 'reverse' + $ext
0
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
37 ln -s '${read2}' '${read2_file}' &&
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
38 #end if
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
39
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
40 #if str($reference_type_cond.reference_type) == 'files':
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
41 #set refs = list()
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
42 #for ref in $reference_type_cond.reference:
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
43 ## bbduk looks at the file extension.
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
44 #set ref_name = str($os.path.basename($ref.file_name)) + '.fa'
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
45 #if $ref.ext.endswith('.gz'):
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
46 gunzip -c '$ref' > '$ref_name' &&
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
47 #else:
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
48 ln -s '$ref' '$ref_name' &&
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
49 #end if
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
50 $refs.append(str($ref_name))
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
51 #end for
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
52 #set refs = ','.join($refs)
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
53 #else if str($reference_type_cond.reference_type) == 'keywords':
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
54 #set refs = str($reference_type_cond.reference)
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
55 #end if
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
56
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
57 bbduk.sh
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
58 in='${read1_file}'
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
59
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
60 #if str($input_type_cond.input_type) in ['pair', 'paired']:
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
61 in2='${read2_file}'
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
62 #end if
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
63 #if str($outputs_select).find('outu') >= 0:
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
64 out='${outputu}'
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
65 #if str($input_type_cond.input_type) in ['pair', 'paired']:
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
66 out2='${outputu2}'
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
67 #end if
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
68 #end if
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
69 #if str($outputs_select).find('outm') >= 0:
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
70 outm='${outputm}'
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
71 #if str($input_type_cond.input_type) in ['pair', 'paired']:
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
72 outm2='${outputm2}'
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
73 #end if
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
74 #end if
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
75 #if str($outputs_select).find('outs') >= 0:
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
76 outs='${outputs}'
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
77 #end if
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
78
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
79 #if str($reference_type_cond.reference_type) != 'no_reference':
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
80 ref='$refs'
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
81 #if str($reference_type_cond.ktrim_cond.ktrim_select) == 'yes':
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
82 ktrim='${reference_type_cond.ktrim_cond.ktrim}'
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
83 minlength=$reference_type_cond.ktrim_cond.minlength
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
84 #end if
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
85 #end if
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
86
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
87 k=$advanced_options.k
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
88 rcomp='${advanced_options.rcomp}'
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
89 maskmiddle='${advanced_options.maskmiddle}'
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
90 minkmerhits='${advanced_options.minkmerhits}'
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
91 minkmerfraction=$advanced_options.minkmerfraction
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
92 mincovfraction=$advanced_options.mincovfraction
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
93 hammingdistance=$advanced_options.hammingdistance
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
94 qhdist=$advanced_options.qhdist
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
95 editdistance=$advanced_options.editdistance
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
96 forbidn='${advanced_options.forbidn}'
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
97 trimfailures='${advanced_options.trimfailures}'
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
98 findbestmatch='${advanced_options.findbestmatch}'
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
99 skipr1='${advanced_options.skipr1}'
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
100 skipr2='${advanced_options.skipr2}'
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
101
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
102 #if str($output_stats_cond.output_stats) == 'yes':
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
103 #if str($output_stats_cond.output_stats_select).find('stats') >= 0:
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
104 stats='${output_stats}'
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
105 #end if
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
106 #if str($output_stats_cond.output_stats_select).find('ref') >= 0:
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
107 refstats='${output_ref}'
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
108 #end if
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
109 #if str($output_stats_cond.output_stats_select).find('rpkm') >= 0:
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
110 rpkm='${output_rpkm}'
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
111 #end if
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
112 #if str($output_stats_cond.output_stats_select).find('dump') >= 0:
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
113 dump='${output_dump}'
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
114 #end if
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
115 #end if
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
116 #if str($output_hists_cond.output_hists) == 'yes':
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
117 #if str($output_hists_cond.output_hists_select).find('bhist') >= 0:
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
118 bhist='${output_bhist}'
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
119 #end if
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
120 #if str($output_hists_cond.output_hists_select).find('quhist') >= 0:
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
121 qhist='${output_quhist}'
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
122 #end if
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
123 #if str($output_hists_cond.output_hists_select).find('quchist') >= 0:
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
124 qchist='${output_quchist}'
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
125 #end if
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
126 #if str($output_hists_cond.output_hists_select).find('aqhist') >= 0:
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
127 aqhist='${output_aqhist}'
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
128 #end if
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
129 #if str($output_hists_cond.output_hists_select).find('bqhist') >= 0:
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
130 bqhist='${output_bqhist}'
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
131 #end if
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
132 #if str($output_hists_cond.output_hists_select).find('lhist') >= 0:
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
133 lhist='${output_lhist}'
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
134 #end if
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
135 #if str($output_hists_cond.output_hists_select).find('phist') >= 0:
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
136 phist='${output_phist}'
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
137 #end if
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
138 #if str($output_hists_cond.output_hists_select).find('gchist') >= 0:
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
139 gchist='${output_gchist}'
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
140 #end if
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
141 #if str($output_hists_cond.output_hists_select).find('enthist') >= 0:
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
142 enthist='${output_enthist}'
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
143 #end if
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
144 #end if
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
145 t=\${GALAXY_SLOTS:-4}
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
146 ]]></command>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
147 <inputs>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
148 <expand macro="input_type_cond"/>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
149 <conditional name="reference_type_cond">
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
150 <param name="reference_type" type="select" label="Choose the reference type" help="Optional, no reference is the default">
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
151 <option value="no_reference" selected="true">No reference</option>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
152 <option value="files">files</option>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
153 <option value="keywords">keywords</option>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
154 </param>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
155 <when value="no_reference"/>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
156 <when value="files">
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
157 <param name="reference" type="data" format="fasta,fasta.gz" multiple="true" optional="false" label="Select one or more fasta file"/>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
158 <expand macro="ktrim_cond"/>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
159 </when>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
160 <when value="keywords">
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
161 <param name="reference" type="select" multiple="true" optional="false" label="Select one or more keywords">
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
162 <option value="adapters">adapters</option>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
163 <option value="artifacts">artifacts</option>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
164 <option value="phix">phix</option>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
165 <option value="lambda">lambda</option>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
166 <option value="pjet">pjet</option>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
167 <option value="mtst">mtst</option>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
168 <option value="kapa">kapa</option>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
169 </param>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
170 <expand macro="ktrim_cond"/>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
171 </when>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
172 </conditional>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
173 <section name="advanced_options" title="Advanced options" expanded="false">
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
174 <param argument="k" type="integer" value="27" min="1" label="Kmer length used for finding contaminants"/>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
175 <param argument="rcomp" type="boolean" truevalue="t" falsevalue="f" checked="true" label="Look for reverse-complements of kmers in addition to forward kmers?"/>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
176 <param argument="maskmiddle" type="boolean" truevalue="t" falsevalue="f" checked="true" label="Treat the middle base of a kmer as a wildcard to increase sensitivity in the presence of errors?"/>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
177 <param argument="minkmerhits" type="integer" value="1" min="1" label="Reads need at least this many matching kmers to be considered as matching the reference"/>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
178 <param argument="minkmerfraction" type="float" value="0" min="0" label="A read needs at least this fraction of its total kmers to hit a ref in order to be considered a match"/>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
179 <param argument="mincovfraction" type="float" value="0" min="0" label="A read needs at least this fraction of its total bases to be covered by ref kmers to be considered a match"/>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
180 <param argument="hammingdistance" type="integer" value="0" min="0" label="Maximum Hamming distance for ref kmers (subs only)"/>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
181 <param argument="qhdist" type="integer" value="0" min="0" label="Hamming distance for query kmers"/>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
182 <param argument="editdistance" type="integer" value="0" min="0" label="Maximum edit distance from ref kmers (subs and indels)"/>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
183 <param argument="forbidn" type="boolean" truevalue="t" falsevalue="f" checked="false" label="Do not match kmers comntaining N?"/>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
184 <param argument="trimfailures" type="boolean" truevalue="t" falsevalue="f" checked="false" label="Trim failed reads to 1bp instead of discarding them?"/>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
185 <param argument="findbestmatch" type="boolean" truevalue="t" falsevalue="f" checked="false" label="Associate read with sequence sharing most kmers if multiple matches?"/>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
186 <param argument="skipr1" type="boolean" truevalue="t" falsevalue="f" checked="false" label="Don't do kmer-based operations on read 1?"/>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
187 <param argument="skipr2" type="boolean" truevalue="t" falsevalue="f" checked="false" label="Don't do kmer-based operations on read 2?"/>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
188 </section>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
189 <param name="outputs_select" type="select" multiple="true" optional="false" label="Specify outputs">
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
190 <option value="outu">Unmatched</option>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
191 <option value="outm">Matched</option>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
192 <option value="outs">Single</option>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
193 </param>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
194 <conditional name="output_stats_cond">
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
195 <param name="output_stats" type="select" label="Output statistics?">
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
196 <option value="no" selected="true">No</option>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
197 <option value="yes">Yes</option>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
198 </param>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
199 <when value="no"/>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
200 <when value="yes">
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
201 <param name="output_stats_select" type="select" multiple="true" optional="false" label="Specify statistics outputs">
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
202 <option value="stats">Statistics about which contamininants were detected</option>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
203 <option value="ref">Statistics on a per-reference-file basis</option>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
204 <option value="rpkm">RPKM for each reference sequence (for RNA-seq)</option>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
205 <option value="dump">kmer tables in fasta format</option>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
206 </param>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
207 </when>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
208 </conditional>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
209 <conditional name="output_hists_cond">
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
210 <param name="output_hists" type="select" label="Output histograms?">
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
211 <option value="no" selected="true">No</option>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
212 <option value="yes">Yes</option>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
213 </param>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
214 <when value="no"/>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
215 <when value="yes">
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
216 <param name="output_hists_select" type="select" multiple="true" optional="false" label="Specify statistics outputs">
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
217 <option value="bhist">Base composition histogram by position</option>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
218 <option value="quhist">Quality histogram by position</option>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
219 <option value="quchist">Count of bases with each quality value</option>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
220 <option value="aqhist">Histogram of average read quality</option>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
221 <option value="bqhist">Quality histogram designed for box plots</option>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
222 <option value="lhist">Read length histogram</option>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
223 <option value="phist">Polymer length histogram</option>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
224 <option value="gchist">Read GC content histogram</option>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
225 <option value="enthist">Read entropy histogram</option>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
226 </param>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
227 </when>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
228 </conditional>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
229 </inputs>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
230 <outputs>
1
60dd895841cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 425671870866660485ef6a35c94d3736f5c1df97"
iuc
parents: 0
diff changeset
231 <data name="outputu" format="fastqsanger" label="${tool.name} on ${on_string} (Forward Unmatched)">
0
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
232 <filter>str(outputs_select).find('outu') >= 0</filter>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
233 <filter>'outu' in outputs_select</filter>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
234 </data>
1
60dd895841cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 425671870866660485ef6a35c94d3736f5c1df97"
iuc
parents: 0
diff changeset
235 <data name="outputu2" format="fastqsanger" label="${tool.name} on ${on_string} (Reverse Unmatched)">
0
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
236 <filter>'outu' in outputs_select and input_type_cond['input_type'] != 'single'</filter>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
237 </data>
1
60dd895841cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 425671870866660485ef6a35c94d3736f5c1df97"
iuc
parents: 0
diff changeset
238 <data name="outputm" format="fastqsanger" label="${tool.name} on ${on_string} (Forward Matched)">
0
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
239 <filter>'outm' in outputs_select</filter>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
240 </data>
1
60dd895841cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 425671870866660485ef6a35c94d3736f5c1df97"
iuc
parents: 0
diff changeset
241 <data name="outputm2" format="fastqsanger" label="${tool.name} on ${on_string} (Reverse Matched)">
0
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
242 <filter>'outm' in outputs_select and input_type_cond['input_type'] != 'single'</filter>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
243 </data>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
244 <data name="outputs" format="fastqsanger" label="${tool.name} on ${on_string} (Single)">
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
245 <filter>'outs' in outputs_select</filter>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
246 </data>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
247 <data name="output_stats" format="tabular" label="${tool.name} on ${on_string} (Detected contaminates stats)">
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
248 <filter>output_stats_cond['output_stats'] == 'yes' and 'stats' in output_stats_cond['output_stats_select']</filter>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
249 </data>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
250 <data name="output_ref" format="tabular" label="${tool.name} on ${on_string} (Per reference file stats)">
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
251 <filter>output_stats_cond['output_stats'] == 'yes' and 'ref' in output_stats_cond['output_stats_select']</filter>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
252 </data>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
253 <data name="output_rpkm" format="tabular" label="${tool.name} on ${on_string} (RPKM for each ref seq)">
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
254 <filter>output_stats_cond['output_stats'] == 'yes' and 'rpkm' in output_stats_cond['output_stats_select']</filter>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
255 </data>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
256 <data name="output_dump" format="fasta" label="${tool.name} on ${on_string} (kmer tables)">
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
257 <filter>output_stats_cond['output_stats'] == 'yes' and 'dump' in output_stats_cond['output_stats_select']</filter>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
258 </data>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
259 <data name="output_bhist" format="tabular" label="${tool.name} on ${on_string} (Base composition py poition)">
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
260 <filter>output_hists_cond['output_hists'] == 'yes' and 'bhist' in output_hists_cond['output_hists_select']</filter>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
261 </data>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
262 <data name="output_quhist" format="tabular" label="${tool.name} on ${on_string} (Quality by position)">
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
263 <filter>output_hists_cond['output_hists'] == 'yes' and 'quhist' in output_hists_cond['output_hists_select']</filter>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
264 </data>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
265 <data name="output_quchist" format="tabular" label="${tool.name} on ${on_string} (Bases w/ each quality value)">
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
266 <filter>output_hists_cond['output_hists'] == 'yes' and 'quchist' in output_hists_cond['output_hists_select']</filter>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
267 </data>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
268 <data name="output_aqhist" format="tabular" label="${tool.name} on ${on_string} (average read quality)">
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
269 <filter>output_hists_cond['output_hists'] == 'yes' and 'aqhist' in output_hists_cond['output_hists_select']</filter>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
270 </data>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
271 <data name="output_bqhist" format="tabular" label="${tool.name} on ${on_string} (Quality for box plots)">
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
272 <filter>output_hists_cond['output_hists'] == 'yes' and 'bqhist' in output_hists_cond['output_hists_select']</filter>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
273 </data>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
274 <data name="output_lhist" format="tabular" label="${tool.name} on ${on_string} (Read length)">
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
275 <filter>output_hists_cond['output_hists'] == 'yes' and 'lhist' in output_hists_cond['output_hists_select']</filter>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
276 </data>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
277 <data name="output_phist" format="tabular" label="${tool.name} on ${on_string} (Polymer length)">
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
278 <filter>output_hists_cond['output_hists'] == 'yes' and 'phist' in output_hists_cond['output_hists_select']</filter>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
279 </data>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
280 <data name="output_gchist" format="tabular" label="${tool.name} on ${on_string} (Read GC content)">
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
281 <filter>output_hists_cond['output_hists'] == 'yes' and 'gchist' in output_hists_cond['output_hists_select']</filter>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
282 </data>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
283 <data name="output_enthist" format="tabular" label="${tool.name} on ${on_string} (Read entropy)">
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
284 <filter>output_hists_cond['output_hists'] == 'yes' and 'enthist' in output_hists_cond['output_hists_select']</filter>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
285 </data>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
286 </outputs>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
287 <tests>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
288 <!-- Single read -->
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
289 <test expect_num_outputs="1">
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
290 <param name="read1" value="13-1941-6_S4_L001_R1_600000.fastq.gz" ftype="fastqsanger.gz"/>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
291 <param name="reference" value="adapters.fa.gz" ftype="fasta.gz"/>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
292 <param name="reference_type" value="files"/>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
293 <param name="outputs_select" value="outu"/>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
294 <output name="outputu" file="bduk_outputu1.fastqsanger" ftype="fastqsanger" compare="contains"/>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
295 </test>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
296 <!-- Paired reads in separate datasets -->
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
297 <test expect_num_outputs="4">
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
298 <param name="input_type" value="pair"/>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
299 <param name="read1" value="13-1941-6_S4_L001_R1_600000.fastq.gz" ftype="fastqsanger.gz"/>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
300 <param name="read2" value="13-1941-6_S4_L001_R2_600000.fastq.gz" ftype="fastqsanger.gz"/>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
301 <param name="reference_type" value="files"/>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
302 <param name="reference" value="adapters.fa.gz" ftype="fasta.gz"/>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
303 <param name="outputs_select" value="outu"/>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
304 <param name="output_stats" value="yes"/>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
305 <param name="output_stats_select" value="dump"/>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
306 <param name="output_hists" value="yes"/>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
307 <param name="output_hists_select" value="quhist"/>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
308 <output name="outputu" file="bduk_outputu1.fastqsanger" ftype="fastqsanger" compare="contains"/>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
309 <output name="outputu2" file="bduk_outputu2.fastqsanger" ftype="fastqsanger" compare="contains"/>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
310 <output name="output_dump" file="bduk_output_dump1.fasta" ftype="fasta" compare="contains"/>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
311 <output name="output_quhist" file="bduk_output_quhist1.tabular" ftype="tabular"/>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
312 </test>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
313 <!-- Collection of Paired reads -->
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
314 <test expect_num_outputs="2">
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
315 <param name="input_type" value="paired"/>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
316 <param name="reads_collection">
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
317 <collection type="paired">
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
318 <element name="forward" value="13-1941-6_S4_L001_R1_600000.fastq.gz"/>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
319 <element name="reverse" value="13-1941-6_S4_L001_R2_600000.fastq.gz"/>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
320 </collection>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
321 </param>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
322 <param name="reference_type" value="keywords"/>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
323 <param name="reference" value="adapters,artifacts,phix,lambda,pjet,mtst,kapa"/>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
324 <param name="outputs_select" value="outu"/>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
325 <output name="outputu" file="bduk_outputu1.fastqsanger" ftype="fastqsanger" compare="contains"/>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
326 <output name="outputu2" file="bduk_outputu2.fastqsanger" ftype="fastqsanger" compare="contains"/>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
327 </test>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
328 </tests>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
329 <help>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
330 **What it does**
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
331
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
332 BBDuk was developed to combine most common data-quality-related trimming, filtering, and masking operations into a single
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
333 high-performance tool. It is capable of quality-trimming and filtering, adapter-trimming, contaminant-filtering via kmer
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
334 matching, sequence masking, GC-filtering, length filtering, entropy-filtering, format conversion, histogram generation,
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
335 subsampling, quality-score recalibration, kmer cardinality estimation, and various other operations in a single pass.
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
336 Specifically, any combination of operations is possible in a single pass with the exception of kmer-based operations (kmer
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
337 trimming, kmer masking, or kmer filtering). At most 1 kmer-based operation can be done in a single pass.
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
338
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
339 **Options**
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
340
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
341 * **Reference** - if a reference is specified, BBDuk will operate on kmers in one of 4 modes: right-trimming, left-trimming, masking, or filtering. The default is filtering - any read matching a reference kmer will be discarded.
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
342
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
343 * **Trim reads to remove bases matching reference kmers** - When trimming to the right, once a reference kmer is matched in a read, that kmer and all the bases to the right will be trimmed, leaving only the bases to the left. When trimming to the left, trimming will be done to the left instead.
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
344
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
345 **Outputs**
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
346
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
347 * **Unmatched** - All the reads that pass all filtering criteria. Reads will be at least as long as **Minimum read length** after any trimming operations and reads will not match any reference kmer if kmer-filtering is being performed. A read’s average quality will be at least as high as the specified **Minimum average quality**.
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
348 * **Matched** - Reads failing any filter criteria (such as matching a reference kmer). By default, if either read in a pair fails, both will be included in *Matched*.
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
349 * **Single** - Singleton reads whose mate was trimmed shorter than the value of **Minimum read length**.
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
350 </help>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
351 <expand macro="citations"/>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
352 </tool>
204a131e47db "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
diff changeset
353