annotate vardictjava.xml @ 0:fba18d3160d1 draft default tip

planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
author morinlab
date Tue, 11 Oct 2016 14:37:45 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
1 <tool id="vardictjava" name="VarDictJava" version="1.4.6">
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
2 <description>
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
3 calls SNVs and indels for tumour-normal pairs.
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
4 </description>
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
5
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
6 <requirements>
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
7 <requirement type="package" version="5.18.1">perl</requirement>
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
8 <requirement type="package" version="3.2.1">R</requirement>
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
9 <requirement type="package" version="1.4.6">vardictjava</requirement>
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
10 <requirement type="set_environment">VARDICTJAVA_ROOT_DIR</requirement>
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
11 </requirements>
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
12
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
13 <command detect_errors="aggressive"><![CDATA[
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
14 ## LINK BAM INDEX
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
15 ln -s $normal ./normal.bam;
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
16 ln -s $normal.metadata.bam_index ./normal.bam.bai;
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
17 ln -s $tumour tumor.bam;
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
18 ln -s $tumour.metadata.bam_index ./tumor.bam.bai;
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
19
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
20 ## INDEX REFERENCE FASTA FILE IF FROM HISTORY
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
21 #if $reference_source.reference_source_selector == "history":
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
22 ln -s $reference_source.ref_file ref.fa;
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
23 samtools faidx ref.fa;
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
24 #else if $reference_source.reference_source_selector == "cached"
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
25 ln -s $reference_source.ref_file.fields.path ref.fa;
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
26 ln -s ${reference_source.ref_file.fields.path}.fai ref.fa.fai;
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
27 #end if
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
28
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
29 ## BUILD BED FILE FROM CHROMOSOME LIST
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
30 #if $interval_file:
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
31 grep -w -f $interval_file ref.fa.fai > chromosomes.fa.fai;
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
32 #else
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
33 ln -s ref.fa.fai chromosomes.fa.fai;
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
34 #end if
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
35 awk 'BEGIN {FS=OFS="\t"} {print $1, "1", $2}' chromosomes.fa.fai > regions.bed;
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
36
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
37 ## BUILD VARDICT COMMAND
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
38 \$VARDICTJAVA_ROOT_DIR/build/install/VarDict/bin/VarDict
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
39 -b "./tumor.bam|./normal.bam"
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
40 -G ref.fa
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
41 -z
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
42 -th \${GALAXY_SLOTS:-1}
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
43
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
44 ## ADVANCED OPTIONS
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
45 -f $advancedsettings.f
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
46 -k $advancedsettings.k
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
47 -r $advancedsettings.r
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
48 -B $advancedsettings.B
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
49 -Q $advancedsettings.Q
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
50 -q $advancedsettings.q
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
51 -m $advancedsettings.m
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
52 -T $advancedsettings.T
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
53 -X $advancedsettings.X
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
54 -P $advancedsettings.P
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
55 -o $advancedsettings.o
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
56 -O $advancedsettings.O
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
57 -V $advancedsettings.V
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
58
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
59 ## CONSTRUCT VCF TABLE
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
60 -c 1 -S 2 -E 3 -g 4
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
61
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
62 ## REGION SPECIFICATION (ENTIRE CHROMOSOMES)
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
63 regions.bed
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
64
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
65 ## POSTPROCESSING
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
66 | \$VARDICTJAVA_ROOT_DIR/VarDict/testsomatic.R
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
67 | \$VARDICTJAVA_ROOT_DIR/VarDict/var2vcf_somatic.pl
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
68 -f $advancedsettings.f
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
69
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
70 > $all_variants;
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
71
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
72 ## Filter for PASS variants
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
73 awk 'BEGIN {FS=OFS="\t"} substr(\$0, 1, 1) == "#" {print \$0; next} \$7 == "PASS" {print \$0}' $all_variants > $passed_variants
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
74 ]]></command>
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
75
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
76 <inputs>
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
77 <conditional name="reference_source">
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
78 <param name="reference_source_selector" type="select" label="Choose the source for the reference genome file">
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
79 <option value="cached" selected="True">Use a built-in genome</option>
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
80 <option value="history">Use a genome from the history</option>
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
81 </param>
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
82 <when value="cached">
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
83 <param name="ref_file" type="select" label="Reference Genome File">
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
84 <options from_data_table="fasta_indexes"/>
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
85 </param>
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
86 </when>
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
87 <when value="history">
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
88 <param name="ref_file" format="fasta" type="data" label="Reference Genome File" />
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
89 </when>
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
90 </conditional>
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
91
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
92 <param name="normal" type="data" format="bam" label="Normal Alignment File" />
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
93 <param name="tumour" type="data" format="bam" label="Tumour Alignment File" />
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
94 <param name="interval_file" type="data" format="txt" optional="true" label="Chromosomes" help="Restrict SNV calls to the following list of chromosomes (one per line)" />
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
95
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
96 <section name="advancedsettings" title="Advanced Settings" expanded="False">
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
97 <param name="f" type="float" value="0.01" label="Minimum variant allele fraction" />
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
98 <param name="k" type="integer" value="1" label="Set to 0 to disable local realignment" />
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
99 <param name="r" type="integer" value="2" label="Minimum number of reads supporting the variant" />
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
100 <param name="B" type="integer" value="2" label="Minimum number of reads for determining strand bias" />
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
101 <param name="Q" type="integer" value="1" label="Minimum mapping quality for reads to be considered" />
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
102 <param name="m" type="integer" value="8" label="Maximum number of mismatches before a read is no longer considered (gaps are not counted as mismatches)" />
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
103 <param name="T" type="integer" value="0" label="Maximum number of bases considered from 5' end (default: 0, no trimming)" />
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
104 <param name="X" type="integer" value="3" label="Maximum number of extended based after indel to look for mismatches" />
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
105 <param name="P" type="integer" value="5" label="Maximum average read position for a variant to be considered." />
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
106 <param name="q" type="integer" value="25" label="Minimum phred score for a base to be considered a good call" />
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
107 <param name="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)" />
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
108 <param name="O" type="float" value="0" label="Minimum average mapping quality" />
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
109 <param name="V" type="float" value="0.05" label="Maximum allowed variant allele fraction in the normal sample" />
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
110 </section>
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
111 </inputs>
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
112
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
113 <outputs>
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
114 <data name="all_variants" format="vcf" label="VarDict SNVs and Indels (All)" />
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
115 <data name="passed_variants" format="vcf" label="VarDict SNVs and Indels (Passed)" />
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
116 </outputs>
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
117
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
118 <help>
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
119 <![CDATA[
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
120 https://github.com/AstraZeneca-NGS/VarDictJava
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
121 ]]>
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
122 </help>
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
123
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
124 <citations>
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
125 <expand macro="morinlab_citation" />
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
126 <expand macro="galaxy_citation" />
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
127 <expand macro="vardict_citation" />
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
128 </citations>
fba18d3160d1 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/vardictjava commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents:
diff changeset
129 </tool>