annotate bbnorm.xml @ 4:1baa4ad1ac2f draft

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:59 +0000
parents 1ef267476a17
children 770bceda7785
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
1 <tool id="bbtools_bbnorm" name="BBTools: BBNorm" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
2 <description>Normalise sequencing coverage</description>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
3 <macros>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
4 <import>macros.xml</import>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
5 </macros>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
6 <expand macro="edam_ontology"/>
4
1baa4ad1ac2f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit e6a741fc2fe38e91a310e9c29467c814a2d34cac
iuc
parents: 0
diff changeset
7 <expand macro="bio.tools"/>
0
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
8 <expand macro="requirements"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
9 <stdio>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
10 <regex match="This table is (very|crazy|totally) full, which may reduce accuracy. Ideal load is under" source="stderr" level="fatal_oom" description="Too low memory - generated results might be inaccurate."/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
11 </stdio>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
12 <command detect_errors="exit_code"><![CDATA[
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
13 ## bbtools recommends keeping a proper file extension to determine the input format
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
14 ## so we hardcode them in the below block.
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
15 #if str($input_type_cond.input_type) == 'paired':
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
16 #set read1 = $input_type_cond.reads_collection['forward']
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
17 #set read2 = $input_type_cond.reads_collection['reverse']
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
18 #else:
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
19 #set read1 = $input_type_cond.read1
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
20 #if str($input_type_cond.input_type) == 'PE_2files':
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
21 #set read2 = $input_type_cond.read2
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
22 #end if
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
23 #end if
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
24
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
25 #if $read1.ext.endswith('.gz'):
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
26 #set read1_file = 'forward.fastq.gz'
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
27 #else
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
28 #set read1_file = 'forward.fastq'
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
29 #end if
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
30 ln -s '${read1}' '${read1_file}' &&
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
31
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
32 #if $str($input_type_cond.input_type) in ['PE_2files', 'paired']:
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
33 #if $read2.ext.endswith('.gz'):
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
34 #set read2_file = 'reverse.fastq.gz'
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
35 #else
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
36 #set read2_file = 'reverse.fastq'
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
37 #end if
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
38 ln -s '${read2}' '${read2_file}' &&
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
39 #end if
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
40
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
41
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
42 ## As the program relies on a count-min-sketch algorithm, the potential hash collisions
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
43 ## are ignored and translates to a decreased accuracy of the results. Therefore the allocated
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
44 ## memory amount effects the numerical output: the more RAM the more accurate the results.
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
45 ## Check if a memory cap was set.
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
46 if [[ "\${_JAVA_OPTIONS}" != *-Xmx* && "\${JAVA_TOOL_OPTIONS}" != *-Xmx* ]]; then
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
47 export _JAVA_OPTIONS="\${_JAVA_OPTIONS} -Xmx\${GALAXY_MEMORY_MB:-4096}m -Xms256m";
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
48 fi &&
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
49
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
50 bbnorm.sh tmpdir="\$TMPDIR" t="\${GALAXY_SLOTS:-2}"
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
51
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
52 #### Input parameters
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
53 #if str($input_type_cond.input_type) == 'single_end':
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
54 in='${read1_file}'
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
55 interleaved=f
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
56 #else:
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
57 #if str($input_type_cond.input_type) == 'PE_1file':
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
58 in='${read1_file}'
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
59 interleaved=t
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
60 #else:
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
61 in1='${read1_file}'
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
62 in2='${read2_file}'
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
63 interleaved=f
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
64 #end if
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
65 #end if
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
66
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
67 #### Output options
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
68 out=normalised_R1.fastq
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
69 #if $str($input_type_cond.input_type) in ['PE_2files', 'paired']:
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
70 out2=normalised_R2.fastq
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
71 #end if
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
72 #if $output_options.save_discarded_reads:
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
73 outt=discarded.fastq
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
74 #end if
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
75 touppercase=t
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
76 #if $output_options.save_kmer_hists:
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
77 hist=kmer_hist_input.tabular
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
78 histout=kmer_hist_output.tabular
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
79 #end if
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
80
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
81 #### Hashing parameters
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
82 k=$hashing_params.k
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
83 bits=$hashing_params.bits
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
84 hashes=$hashing_params.hashes
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
85 #if str($hashing_params.prefilter) == "true":
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
86 prefilter=t
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
87 prehashes=$hashing_params.prehashes
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
88 prefilterbits=$hashing_params.prefilterbits
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
89 prefiltersize=$hashing_params.prefiltersize
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
90 #end if
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
91 buildpasses=$hashing_params.buildpasses
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
92 minq=$hashing_params.minq
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
93 minprob=$hashing_params.minprob
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
94 rdk=$hashing_params.rdk
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
95
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
96 ### Normalization parameters
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
97 fixspikes=$norm_params.fixspikes
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
98 target=$target
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
99 maxdepth=$norm_params.maxdepth
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
100 mindepth=$norm_params.mindepth
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
101 minkmers=$norm_params.minkmers
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
102 percentile=$norm_params.percentile
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
103 uselowerdepth=$norm_params.uselowerdepth
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
104 deterministic=$norm_params.deterministic
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
105 passes=$norm_params.passes
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
106
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
107 ### Error detection parameters
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
108 hdp=$error_det_params.hdp
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
109 ldp=$error_det_params.ldp
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
110 tossbadreads=$error_det_params.tossbadreads
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
111 requirebothbad=$error_det_params.requirebothbad
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
112 errordetectratio=$error_det_params.errordetectratio
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
113 highthresh=$error_det_params.highthresh
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
114 lowthresh=$error_det_params.lowthresh
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
115
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
116 ### Error correction parameters
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
117 #if str($error_corr_params.ecc.ecc) == "true":
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
118 ecc=t
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
119 ecclimit=$error_corr_params.ecclimit
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
120 errorcorrectratio=$error_corr_params.errorcorrectratio
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
121 echighthresh=$error_corr_params.echighthresh
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
122 eclowthresh=$error_corr_params.eclowthresh
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
123 eccmaxqual=$error_corr_params.eccmaxqual
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
124 meo=$error_corr_params.meo
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
125 mue=$error_corr_params.mue
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
126 overlap=$error_corr_params.overlap
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
127 #end if
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
128 ]]></command>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
129 <inputs>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
130 <conditional name="input_type_cond">
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
131 <param name="input_type" type="select" label="Choose the category of inputs to be analyzed">
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
132 <option value="single_end">Single-end reads</option>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
133 <option value="PE_1file">Paired-end reads as a single, interleaved dataset</option>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
134 <option value="PE_2files" selected="true">Paired-end reads as two separate datasets</option>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
135 <option value="paired">Paired-end reads as a collection</option>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
136 </param>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
137 <when value="single_end">
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
138 <param name="read1" type="data" format="fastqsanger,fastqsanger.gz" label="Single-end data"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
139 </when>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
140 <when value="PE_1file">
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
141 <param name="read1" type="data" format="fastqsanger,fastqsanger.gz" label="Interleaved paired-end data"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
142 </when>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
143 <when value="PE_2files">
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
144 <param name="read1" type="data" format="fastqsanger,fastqsanger.gz" label="Forward reads"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
145 <param name="read2" type="data" format="fastqsanger,fastqsanger.gz" label="Reverse reads"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
146 </when>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
147 <when value="paired">
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
148 <param name="reads_collection" type="data_collection" format="fastqsanger,fastqsanger.gz" collection_type="paired" label="Collection of forward and reverse reads"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
149 </when>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
150 </conditional>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
151 <param argument="target" type="integer" value="100" min="1" label="Target normalization depth" help="All depth parameters control kmer depth, not read depth. For kmer depth Dk, read depth Dr, read length R, and kmer size K: Dr=Dk*(R/(R-K+1))"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
152 <section name="norm_params" title="Normalization parameters">
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
153 <param argument="maxdepth" type="integer" value="-1" min="-1" label="Reads will not be downsampled when below this depth, even if they are above the target depth." help="All depth parameters control kmer depth, not read depth. For kmer depth Dk, read depth Dr, read length R, and kmer size K: Dr=Dk*(R/(R-K+1))"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
154 <param argument="mindepth" type="integer" value="5" min="0" label="kmers with depth below this number will not be included when calculating the depth of a read." help="All depth parameters control kmer depth, not read depth. For kmer depth Dk, read depth Dr, read length R, and kmer size K: Dr=Dk*(R/(R-K+1))"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
155 <param argument="minkmers" type="integer" value="15" min="0" label="Reads must have at least this many kmers over min depth to be retained."/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
156 <param argument="percentile" type="integer" value="54" min="1" max="100" label="Percentile to infer read depth" help="Read depth is by default inferred from the 54th percentile of kmer depth, but this may be changed to any number 1-100."/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
157 <param argument="uselowerdepth" type="boolean" checked="true" label="For pairs, use the depth of the lower read as the depth proxy."/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
158 <param argument="deterministic" type="boolean" checked="true" label="Generate random numbers deterministically" help="This would ensure identical output between multiple runs. May decrease speed with a huge number of threads."/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
159 <param argument="fixspikes" type="boolean" checked="false" label="Do a slower, high-precision bloom filter lookup of kmers that appear to have an abnormally high depth due to collisions."/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
160 <param argument="passes" type="integer" value="2" label="Number of passes to perform" help=" pass is the basic mode. 2 passes allows greater accuracy, error detection, better contol of output depth."/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
161 </section>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
162 <section name="hashing_params" title="Hashing parameters">
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
163 <param argument="k" type="integer" value="31" min="1" label="kmer length" help="Values under 32 are most efficient, but arbitrarily high values are supported."/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
164 <param argument="bits" type="select" label="Bits per cell in bloom filter" help="Maximum kmer depth recorded is 2^c bits. Large values decrease accuracy for a fixed amount of memory, so use the lowest number you can that will still capture highest-depth kmers.">
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
165 <option value="2">2</option>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
166 <option value="4">4</option>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
167 <option value="8">8</option>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
168 <option value="16" selected="true">16</option>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
169 <option value="32">32</option>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
170 </param>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
171 <param argument="hashes" type="integer" value="3" min="1" label="Number of times each kmer is hashed and stored." help="Higher is slower. Higher is more accurate if there is enough memory, but less accurate if there is not enough memory."/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
172 <conditional name="prefilter">
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
173 <param argument="prefilter" type="select" label="Use a prefilter to eliminate low-depth kmers" help="True is slower, but generally more accurate; filters out low-depth kmers from the main hashtable. The prefilter is more memory-efficient because it uses 2-bit cells.">
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
174 <option value="true">Yes</option>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
175 <option value="false" selected="true">No</option>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
176 </param>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
177 <when value="false"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
178 <when value="true">
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
179 <param argument="prehashes" type="integer" value="2" min="1" label="Number of hashes for the prefilter"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
180 <param argument="prefilterbits" type="integer" value="2" min="1" label="Bits per cell in prefilter"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
181 <param argument="prefiltersize" type="float" value="0.35" min="0" max="1" label="Fraction of memory to allocate for the prefilter."/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
182 </when>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
183 </conditional>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
184 <param argument="buildpasses" type="integer" value="1" min="1" label="Number of passes" help="More passes can sometimes increase accuracy by iteratively removing low-depth kmers"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
185 <param argument="minq" type="integer" value="6" min="0" label="Ignore kmers containing bases with quality below this threshold"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
186 <param argument="minprob" type="float" value="0.5" min="0" max="1" label="Ignore kmers with overall probability of correctness below this threshold"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
187 <param argument="rdk" type="boolean" checked="true" label="Remove duplicate kmers" help="When true, a kmer's count will only be incremented once per read pair, even if that kmer occurs more than once."/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
188 </section>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
189 <section name="error_det_params" title="Error detection parameters">
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
190 <param argument="hdp" type="integer" value="90" min="0" max="100" label="highdepthpercentile" help="Position in sorted kmer depth array used as proxy of a read's high kmer depth."/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
191 <param argument="ldp" type="integer" value="25" min="0" max="100" label="lowdepthpercentile" help="Position in sorted kmer depth array used as proxy of a read's low kmer depth."/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
192 <param argument="tossbadreads" type="boolean" checked="false" label="Throw away reads detected as containing errors."/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
193 <param argument="requirebothbad" type="boolean" checked="false" label="Only toss bad pairs if both reads are bad."/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
194 <param argument="errordetectratio" type="integer" value="125" min="0" label="Error detection ratio" help="Reads with a ratio of at least this much between their high and low depth kmers will be classified as error reads."/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
195 <param argument="highthresh" type="integer" value="12" min="0" label="Threshold for high kmer" help="A high kmer at this or above are considered non-error."/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
196 <param argument="lowthresh" type="integer" value="3" min="0" label="Threshold for low kmer" help="Kmers at this and below are always considered errors."/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
197 </section>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
198
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
199 <section name="error_corr_params" title="Error correction parameters">
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
200 <conditional name="ecc">
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
201 <param argument="ecc" type="select" label="What should be done with detected errors?" help="Tadpole is now preferred for error correction, as it does a better job.">
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
202 <option value="true" >Correct errors when possible</option>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
203 <option value="false" selected="true">Do not attempt to correct errors</option>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
204 </param>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
205 <when value="false"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
206 <when value="true">
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
207 <param argument="ecclimit" type="integer" value="3" min="1" label="Correct up to this many errors per read." help="If more are detected, the read will remain unchanged."/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
208 <param argument="errorcorrectratio" type="integer" value="140" min="0" label="Depth ratio" help="Adjacent kmers with a depth ratio of at least this much between will be classified as an error."/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
209 <param argument="echighthresh" type="integer" value="22" min="0" label="Threshold for high kmer" help="A kmer at this or above may be considered non-error."/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
210 <param argument="eclowthresh" type="integer" value="2" min="0" label="Threshold for low kmer." help="kmers at this depth or below will be considered as errors."/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
211 <param argument="eccmaxqual" type="integer" value="127" min="0" label="Do not correct bases with quality above this value."/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
212 <param argument="meo" type="boolean" checked="false" label="Marks errors by reducing quality value of suspected errors; does not correct anything."/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
213 <param argument="mue" type="boolean" checked="true" label="Mark errors only on uncorrectable reads."/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
214 <param argument="overlap" type="boolean" checked="false" label="Correct errors by read overlap."/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
215 </when>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
216 </conditional>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
217 </section>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
218
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
219 <section name="output_options" title="Output options">
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
220 <param name="save_discarded_reads" type="boolean" checked="false" label="Save the reads that were eliminated from the input datasets to the history"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
221 <param name="save_kmer_hists" type="boolean" checked="false" label="Save the kmer histograms (in tabular format) for the input and output datasets to the history"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
222 </section>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
223 </inputs>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
224 <outputs>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
225 <data name="output_normalised_R1" format_source="read1" from_work_dir="normalised_R1.fastq" label="${tool.name} on ${on_string} (normalised R1 reads)">
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
226 <filter>input_type_cond['input_type'] != 'paired'</filter>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
227 </data>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
228 <data name="output_normalised_R2" format_source="read2" from_work_dir="normalised_R2.fastq" label="${tool.name} on ${on_string} (normalised R2 reads)">
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
229 <filter>input_type_cond['input_type'] == 'PE_2files'</filter>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
230 </data>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
231 <collection name="output_pair" type="paired" format_source="reads_collection" label="${tool.name} on ${on_string} (normalised reads)">
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
232 <filter>input_type_cond['input_type'] == 'paired'</filter>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
233 <data name="forward" from_work_dir="normalised_R1.fastq" label="${tool.name} on ${on_string} (normalised R1 reads)"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
234 <data name="reverse" from_work_dir="normalised_R2.fastq" label="${tool.name} on ${on_string} (normalised R2 reads)"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
235 </collection>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
236 <data name="output_discarded" format="fastqsanger" from_work_dir="discarded.fastq" label="${tool.name} on ${on_string} (discarded reads)">
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
237 <filter>output_options['save_discarded_reads'] is True</filter>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
238 </data>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
239 <data name="kmer_hist_input" format="tabular" from_work_dir="kmer_hist_input.tabular" label="${tool.name} on ${on_string} (kmer histogram input)">
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
240 <filter>output_options['save_kmer_hists'] is True</filter>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
241 </data>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
242 <data name="kmer_hist_output" format="tabular" from_work_dir="kmer_hist_output.tabular" label="${tool.name} on ${on_string} (kmer histogram output)">
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
243 <filter>output_options['save_kmer_hists'] is True</filter>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
244 </data>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
245 </outputs>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
246 <tests>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
247 <!-- Single end sequencing -->
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
248 <test expect_num_outputs="1">
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
249 <param name="input_type" value="single_end"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
250 <param name="read1" ftype="fastqsanger" value="bbnorm/input_R1.fastq"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
251 <param name="target" value="4"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
252 <section name="norm_params">
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
253 <param name="deterministic" value="true"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
254 <param name="mindepth" value="0"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
255 </section>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
256 <output name="output_normalised_R1" ftype="fastqsanger" value="bbnorm/normalised_R1.fastq"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
257 </test>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
258 <!-- Single end sequencing, compressed -->
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
259 <test expect_num_outputs="1">
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
260 <param name="input_type" value="single_end"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
261 <param name="read1" ftype="fastqsanger.gz" value="bbnorm/input_R1.fastq.gz"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
262 <param name="target" value="4"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
263 <section name="norm_params">
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
264 <param name="deterministic" value="true"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
265 <param name="mindepth" value="0"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
266 </section>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
267 <output name="output_normalised_R1" ftype="fastqsanger.gz" value="bbnorm/normalised_R1.fastq"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
268 </test>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
269 <!-- PE as an interleaved file -->
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
270 <test expect_num_outputs="4">
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
271 <param name="input_type" value="PE_1file"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
272 <param name="read1" ftype="fastqsanger" value="bbnorm/input_interleaved.fastq"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
273 <param name="target" value="4"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
274 <section name="norm_params">
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
275 <param name="deterministic" value="true"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
276 <param name="mindepth" value="0"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
277 </section>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
278 <section name="output_options">
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
279 <param name="save_discarded_reads" value="true"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
280 <param name="save_kmer_hists" value="true"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
281 </section>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
282 <output name="output_normalised_R1" ftype="fastqsanger" value="bbnorm/normalised_interleaved.fastq"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
283 <output name="output_discarded" ftype="fastqsanger" value="bbnorm/discarded.fastq"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
284 <output name="kmer_hist_input" ftype="tabular" file="bbnorm/kmer_hist_input.tabular"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
285 <output name="kmer_hist_output" ftype="tabular" file="bbnorm/kmer_hist_output.tabular"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
286 </test>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
287 <!-- PE as 2 files -->
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
288 <test expect_num_outputs="2">
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
289 <param name="input_type" value="PE_2files"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
290 <param name="read1" ftype="fastqsanger" value="bbnorm/input_R1.fastq"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
291 <param name="read2" ftype="fastqsanger" value="bbnorm/input_R2.fastq"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
292 <param name="target" value="4"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
293 <section name="norm_params">
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
294 <param name="deterministic" value="true"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
295 <param name="mindepth" value="0"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
296 </section>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
297 <output name="output_normalised_R1" ftype="fastqsanger" value="bbnorm/normalised_R1.fastq"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
298 <output name="output_normalised_R2" ftype="fastqsanger" value="bbnorm/normalised_R2.fastq"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
299 </test>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
300 <!-- Paired end collection -->
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
301 <test expect_num_outputs="3">
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
302 <param name="input_type" value="paired"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
303 <param name="reads_collection">
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
304 <collection type="paired">
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
305 <element name="forward" ftype="fastqsanger" value="bbnorm/input_R1.fastq"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
306 <element name="reverse" ftype="fastqsanger" value="bbnorm/input_R2.fastq"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
307 </collection>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
308 </param>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
309 <param name="target" value="4"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
310 <section name="norm_params">
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
311 <param name="deterministic" value="true"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
312 <param name="mindepth" value="0"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
313 </section>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
314 <output_collection name="output_pair" type="paired" count="2">
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
315 <element name="forward" ftype="fastqsanger" value="bbnorm/normalised_R1.fastq"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
316 <element name="reverse" ftype="fastqsanger" value="bbnorm/normalised_R2.fastq"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
317 </output_collection>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
318 </test>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
319 </tests>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
320 <help>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
321 **What it does**
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
322
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
323 BBNorm downsamples a provided sequencing output, while paying attention to potential heteregeneities in sequencing depth obtained from the wet-lab workflow. The reads corresponding to regions with low coverage will be kept as is, whereas some of the reads contributing to an above-threshold coverage depth will be subsampled. The resulting data set is expected to be smaller in size, whereas the genome regions with low coverage levels will still be represented in the subsampled dataset. This provides a more uniform coverage depth against all genomic coordinates while the computational resources needed for subsequent steps such as assembly can be substantially reduced without losing coverage anywhere.
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
324
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
325 -----
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
326
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
327 **If the target sequencing depth is 2X, a Martian genome sequencing result is expected to be down-sampled as follows:**
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
328
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
329 input.fastq::
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
330
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
331 @read_header_1
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
332 AAAAATTTTTCCCCCGGGGGAAATTT
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
333 +
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
334 FFFFFFFFFFFFFFFEFFFFFF,FFE
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
335 @read_header_2
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
336 TTTTTCCCCCGGGGGAAATTTCCCGGG
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
337 +
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
338 FFFFFFFFFFFFFFFEFFFFFFEFFDD
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
339 @read_header_3
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
340 TTTTTCCCCCGGGGGAAATTTCCCGGG
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
341 +
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
342 FFFFFFFFFFFCEFFEFFFFFFEFFEE
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
343 @read_header_4
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
344 TTTTTCCCCCGGGGGAAATTTCCCGGG
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
345 +
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
346 FFFFFDDFFFFFFFFEFFFFFFEFFEF
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
347 @read_header_5
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
348 TTTTTCCCCCGGGGGAAATTTCCCGGG
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
349 +
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
350 FFFFFEFFFFEEFFFEFFFFFFDFFFF
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
351 @read_header_6
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
352 AAAAATTTTTCCCCCGGGGGAAATTT
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
353 +
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
354 FFFFFFFFFFFFFFFEFFFFFFEFFD
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
355
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
356
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
357 output.fastq::
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
358
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
359 @read_header_1
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
360 AAAAATTTTTCCCCCGGGGGAAATTT
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
361 +
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
362 FFFFFFFFFFFFFFFEFFFFFF,FFE
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
363 @read_header_2
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
364 TTTTTCCCCCGGGGGAAATTTCCCGGG
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
365 +
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
366 FFFFFFFFFFFFFFFEFFFFFFEFFDD
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
367 @read_header_3
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
368 TTTTTCCCCCGGGGGAAATTTCCCGGG
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
369 +
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
370 FFFFFFFFFFFCEFFEFFFFFFEFFEE
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
371 @read_header_6
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
372 AAAAATTTTTCCCCCGGGGGAAATTT
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
373 +
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
374 FFFFFFFFFFFFFFFEFFFFFFEFFD
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
375
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
376
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
377 **Indications**
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
378
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
379 BBNorm is mainly intended for use in assembly pipelines out of short reads. It might be useful when there is too much data that increases computation time or a highly skewed coverage distribution by subsampling from the existing data. As opposed to keeping a randomly selected subset of reads, such as retaining the first n-many elements, this is a weighted resampling that tries to reduce coverage around coordinates of very high sequencing depth.
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
380
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
381
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
382 **Contraindications**
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
383
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
384 * The data already has a roughly uniform coverage that does not need to be normalised further.
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
385 * You do not have any excess data to discard: BBnorm does not increase data quantity by imputation or by repeatedly sampling with replacement.
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
386 * Your pipeline reports results that rely on quantification of abundance (ex: differential expression profiling or ChIP-Seq)
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
387 * You want to do variant discovery. Reduction of sequencing depth might bias significance levels, or even obscure the existence of rare variants altogether.
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
388 * The sequencing platform has a very high error rate (ex: ONT) that might mislead this algorithm.
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
389
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
390 </help>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
391 <expand macro="citations"/>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
392 </tool>
1ef267476a17 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 35db9ac8668f3e376886ea09de63c87dce93e1ce
iuc
parents:
diff changeset
393