annotate vardict.xml @ 2:d262577e04b0 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit c247c47e1bc869c9094997f5052ce31367e10b1e"
author iuc
date Tue, 16 Nov 2021 19:05:56 +0000
parents 5f756651a1bc
children e0734e88a104
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>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
7 <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
8 <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
9 <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
10 </requirements>
1
5f756651a1bc "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 2690164244722cfc32811015f2408b8275f06378"
iuc
parents: 0
diff changeset
11 <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
12 <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
13 #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
14 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
15 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
16 #end if
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
17 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
18 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
19
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
20 ## 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
21 #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
22 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
23 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
24 #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
25 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
26 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
27 #end if
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
28
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
29 ## 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
30 #if $interval_file:
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
31 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
32 #else
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
33 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
34 #end if
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
35 awk 'BEGIN {FS=OFS="\t"} {print $1, "1", $2}' ./chromosomes.fa.fai > ./regions.bed &&
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
36
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
37 vardict-java
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
38 #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
39 -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
40 -N 'Tumor'
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
41 #else
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
42 -b "./tumor.bam"
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
43 -N 'Sample'
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
44 #end if
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
45 -G ./ref.fa
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
46 -z
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
47 -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
48
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
49 -f '$advancedsettings.f'
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
50 -k '$advancedsettings.k'
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
51 -r '$advancedsettings.r'
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
52 -B '$advancedsettings.B'
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
53 -Q '$advancedsettings.Q'
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 -m '$advancedsettings.m'
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
56 -T '$advancedsettings.T'
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
57 -X '$advancedsettings.X'
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
58 -P '$advancedsettings.P'
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
59 -o '$advancedsettings.o'
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 -V '$advancedsettings.V'
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
62
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
63 ## construct VFC table
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
64 -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
65 ./regions.bed
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
66
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
67 ## postprocessing
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
68 #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
69 | testsomatic.R
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
70 | var2vcf_paired.pl
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
71 -N 'Tumor|Normal'
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
72 #else
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
73 | teststrandbias.R
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
74 | var2vcf_valid.pl
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
75 -N 'Sample'
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
76 -E
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
77 #end if
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
78 -f '$advancedsettings.f'
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
79
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
80 > '$all_variants' &&
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
81
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
82 ## 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
83 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
84 ]]></command>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
85 <inputs>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
86 <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
87 <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
88 <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
89 <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
90 </param>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
91 <when value="single">
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
92 <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
93 </when>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
94 <when value="paired">
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
95 <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
96 <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
97 </when>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
98 </conditional>
2
d262577e04b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit c247c47e1bc869c9094997f5052ce31367e10b1e"
iuc
parents: 1
diff changeset
99 <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
100 <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
101 <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
102 <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
103 <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
104 <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
105 <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
106 <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
107 <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
108 <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
109 <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
110 <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
111 <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
112 <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
113 </section>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
114 <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
115 </inputs>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
116 <outputs>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
117 <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
118 <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
119 </outputs>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
120 <tests>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
121 <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
122 <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
123 <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
124 <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
125 <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
126 </conditional>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
127 <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
128 <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
129 <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
130 </conditional>
2
d262577e04b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit c247c47e1bc869c9094997f5052ce31367e10b1e"
iuc
parents: 1
diff changeset
131 <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
132 <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
133 </test>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
134 <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
135 <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
136 <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
137 <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
138 <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
139 </conditional>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
140 <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
141 <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
142 <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
143 </conditional>
2
d262577e04b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit c247c47e1bc869c9094997f5052ce31367e10b1e"
iuc
parents: 1
diff changeset
144 <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
145 <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
146 </test>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
147 <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
148 <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
149 <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
150 <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
151 </conditional>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
152 <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
153 <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
154 <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
155 </conditional>
2
d262577e04b0 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit c247c47e1bc869c9094997f5052ce31367e10b1e"
iuc
parents: 1
diff changeset
156 <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
157 <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
158 </test>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
159 </tests>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
160 <help>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
161 <![CDATA[
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
162 VarDict
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
163 =======
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
164
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
165 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
166 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
167 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
168
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
169 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
170
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
171 .. _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
172 ]]>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
173 </help>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
174 <citations>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
175 <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
176 </citations>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
177 </tool>