-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathPre_Merge_SV_per_sample.wdl
More file actions
81 lines (71 loc) · 2.09 KB
/
Pre_Merge_SV_per_sample.wdl
File metadata and controls
81 lines (71 loc) · 2.09 KB
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
76
77
78
79
80
81
version 1.0
import "SV_Tasks.wdl" as SV
workflow Pre_Merge_SV_Per_Sample {
input {
# data inputs
File aligned_cram
# reference inputs
File ref_fasta
File ref_fasta_index
File ref_cache
File? call_regions_bed
File? call_regions_bed_index
File exclude_regions
String aligned_cram_suffix
# system inputs
Int preemptible_tries
String basename = sub(sub(aligned_cram, "^.*/", ""), aligned_cram_suffix + "$", "")
}
call SV.Index_Cram {
input:
basename = basename,
input_cram = aligned_cram,
ref_cache = ref_cache,
preemptible_tries = preemptible_tries
}
call SV.Manta {
input:
basename = basename,
input_cram = aligned_cram,
input_cram_index = Index_Cram.output_cram_index,
ref_fasta = ref_fasta,
ref_fasta_index = ref_fasta_index,
call_regions_bed = call_regions_bed,
call_regions_bed_index = call_regions_bed_index,
ref_cache = ref_cache,
preemptible_tries = preemptible_tries
}
call SV.CNVnator_Histogram {
input:
basename = basename,
input_cram = aligned_cram,
input_cram_index = Index_Cram.output_cram_index,
ref_fasta = ref_fasta,
ref_fasta_index = ref_fasta_index,
ref_cache = ref_cache,
preemptible_tries = preemptible_tries
}
call SV.Smoove {
input:
basename = basename,
input_cram = aligned_cram,
input_cram_index = Index_Cram.output_cram_index,
ref_fasta = ref_fasta,
ref_fasta_index = ref_fasta_index,
ref_cache = ref_cache,
exclude_regions = exclude_regions,
preemptible_tries = preemptible_tries
}
output {
File cram_index = Index_Cram.output_cram_index
File manta_vcf = Manta.output_vcf
File manta_tbi = Manta.output_tbi
File manta_original_vcf = Manta.original_vcf
File manta_original_tbi = Manta.original_tbi
File cnvnator_cn_hist_root = CNVnator_Histogram.output_cn_hist_root
File cnvnator_output_cn_txt = CNVnator_Histogram.output_cn_txt
File cnvnator_cn_bed = CNVnator_Histogram.output_cn_bed
File smoove_vcf = Smoove.output_vcf
File smoove_csi = Smoove.output_csi
}
}