-
Notifications
You must be signed in to change notification settings - Fork 58
/
varscan.cwl
100 lines (99 loc) · 2.63 KB
/
varscan.cwl
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
#!/usr/bin/env cwl-runner
cwlVersion: v1.0
class: Workflow
label: "varscan somatic workflow"
inputs:
reference:
type:
- string
- File
secondaryFiles: [.fai, ^.dict]
tumor_bam:
type: File
secondaryFiles: [^.bai]
normal_bam:
type: File
secondaryFiles: [^.bai]
roi_bed:
type: File?
strand_filter:
type: int?
min_coverage:
type: int?
min_var_freq:
type: float?
p_value:
type: float?
max_normal_freq:
type: float?
outputs:
snvs:
type: File
outputSource: somatic/snvs
indels:
type: File
outputSource: somatic/indels
somatic_hc_snvs:
type: File
outputSource: process_somatic_snvs/somatic_hc
somatic_snvs:
type: File
outputSource: process_somatic_snvs/somatic
germline_hc_snvs:
type: File
outputSource: process_somatic_snvs/germline_hc
germline_snvs:
type: File
outputSource: process_somatic_snvs/germline
loh_hc_snvs:
type: File
outputSource: process_somatic_snvs/loh_hc
loh_snvs:
type: File
outputSource: process_somatic_snvs/loh
somatic_hc_indels:
type: File
outputSource: process_somatic_indels/somatic_hc
somatic_indels:
type: File
outputSource: process_somatic_indels/somatic
germline_hc_indels:
type: File
outputSource: process_somatic_indels/germline_hc
germline_indels:
type: File
outputSource: process_somatic_indels/germline
loh_hc_indels:
type: File
outputSource: process_somatic_indels/loh_hc
loh_indels:
type: File
outputSource: process_somatic_indels/loh
steps:
somatic:
run: ../tools/varscan_somatic.cwl
in:
reference: reference
normal_bam: normal_bam
tumor_bam: tumor_bam
roi_bed: roi_bed
strand_filter: strand_filter
min_coverage: min_coverage
min_var_freq: min_var_freq
p_value: p_value
out:
[snvs, indels]
process_somatic_snvs:
run: ../tools/varscan_process_somatic.cwl
in:
variants: somatic/snvs
max_normal_freq: max_normal_freq
out:
[somatic_hc, somatic, germline_hc, germline, loh_hc, loh]
process_somatic_indels:
run: ../tools/varscan_process_somatic.cwl
in:
variants: somatic/indels
max_normal_freq: max_normal_freq
out:
[somatic_hc, somatic, germline_hc, germline, loh_hc, loh]