-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmaf2vcf.wdl
38 lines (34 loc) · 1.09 KB
/
maf2vcf.wdl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
task maf2vcf {
File inputMAF
File refFasta
File refFastaFai
String? tumDepthCol
String? tumRadCol
String? tumVadCol
String? nrmDepthCol
String? nrmRadCol
String? nrmVadCol
Boolean perTumNrmVcfs = false
String outputFilePrefix
command {
perl /home/maf2vcf.pl --input-maf ${inputMAF} \
--ref-fasta ${refFasta} \
${"--tum-depth-col " + tumDepthCol} \
${"--tum-rad-col " + tumRadCol} \
${"--tum-vad-col " + tumVadCol} \
${"--nrm-depth-col " + nrmDepthCol} \
${"--nrm-rad-col " + nrmRadCol} \
${"--nrm-vad-col " + nrmVadCol} \
${true="--per-tn-vcfs" false="" perTumNrmVcfs} \
--output-vcf ${outputFilePrefix}.vcf
}
output {
File vcf = "${outputFilePrefix}.vcf"
}
runtime {
docker: "vcf2maf"
}
}
workflow run {
call maf2vcf
}