/
varscan.cwl
80 lines (79 loc) · 2.08 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
#!/usr/bin/env cwl-runner
cwlVersion: v1.0
class: Workflow
label: "varscan somatic workflow"
inputs:
reference:
type: File
secondaryFiles: [.fai]
tumor_bam:
type: File
normal_bam:
type: File
roi_bed:
type: File?
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: varscan_somatic.cwl
in:
reference: reference
normal_bam: normal_bam
tumor_bam: tumor_bam
roi_bed: roi_bed
out:
[snvs, indels]
process_somatic_snvs:
run: varscan_processsomatic.cwl
in:
variants: somatic/snvs
out:
[somatic_hc, somatic, germline_hc, germline, loh_hc, loh]
process_somatic_indels:
run: varscan_processsomatic.cwl
in:
variants: somatic/indels
out:
[somatic_hc, somatic, germline_hc, germline, loh_hc, loh]