13
|
1 <tool id="strelka" name="Strelka" version="1.0.0">
|
10
|
2 <!-- Made by Gregoire Seguin-Henry for geviteam in 2014 -->
|
|
3 <description>Strelka</description>
|
6
|
4 <requirements>
|
7
|
5 <requirement type="set_environment">SCRIPT_PATH</requirement>
|
6
|
6 <requirement type="package" version="0.1.18">samtools</requirement>
|
|
7 <requirement type="package" version="0.1.11">vcftools</requirement>
|
|
8 </requirements>
|
|
9 <command interpreter="python">strelka_wrapper.py --tumorBam $tumorBam --normalBam $normalBam --refFile $refFile
|
|
10 #if $configuration.configuration_switch == 'Default':
|
|
11 --configFile Default
|
|
12 #else if $configuration.configuration_switch == 'Path':
|
|
13 --configFile $configuration.configFile
|
|
14 #else:
|
|
15 --configFile Custom
|
|
16 --depthFilterMultiple $configuration.depthFilterMultiple
|
|
17 --snvMaxFilteredBasecallFrac $configuration.snvMaxFilteredBasecallFrac
|
|
18 --snvMaxSpanningDeletionFrac $configuration.snvMaxSpanningDeletionFrac
|
|
19 --indelMaxRefRepeat $configuration.indelMaxRefRepeat
|
|
20 --indelMaxWindowFilteredBasecallFrac $configuration.indelMaxWindowFilteredBasecallFrac
|
|
21 --indelMaxIntHpolLength $configuration.indelMaxIntHpolLength
|
|
22 --ssnvPrior $configuration.ssnvPrior
|
|
23 --sindelPrior $configuration.sindelPrior
|
|
24 --ssnvNoise $configuration.ssnvNoise
|
|
25 --sindelNoise $configuration.sindelNoise
|
|
26 --ssnvNoiseStrandBiasFrac $configuration.ssnvNoiseStrandBiasFrac
|
|
27 --minTier1Mapq $configuration.minTier1Mapq
|
|
28 --minTier2Mapq $configuration.minTier2Mapq
|
|
29 --ssnvQuality_LowerBound $configuration.ssnvQuality_LowerBound
|
|
30 --sindelQuality_LowerBound $configuration.sindelQuality_LowerBound
|
|
31 --isWriteRealignedBam $configuration.isWriteRealignedBam
|
|
32 --binSize $configuration.binSize
|
|
33 --isSkipDepthFilters $configuration.isSkipDepthFilters
|
|
34 --maxInputDepth $configuration.maxInputDepth
|
|
35 #if $configuration.extra_arguments.extra_arguments_switch == 'Yes':
|
|
36 --extraStrelkaArguments $configuration.extra_arguments.extraStrelkaArguments
|
|
37 #end if
|
|
38 #end if
|
7
|
39 --scriptPath \$SCRIPT_PATH
|
6
|
40 </command>
|
|
41
|
|
42 <inputs>
|
|
43 <param format="bam" name="tumorBam" type="data" label="Tumor bam file"/>
|
|
44 <param format="bam" name="normalBam" type="data" label="Normal bam file"/>
|
|
45 <param format="fasta" name="refFile" type="data" label="ref fasta file"/>
|
|
46
|
|
47 <conditional name="configuration">
|
|
48 <param name="configuration_switch" type="select" label="how do you want to configure strelka">
|
|
49 <option value="Default" selected="true">Default</option>
|
|
50 <option value="Path">Use a config file</option>
|
|
51 <option value="Custom">Custom</option>
|
|
52 </param>
|
|
53 <when value="Default">
|
|
54 <!-- do nothing -->
|
|
55 </when>
|
|
56 <when value="Path">
|
|
57 <param format="ini" name="configFile" type="data" label="config file"/>
|
|
58 </when>
|
|
59 <when value="Custom">
|
|
60 <param name="binSize" type="integer" value="25000000" label="binSize" />
|
|
61 <param name="minTier1Mapq" type="integer" value="20" min="0" max="40" help="between 0 and 40" label="minTier1Mapq" />
|
|
62 <param name="minTier2Mapq" type="integer" value="5" min="0" max="5" help="between 0 and 5" label="minTier2Mapq" />
|
10
|
63 <param name="isWriteRealignedBam" type="integer" value="0" min="0" max="1" label="isWriteRealignedBam" help="0 for no alignment else 1"/>
|
6
|
64 <param name="ssnvPrior" type="float" value="0.000001" label="ssnvPrior" />
|
|
65 <param name="sindelPrior" type="float" value="0.000001" label="sindelPrior" />
|
|
66 <param name="ssnvNoise" type="float" value="0.0000005" label="ssnvNoise" />
|
|
67 <param name="sindelNoise" type="float" value="0.000001" label="sindelNoise" />
|
|
68 <param name="ssnvNoiseStrandBiasFrac" type="float" value="0.5" label="ssnvNoiseStrandBiasFrac" />
|
|
69 <param name="ssnvQuality_LowerBound" type="integer" value="15" label="ssnvQuality_LowerBound" />
|
|
70 <param name="sindelQuality_LowerBound" type="integer" value="30" label="sindelQuality_LowerBound" />
|
|
71 <param name="isSkipDepthFilters" type="integer" value="1" label="isSkipDepthFilters" />
|
|
72 <param name="depthFilterMultiple" type="float" value="3.0" label="depthFilterMultiple" />
|
|
73 <param name="snvMaxFilteredBasecallFrac" type="float" value="0.4" label="snvMaxFilteredBasecallFrac" />
|
|
74 <param name="snvMaxSpanningDeletionFrac" type="float" value="0.75" label="snvMaxSpanningDeletionFrac" />
|
|
75 <param name="indelMaxRefRepeat" type="integer" value="8" label="indelMaxRefRepeat" />
|
|
76 <param name="indelMaxWindowFilteredBasecallFrac" type="float" value="0.3" label="indelMaxWindowFilteredBasecallFrac" />
|
|
77 <param name="indelMaxIntHpolLength" type="integer" value="14" label="indelMaxIntHpolLength" />
|
|
78 <param name="maxInputDepth" type="integer" value="10000" label="maxInputDepth" />
|
|
79 <conditional name="extra_arguments">
|
|
80 <param name="extra_arguments_switch" type="select" label="Do you Want to add extraStrelkaArguments?">
|
|
81 <option value="No" selected="true">No</option>
|
|
82 <option value="Yes">Yes</option>
|
|
83 </param>
|
|
84 <when value="No">
|
|
85 <!-- do nothing -->
|
|
86 </when>
|
|
87 <when value="Yes">
|
|
88 <param name="extraStrelkaArguments" type="text" value="" label="extraStrelkaArguments" />
|
|
89 </when>
|
|
90 </conditional>
|
|
91 </when>
|
|
92 </conditional>
|
10
|
93 <param name="conf_file_check" type="boolean" label="output conf file" checked="False"/>
|
|
94 <param name="output1_file_check" type="boolean" label="output passed snvs(filtred)" checked="True"/>
|
|
95 <param name="output2_file_check" type="boolean" label="output passed indels(filtred)" checked="True"/>
|
|
96 <param name="output3_file_check" type="boolean" label="output all snvs" checked="True"/>
|
|
97 <param name="output4_file_check" type="boolean" label="output all indels" checked="True"/>
|
|
98 <param name="output5_file_check" type="boolean" label="normal realigned bam" help="only if isWriteRealignedBam option is 1" checked="False"/>
|
|
99 <param name="output6_file_check" type="boolean" label="tumor realigned bam" help="only if isWriteRealignedBam option is 1" checked="False"/>
|
6
|
100
|
|
101 </inputs>
|
|
102
|
|
103 <outputs>
|
10
|
104 <data format="vcf" name="output1_vcf" label="${tool.name} on ${on_string}(passed.somatic.snvs.vcf)" from_work_dir="StrelkaAnalysis/results/passed.somatic.snvs.vcf">
|
|
105 <filter>output1_file_check == True</filter>
|
|
106 </data>
|
|
107 <data format="vcf" name="output2_vcf" label="${tool.name} on ${on_string}(passed.somatic.indels.vcf)" from_work_dir="StrelkaAnalysis/results/passed.somatic.indels.vcf">
|
|
108 <filter>output2_file_check == True</filter>
|
|
109 </data>
|
|
110 <data format="vcf" name="output3_vcf" label="${tool.name} on ${on_string}(all.somatic.snvs.vcf)" from_work_dir="StrelkaAnalysis/results/all.somatic.snvs.vcf">
|
|
111 <filter>output3_file_check == True</filter>
|
|
112 </data>
|
|
113 <data format="vcf" name="output4_vcf" label="${tool.name} on ${on_string}(all.somatic.indels.vcf)" from_work_dir="StrelkaAnalysis/results/all.somatic.indels.vcf">
|
|
114 <filter>output4_file_check == True</filter>
|
|
115 </data>
|
6
|
116 <data name="conf_file.ini" label="conf_file.ini" from_work_dir="StrelkaAnalysis/tmp/config.ini">
|
10
|
117 <filter>conf_file_check == True</filter>
|
|
118 </data>
|
|
119 <data format="bam" name="output5_bam" label="${tool.name} on ${on_string}(normal.realigned.bam)" from_work_dir="StrelkaAnalysis/realigned/normal.realigned.bam">
|
|
120 <filter>output5_file_check == True</filter>
|
|
121 </data>
|
|
122 <data format="bam" name="output6_bam" label="${tool.name} on ${on_string}(tumor.realigned.bam)" from_work_dir="StrelkaAnalysis/realigned/tumor.realigned.bam">
|
|
123 <filter>output6_file_check == True</filter>
|
6
|
124 </data>
|
|
125 </outputs>
|
|
126
|
|
127 <tests>
|
|
128 <test>
|
|
129 <param name="normalBam" ftype="bam" value="NA12891_dupmark_chr20_region.bam"/>
|
|
130 <param name="tumorBam" ftype="bam" value="NA12892_dupmark_chr20_region.bam"/>
|
|
131 <param name="refFile" ftype="fasta" value="chr20_860k_only.fa"/>
|
|
132 <param name="configuration_switch" value="Default"/>
|
|
133 <output name="output1_vcf" file="passed.somatic.snvs.vcf"/>
|
|
134 <output name="output2_vcf" file="passed.somatic.indels.vcf"/>
|
|
135 <output name="output3_vcf" file="all.somatic.snvs.vcf"/>
|
|
136 <output name="output4_vcf" file="all.somatic.indels.vcf"/>
|
|
137 </test>
|
|
138 </tests>
|
|
139
|
|
140 <help>
|
13
|
141 Strelka, a method for somatic SNV and small indel detection from sequencing data of matched tumor-normal samples.
|
|
142 You can see more information at : https://sites.google.com/site/strelkasomaticvariantcaller
|
6
|
143 </help>
|
|
144
|
|
145 </tool>
|