annotate vardict.xml @ 3:e0734e88a104 draft default tip

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 80e3742f499e8efabad1fe7627201466d0bdd190"
author iuc
date Thu, 27 Jan 2022 15:19:23 +0000
parents d262577e04b0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
1 <tool id="vardict_java" name="VarDict" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@">
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
2 <description>calls SNVs and indels for tumor-normal pairs</description>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
3 <macros>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
4 <import>macros.xml</import>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
5 </macros>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
6 <requirements>
3
e0734e88a104 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 80e3742f499e8efabad1fe7627201466d0bdd190"
iuc
parents: 2
diff changeset
7 <requirement type="package" version="3.10.2">python</requirement>
0
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
8 <requirement type="package" version="@TOOL_VERSION@">vardict-java</requirement>
2
d262577e04b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit c247c47e1bc869c9094997f5052ce31367e10b1e"
iuc
parents: 1
diff changeset
9 <requirement type="package" version="5.1.0">gawk</requirement>
d262577e04b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit c247c47e1bc869c9094997f5052ce31367e10b1e"
iuc
parents: 1
diff changeset
10 <requirement type="package" version="1.14">samtools</requirement>
0
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
11 </requirements>
1
5f756651a1bc "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 2690164244722cfc32811015f2408b8275f06378"
iuc
parents: 0
diff changeset
12 <expand macro="stdio" />
0
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
13 <command detect_errors="exit_code"><![CDATA[
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
14 #if $select_mode.mode == "paired"
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
15 ln -s '$select_mode.normal' ./normal.bam &&
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
16 ln -s '$select_mode.normal.metadata.bam_index' ./normal.bam.bai &&
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
17 #end if
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
18 ln -s '$select_mode.tumor' ./tumor.bam &&
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
19 ln -s '$select_mode.tumor.metadata.bam_index' ./tumor.bam.bai &&
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
20
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
21 ## INDEX REFERENCE FASTA FILE IF FROM HISTORY
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
22 #if $reference_source.reference_source_selector == "history":
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
23 ln -s '$reference_source.ref_file' ./ref.fa &&
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
24 samtools faidx ./ref.fa 2>&1 || echo 'Error running samtools faidx for indexing fasta reference for vardict' >&2 &&
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
25 #else if $reference_source.reference_source_selector == "cached"
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
26 ln -s '$reference_source.ref_file.fields.path' ./ref.fa &&
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
27 ln -s '${reference_source.ref_file.fields.path}.fai' ./ref.fa.fai &&
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
28 #end if
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
29
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
30 ## build BED file from chromosome list
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
31 #if $interval_file:
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
32 grep -w -f '$interval_file' ./ref.fa.fai > ./chromosomes.fa.fai &&
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
33 #else
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
34 ln -s ./ref.fa.fai ./chromosomes.fa.fai &&
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
35 #end if
3
e0734e88a104 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 80e3742f499e8efabad1fe7627201466d0bdd190"
iuc
parents: 2
diff changeset
36 python '$__tool_directory__/split.py' ./chromosomes.fa.fai "\${VARDICT_CHUNKSIZE:-1000000}" "\${VARDICT_OVERLAP:-150}" > ./regions.bed &&
0
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
37
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
38 vardict-java
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
39 #if $select_mode.mode == "paired"
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
40 -b "./tumor.bam|./normal.bam"
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
41 -N 'Tumor'
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
42 #else
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
43 -b "./tumor.bam"
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
44 -N 'Sample'
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
45 #end if
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
46 -G ./ref.fa
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
47 -z
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
48 -th \${GALAXY_SLOTS:-1}
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
49
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
50 -f '$advancedsettings.f'
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
51 -k '$advancedsettings.k'
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
52 -r '$advancedsettings.r'
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
53 -B '$advancedsettings.B'
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
54 -Q '$advancedsettings.Q'
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
55 -q '$advancedsettings.q'
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
56 -m '$advancedsettings.m'
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
57 -T '$advancedsettings.T'
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
58 -X '$advancedsettings.X'
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
59 -P '$advancedsettings.P'
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
60 -o '$advancedsettings.o'
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
61 -O '$advancedsettings.O'
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
62 -V '$advancedsettings.V'
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
63
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
64 ## construct VFC table
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
65 -c 1 -S 2 -E 3 -g 4
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
66 ./regions.bed
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
67
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
68 ## postprocessing
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
69 #if $select_mode.mode == "paired"
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
70 | testsomatic.R
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
71 | var2vcf_paired.pl
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
72 -N 'Tumor|Normal'
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
73 #else
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
74 | teststrandbias.R
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
75 | var2vcf_valid.pl
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
76 -N 'Sample'
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
77 -E
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
78 #end if
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
79 -f '$advancedsettings.f'
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
80
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
81 > '$all_variants' &&
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
82
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
83 ## Filter for PASS variants
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
84 awk 'BEGIN {FS=OFS="\t"} substr(\$0, 1, 1) == "#" {print \$0; next} \$7 == "PASS" {print \$0}' '$all_variants' > '$passed_variants'
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
85 ]]></command>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
86 <inputs>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
87 <conditional name="select_mode">
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
88 <param name="mode" type="select" label="Choose run mode">
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
89 <option value="single">Single sample mode</option>
2
d262577e04b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit c247c47e1bc869c9094997f5052ce31367e10b1e"
iuc
parents: 1
diff changeset
90 <option value="paired" selected="true">Paired variant calling</option>
0
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
91 </param>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
92 <when value="single">
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
93 <expand macro="input_default" />
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
94 </when>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
95 <when value="paired">
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
96 <param name="normal" type="data" format="bam" label="Normal file" />
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
97 <expand macro="input_default" />
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
98 </when>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
99 </conditional>
2
d262577e04b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit c247c47e1bc869c9094997f5052ce31367e10b1e"
iuc
parents: 1
diff changeset
100 <section name="advancedsettings" title="Advanced Settings" expanded="false">
0
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
101 <param argument="-f" type="float" min="0.0" max="1.0" value="0.01" label="Minimum variant allele fraction" />
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
102 <param argument="-k" type="boolean" truevalue="1" falsevalue="0" checked="true" label="Indicate whether to perform local realignment" />
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
103 <param argument="-r" type="integer" min="0" value="2" label="Minimum number of reads supporting the variant" />
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
104 <param argument="-B" type="integer" min="0" value="2" label="Minimum number of reads for determining strand bias" />
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
105 <param argument="-Q" type="integer" min="0" value="1" label="Minimum mapping quality for reads to be considered" />
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
106 <param argument="-m" type="integer" value="8" label="Maximum number of mismatches before a read is no longer considered (gaps are not counted as mismatches)" />
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
107 <param argument="-T" type="integer" value="0" label="Maximum number of bases considered from 5' end (default: 0, no trimming)" />
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
108 <param argument="-X" type="integer" value="3" label="Maximum number of extended based after indel to look for mismatches" />
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
109 <param argument="-P" type="integer" value="5" label="Maximum average read position for a variant to be considered." />
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
110 <param argument="-q" type="integer" value="25" label="Minimum phred score for a base to be considered a good call" />
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
111 <param argument="-o" type="float" value="1.5" label="Minimum quality ratio [(good_quality_reads)/(bad_quality_reads+0.5)] (based on definition of a good call; see previous option)" />
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
112 <param argument="-O" type="float" min="0" value="0" label="Minimum average mapping quality" />
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
113 <param argument="-V" type="float" min="0.0" max="1.0" value="0.05" label="Maximum allowed variant allele fraction in the normal sample" />
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
114 </section>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
115 <expand macro="ref_select" />
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
116 </inputs>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
117 <outputs>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
118 <data name="all_variants" format="vcf" label="VarDict SNVs and Indels (All)" />
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
119 <data name="passed_variants" format="vcf" label="VarDict SNVs and Indels (Passed)" />
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
120 </outputs>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
121 <tests>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
122 <test expect_num_outputs="2">
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
123 <conditional name="select_mode">
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
124 <param name="mode" value="paired" />
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
125 <param name="normal" ftype="bam" value="normal.bam" />
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
126 <param name="tumor" ftype="bam" value="tumor.bam" />
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
127 </conditional>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
128 <conditional name="reference_source">
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
129 <param name="reference_source_selector" value="history"/>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
130 <param name="ref_file" ftype="fasta" value="genome.fasta" />
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
131 </conditional>
3
e0734e88a104 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 80e3742f499e8efabad1fe7627201466d0bdd190"
iuc
parents: 2
diff changeset
132
2
d262577e04b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit c247c47e1bc869c9094997f5052ce31367e10b1e"
iuc
parents: 1
diff changeset
133 <output name="all_variants" compare="re_match_multiline" file="all_variants_paired.vcf" />
d262577e04b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit c247c47e1bc869c9094997f5052ce31367e10b1e"
iuc
parents: 1
diff changeset
134 <output name="passed_variants" compare="re_match_multiline" file="passed_variants_paired.vcf" />
0
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
135 </test>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
136 <test expect_num_outputs="2">
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
137 <conditional name="select_mode">
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
138 <param name="mode" value="paired" />
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
139 <param name="normal" ftype="bam" value="normal.bam" />
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
140 <param name="tumor" ftype="bam" value="tumor.bam" />
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
141 </conditional>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
142 <conditional name="reference_source">
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
143 <param name="reference_source_selector" value="cached"/>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
144 <param name="ref_file" value="test_buildid"/>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
145 </conditional>
3
e0734e88a104 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 80e3742f499e8efabad1fe7627201466d0bdd190"
iuc
parents: 2
diff changeset
146
2
d262577e04b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit c247c47e1bc869c9094997f5052ce31367e10b1e"
iuc
parents: 1
diff changeset
147 <output name="all_variants" compare="re_match_multiline" file="all_variants_paired.vcf" />
d262577e04b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit c247c47e1bc869c9094997f5052ce31367e10b1e"
iuc
parents: 1
diff changeset
148 <output name="passed_variants" compare="re_match_multiline" file="passed_variants_paired.vcf" />
0
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
149 </test>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
150 <test expect_num_outputs="2">
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
151 <conditional name="select_mode">
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
152 <param name="mode" value="single" />
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
153 <param name="tumor" ftype="bam" value="tumor.bam" />
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
154 </conditional>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
155 <conditional name="reference_source">
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
156 <param name="reference_source_selector" value="cached"/>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
157 <param name="ref_file" value="test_buildid"/>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
158 </conditional>
2
d262577e04b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit c247c47e1bc869c9094997f5052ce31367e10b1e"
iuc
parents: 1
diff changeset
159 <output name="all_variants" compare="re_match_multiline" file="all_variants_single.vcf" />
d262577e04b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit c247c47e1bc869c9094997f5052ce31367e10b1e"
iuc
parents: 1
diff changeset
160 <output name="passed_variants" compare="re_match_multiline" file="passed_variants_single.vcf" />
0
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
161 </test>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
162 </tests>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
163 <help>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
164 <![CDATA[
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
165 VarDict
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
166 =======
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
167
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
168 VarDict is a sensitive variant caller for both single and paired sample variant calling from BAM files.
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
169 VarDict implements several novel features such as amplicon bias aware variant calling from targeted sequencing experiments,
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
170 rescue of long indels by realigning bwa soft clipped reads and better scalability than many other Java based variant callers.
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
171
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
172 For more information see the VarDict documentation_.
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
173
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
174 .. _documentation: https://github.com/AstraZeneca-NGS/VarDictJava
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
175 ]]>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
176 </help>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
177 <citations>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
178 <citation type="doi">10.1093/nar/gkw227</citation>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
179 </citations>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
180 </tool>