annotate vardict.xml @ 0:2975b29bcaa1 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
author iuc
date Tue, 25 Aug 2020 05:41:19 -0400
parents
children 5f756651a1bc
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>
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="5.0.1">gawk</requirement>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
9 <requirement type="package" version="1.10">samtools</requirement>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
10 </requirements>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
11 <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
12 #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
13 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
14 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
15 #end if
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.tumor' ./tumor.bam &&
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.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
18
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
19 ## 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
20 #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
21 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
22 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
23 #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
24 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
25 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
26 #end if
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
27
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
28 ## 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
29 #if $interval_file:
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
30 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
31 #else
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
32 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
33 #end if
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
34 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
35
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
36 vardict-java
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
37 #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
38 -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
39 -N 'Tumor'
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
40 #else
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
41 -b "./tumor.bam"
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
42 -N 'Sample'
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
43 #end if
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
44 -G ./ref.fa
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
45 -z
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
46 -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
47
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
48 -f '$advancedsettings.f'
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
49 -k '$advancedsettings.k'
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
50 -r '$advancedsettings.r'
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
51 -B '$advancedsettings.B'
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
52 -Q '$advancedsettings.Q'
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 -m '$advancedsettings.m'
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
55 -T '$advancedsettings.T'
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
56 -X '$advancedsettings.X'
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
57 -P '$advancedsettings.P'
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
58 -o '$advancedsettings.o'
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 -V '$advancedsettings.V'
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
61
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
62 ## construct VFC table
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
63 -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
64 ./regions.bed
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
65
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
66 ## postprocessing
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
67 #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
68 | testsomatic.R
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
69 | var2vcf_paired.pl
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
70 -N 'Tumor|Normal'
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
71 #else
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
72 | teststrandbias.R
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
73 | var2vcf_valid.pl
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
74 -N 'Sample'
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
75 -E
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
76 #end if
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
77 -f '$advancedsettings.f'
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
78
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
79 > '$all_variants' &&
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 ## 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
82 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
83 ]]></command>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
84 <inputs>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
85 <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
86 <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
87 <option value="single">Single sample mode</option>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
88 <option value="paired" selected="True">Paired variant calling</option>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
89 </param>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
90 <when value="single">
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
91 <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
92 </when>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
93 <when value="paired">
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
94 <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
95 <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
96 </when>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
97 </conditional>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
98 <section name="advancedsettings" title="Advanced Settings" expanded="False">
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
99 <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
100 <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
101 <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
102 <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
103 <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
104 <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
105 <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
106 <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
107 <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
108 <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
109 <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
110 <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
111 <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
112 </section>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
113 <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
114 </inputs>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
115 <outputs>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
116 <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
117 <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
118 </outputs>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
119 <tests>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
120 <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
121 <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
122 <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
123 <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
124 <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
125 </conditional>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
126 <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
127 <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
128 <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
129 </conditional>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
130 <output name="all_variants" file="all_variants_paired.vcf" />
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
131 <output name="passed_variants" file="passed_variants_paired.vcf" />
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
132 </test>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
133 <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
134 <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
135 <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
136 <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
137 <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
138 </conditional>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
139 <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
140 <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
141 <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
142 </conditional>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
143 <output name="all_variants" file="all_variants_paired.vcf" />
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
144 <output name="passed_variants" file="passed_variants_paired.vcf" />
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
145 </test>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
146 <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
147 <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
148 <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
149 <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
150 </conditional>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
151 <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
152 <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
153 <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
154 </conditional>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
155 <output name="all_variants" file="all_variants_single.vcf" />
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
156 <output name="passed_variants" file="passed_variants_single.vcf" />
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
157 </test>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
158 </tests>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
159 <help>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
160 <![CDATA[
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
161 VarDict
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
162 =======
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 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
165 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
166 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
167
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
168 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
169
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
170 .. _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
171 ]]>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
172 </help>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
173 <citations>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
174 <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
175 </citations>
2975b29bcaa1 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vardict commit 8a561c35737f2bdef39842ce7f297a286380bf36"
iuc
parents:
diff changeset
176 </tool>