annotate strelka.xml @ 3:4e6e20c9738b draft default tip

Uploaded
author morinlab
date Fri, 27 Jan 2017 19:46:21 -0500
parents 3ce78c04c7e5
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
1 <tool id="strelka" name="Strelka" version="1.0.14">
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
2 <description>
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
3 detects somatic SNVs and small indels in tumour/normal pairs
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
4 </description>
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
5 <macros>
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
6 <import>citations.xml</import>
2
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
7 </macros>
0
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
8 <requirements>
3
4e6e20c9738b Uploaded
morinlab
parents: 2
diff changeset
9 <requirement type="package" version="1.0.14">strelka</requirement>
0
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
10 </requirements>
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
11 <command detect_errors="aggressive">
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
12
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
13 ln -s $normal normal.bam;
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
14 ln -s $normal.metadata.bam_index normal.bam.bai;
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
15 ln -s $tumour tumour.bam;
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
16 ln -s $tumour.metadata.bam_index tumour.bam.bai;
2
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
17
0
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
18 touch config.ini;
2
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
19 echo "[user]" > config.ini;
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
20 #if $depthfilters.seqType == "genome":
0
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
21 echo "isSkipDepthFilters = 0" >> config.ini;
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
22 echo "maxInputDepth = 10000" >> config.ini;
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
23 echo "depthFilterMultiple = 3.0" >> config.ini;
2
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
24 #elif $depthfilters.seqType == "exome":
0
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
25 echo "isSkipDepthFilters = 1" >> config.ini;
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
26 echo "maxInputDepth = 10000" >> config.ini;
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
27 echo "depthFilterMultiple = 3.0" >> config.ini;
2
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
28 #elif $depthfilters.seqType == "targeted":
0
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
29 echo "isSkipDepthFilters = 1" >> config.ini;
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
30 echo "maxInputDepth = 10000" >> config.ini;
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
31 echo "depthFilterMultiple = 3.0" >> config.ini;
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
32 #else:
2
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
33 echo "isSkipDepthFilters = " $depthfilters.isSkipDepthFilters >> config.ini;
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
34 echo "maxInputDepth = " $depthfilters.maxInputDepth >> config.ini;
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
35 echo "depthFilterMultiple = " $depthfilters.depthFilterMultiple >> config.ini;
0
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
36 #end if
2
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
37
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
38 echo "snvMaxFilteredBasecallFrac = " $advancedsettings.snvMaxFilteredBasecallFrac >> config.ini;
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
39 echo "snvMaxSpanningDeletionFrac = " $advancedsettings.snvMaxSpanningDeletionFrac >> config.ini;
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
40 echo "indelMaxRefRepeat = " $advancedsettings.indelMaxRefRepeat >> config.ini;
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
41 echo "indelMaxWindowFilteredBasecallFrac = " $advancedsettings.indelMaxWindowFilteredBasecallFrac >> config.ini;
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
42 echo "indelMaxIntHpolLength = " $advancedsettings.indelMaxIntHpolLength >> config.ini;
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
43 echo "ssnvPrior = " $advancedsettings.ssnvPrior >> config.ini;
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
44 echo "sindelPrior = " $advancedsettings.sindelPrior >> config.ini;
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
45 echo "ssnvNoise = " $advancedsettings.ssnvNoise >> config.ini;
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
46 echo "sindelNoise = " $advancedsettings.sindelNoise >> config.ini;
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
47 echo "ssnvNoiseStrandBiasFrac = " $advancedsettings.ssnvNoiseStrandBiasFrac >> config.ini;
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
48 echo "minTier1Mapq = " $advancedsettings.minTier1Mapq >> config.ini;
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
49 echo "minTier2Mapq = " $advancedsettings.minTier2Mapq >> config.ini;
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
50 echo "ssnvQuality_LowerBound = " $advancedsettings.ssnvQuality_LowerBound >> config.ini;
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
51 echo "sindelQuality_LowerBound = " $advancedsettings.sindelQuality_LowerBound >> config.ini;
0
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
52 echo "isWriteRealignedBam = 0" >> config.ini;
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
53 echo "binSize = 25000000" >> config.ini;
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
54 echo "extraStrelkaArguments = " >> config.ini;
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
55
2
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
56 cat config.ini > $config;
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
57
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
58 #if $reference_source.reference_source_selector == "history":
0
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
59 ln -s $reference_source.ref_file ref.fa;
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
60 samtools faidx ref.fa;
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
61 #end if
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
62
2
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
63 \${STRELKA_INSTALL_DIR}/bin/configureStrelkaWorkflow.pl
0
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
64 --normal \$(pwd)/normal.bam
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
65 --tumor \$(pwd)/tumour.bam
2
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
66
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
67 #if $reference_source.reference_source_selector == "history":
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
68 --ref \$(pwd)/ref.fa
0
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
69 #else:
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
70 --ref ${reference_source.ref_file.fields.path}
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
71 #end if
2
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
72
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
73 --config \$(pwd)/config.ini;
0
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
74
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
75 #if $interval_file
2
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
76
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
77 cp ./strelkaAnalysis/Makefile ./;
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
78
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
79 for int in \$( cat $interval_file ); do
0
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
80
2
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
81 python $__tool_directory__/parse_strelka_makefile.py
0
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
82 --makefile Makefile
2
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
83 --chrom \$int
0
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
84 --output ./strelkaAnalysis/Makefile;
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
85
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
86 #end if
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
87
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
88 cd strelkaAnalysis;
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
89 make -j \${GALAXY_SLOTS:-1};
2
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
90 cd ../;
0
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
91
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
92 #if $interval_file
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
93
2
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
94 cat ./strelkaAnalysis/chromosomes/\$int/somatic.snvs.vcf | grep -v "^#.*" >> $snvs;
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
95 cat ./strelkaAnalysis/chromosomes/\$int/somatic.indels.vcf | grep -v "^#.*" >> $indels;
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
96
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
97 done;
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
98
0
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
99 #else
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
100
3
4e6e20c9738b Uploaded
morinlab
parents: 2
diff changeset
101 cat ./strelkaAnalysis/results/passed.somatic.snvs.vcf > $snvs;
4e6e20c9738b Uploaded
morinlab
parents: 2
diff changeset
102 cat ./strelkaAnalysis/results/padded.somatic.indels.vcf > $indels;
0
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
103
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
104 #end if
2
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
105
0
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
106 </command>
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
107 <inputs>
3
4e6e20c9738b Uploaded
morinlab
parents: 2
diff changeset
108 <conditional name="reference_source">
0
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
109 <param label="Choose the source for the reference genome" name="reference_source_selector" type="select">
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
110 <option value="cached">Use a built-in genome</option>
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
111 <option value="history">Use a genome from the history</option>
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
112 </param>
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
113 <when value="cached">
2
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
114 <param label="Genome" name="ref_file" type="select">
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
115 <options from_data_table="fasta_indexes"/>
0
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
116 </param>
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
117 </when>
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
118 <when value="history">
2
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
119 <param label="Genome" name="ref_file" type="data" format="fasta"/>
0
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
120 </when>
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
121 </conditional>
2
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
122 <param type="data" format="bam" name="normal" label="Normal Alignment File"/>
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
123 <param type="data" format="bam" name="tumour" label="Tumour Alignment File"/>
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
124 <param type="data" format="txt" optional="true" name="interval_file" label="Inteval file" help="Created by make parallel, only use when parallelism is turned on"/>
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
125 <conditional name="depthfilters">
0
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
126 <param type="select" name="seqType" label="What Type of Sequencing?">
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
127 <option value="genome" selected="true">Whole Genome</option>
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
128 <option value="exome">Exome</option>
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
129 <option value="targeted">Targeted</option>
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
130 <option value="other">What are you hiding from me?</option>
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
131 </param>
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
132 <when value="other">
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
133 <param name="isSkipDepthFilters" type="boolean" label="Skip Reads Above Depth Threshold?" help="Should we skip reads if they exist above the chromosome average depth multiplied by the Depth Filter Multiple? Should only be true for Whole Genome Sequencing." checked="true" truevalue="0" falsevalue="1"/>
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
134 <param name="depthFilterMultiple" type="float" label="Depth Filter Multiple" value="3.0"/>
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
135 <param name="maxInputDepth" type="integer" label="Max Input Depth" value="10000" help="The upper bound on input depth to load into memory. This filter should not occur with Deep Targeted Sequencing but should occur with Exome or Whole Genome Sequencing. Set to 0 to turn off" min="0"/>
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
136 </when>
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
137 </conditional>
2
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
138 <section name="advancedsettings" title="Advanced Settings" expanded="false">
0
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
139 <param type="float" name="snvMaxFilteredBasecallFrac" value="0.4" label="SNV Max Filtered Basecall Fraction" help="Filter SNV calls when greater than this fraction of basecalls have been removed by a mismatch density filter in either sample."/>
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
140 <param type="float" name="snvMaxSpanningDeletionFrac" value="0.75" label="SNV Max Spanning Deletion Fraction" help="Filter SNV calls at sites where greater than this fraction of overlapping reads contain deletions which span the SNV call site."/>
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
141 <param type="integer" name="indelMaxRefRepeat" value="8" label="Indel Max Reference Homopolymer Length" help="Filter Indel calls if they represent an expansion or contraction of a repeated pattern with a repeat count greater than this value in the reference."/>
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
142 <param type="float" name="indelMaxWindowFilteredBasecallFrac" value="0.3" label="Indel Max Window Filtered Basecall Fraction" help="Filter Indel calls if greater than this fraction of basecalls in a window extending 50 bases to each side of the indel's call positions have been removed by the mismatch density filter."/>
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
143 <param type="integer" name="indelMaxIntHpolLength" value="14" label="Indel Max Interrupted Homopolymers Length" help="Filter Indel calls if the longest homopolymer which can be found intersecting or adjacent to the called indel when a single non-homopolymer base is allowed is greater than this length."/>
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
144 <param type="float" name="ssnvPrior" value="0.000001" label="SNV Prior Probability"/>
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
145 <param type="float" name="sindelPrior" value="0.000001" label="Indel Prior Probability"/>
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
146 <param type="float" name="ssnvNoise" value="0.0000005" label="SNV Noise Probability"/>
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
147 <param type="float" name="sindelNoise" value="0.000001" label="Indel Noise Probability"/>
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
148 <param type="float" name="ssnvNoiseStrandBiasFrac" value="0.5" label="SNV Noise Fraction Attributed to Strand Bias"/>
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
149 <param type="integer" name="minTier1Mapq" value="20" label="Min Tier1 Mapping Quality"/>
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
150 <param type="integer" name="minTier2Mapq" value="5" label="Min Tier2 Mapping Quality"/>
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
151 <param type="integer" name="ssnvQuality_LowerBound" value="15" label="SNV Quality Score Lower Bound"/>
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
152 <param type="integer" name="sindelQuality_LowerBound" value="30" label="Indel Quality Score Lower Bound"/>
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
153 </section>
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
154 </inputs>
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
155 <outputs>
2
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
156 <data format="vcf" name="snvs"/>
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
157 <data format="vcf" name="indels"/>
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
158 <data format="txt" name="config" />
0
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
159 </outputs>
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
160 <tests>
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
161 <test>
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
162 <param name="normal" value="test.normal.bam"/>
2
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
163 <param name="normal.metadata.bam_index" value="test.normal.bam.bai"/>
3
4e6e20c9738b Uploaded
morinlab
parents: 2
diff changeset
164 <param name="tumour" value="test.tumour.bam"/>
4e6e20c9738b Uploaded
morinlab
parents: 2
diff changeset
165 <param name="tumour.metadata.bam_index" value="test.tumour.bam.bai"/>
2
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
166 <param name="reference_source.reference_source_selector" value="history"/>
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
167 <param name="reference_source.ref_file" value="test.fa"/>
3ce78c04c7e5 planemo upload for repository https://github.com/morinlab/tools-morinlab/tree/master/tools/strelka commit 4ef2d91b7c1686a2696b92fe538d4aec51d05e40-dirty
morinlab
parents: 1
diff changeset
168 <output name="snvs" ftype="vcf" file="all.somatic.snvs.vcf" lines_diff="2"/>
0
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
169 </test>
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
170 </tests>
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
171 <help>
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
172
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
173 This tool generates VCF files by calling Strelka, a Somatic Nucleotide Variant Caller, on Tumour Normal Pairs.
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
174
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
175 </help>
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
176 <citations>
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
177 <expand macro="morinlab_citation"/>
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
178 <expand macro="galaxy_citation"/>
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
179 <expand macro="strelka_citation"/>
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
180 </citations>
88141dfd5db1 Uploaded
morinlab
parents:
diff changeset
181 </tool>