-
Notifications
You must be signed in to change notification settings - Fork 20
/
Merge_SV.wdl
75 lines (63 loc) · 1.97 KB
/
Merge_SV.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
version 1.0
import "SV_Tasks.wdl" as SV
workflow Merge_SV {
input {
# data inputs
Array[File] manta_input_vcfs
Array[File] smoove_input_vcfs
String cohort_name
# system inputs
Int preemptible_tries
}
call SV.L_Sort_VCF_Variants as lsort_manta {
input:
input_vcfs = manta_input_vcfs,
output_vcf_basename = cohort_name + ".manta.lsort",
preemptible_tries = preemptible_tries
}
call SV.Filter_Pass as filter_manta {
input:
input_vcf_gz = lsort_manta.output_vcf_gz,
output_vcf_basename = cohort_name + ".manta.filter",
preemptible_tries = preemptible_tries
}
call SV.L_Merge_VCF_Variants as lmerge_manta {
input:
input_vcf_gz = filter_manta.output_vcf_gz,
output_vcf_basename = cohort_name + ".manta.lmerge",
preemptible_tries = preemptible_tries
}
call SV.L_Sort_VCF_Variants as lsort_smoove {
input:
input_vcfs = smoove_input_vcfs,
output_vcf_basename = cohort_name + ".smoove.lsort",
preemptible_tries = preemptible_tries
}
call SV.Filter_Del as filter_smoove {
input:
input_vcf_gz = lsort_smoove.output_vcf_gz,
output_vcf_basename = cohort_name + ".smoove.filter",
preemptible_tries = preemptible_tries
}
call SV.L_Merge_VCF_Variants as lmerge_smoove {
input:
input_vcf_gz = filter_smoove.output_vcf_gz,
output_vcf_basename = cohort_name + ".smoove.lmerge",
preemptible_tries = preemptible_tries
}
call SV.L_Sort_VCF_Variants as lsort_manta_smoove {
input:
input_vcfs = [lmerge_manta.output_vcf_gz, lmerge_smoove.output_vcf_gz],
output_vcf_basename = cohort_name + ".manta_smoove.lsort",
preemptible_tries = preemptible_tries
}
call SV.L_Merge_VCF_Variants_weighted as lmerge_manta_smoove {
input:
input_vcf_gz = lsort_manta_smoove.output_vcf_gz,
output_vcf_basename = cohort_name + ".manta_smoove.lmerge",
preemptible_tries = preemptible_tries
}
output {
File output_vcf = lmerge_manta_smoove.output_vcf_gz
}
}