-
Notifications
You must be signed in to change notification settings - Fork 1
/
fastq2bam.cwl.yaml
117 lines (100 loc) · 2.14 KB
/
fastq2bam.cwl.yaml
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
class: Workflow
cwlVersion: v1.0
label: MC3-E2E
requirements:
- class: MultipleInputFeatureRequirement
- class: SubworkflowFeatureRequirement
- class: ScatterFeatureRequirement
- class: StepInputExpressionRequirement
- class: InlineJavascriptRequirement
inputs:
tumor_fastqs:
- type: array
items: File
tumor_sample_name:
type: string
normal_fastqs:
- type: array
items: File
normal_sample_name:
type: string
dbsnp:
type: File
secondaryFiles:
- .tbi
1000g_phase1:
type: File
secondaryFiles:
- .tbi
mills_and_1000g:
type: File
secondaryFiles:
- .tbi
referenceTar:
type: File
doc: "The core reference (fa, fai, dict) as tar.gz"
reference:
type: File
secondaryFiles:
- .fai
- ^.dict
bwa_idx:
type: File
doc: "The BWA indexes in tar.gz"
steps:
align_tumor:
run: dockstore-cgpmap/Dockstore.cwl
in:
bams_in: tumor_fastqs
cram:
default: false
sample: tumor_sample_name
reference: referenceTar
bwa_idx: bwa_idx
out:
- out_bam
align_normal:
run: dockstore-cgpmap/Dockstore.cwl
in:
bams_in: normal_fastqs
cram:
default: false
sample: normal_sample_name
reference: referenceTar
bwa_idx: bwa_idx
out:
- out_bam
gatk_coclean:
run: gatk-cocleaning-tool/gatk-cocleaning-workflow.cwl.yaml
in:
tumor_bam: align_tumor/out_bam
normal_bam: align_normal/out_bam
knownIndels:
- 1000g_phase1
- mills_and_1000g
knownSites:
source: dbsnp
valueFrom: ${ return [ self ]; }
reference: reference
out:
- cleaned_tumor_bam
- cleaned_normal_bam
rename_tumor_index:
run: rename.cwl.yaml
in:
in_file: gatk_coclean/cleaned_tumor_bam
out:
- out_file
rename_normal_index:
run: rename.cwl.yaml
in:
in_file: gatk_coclean/cleaned_normal_bam
out:
- out_file
outputs:
normalBam:
type: File
outputSource: gatk_coclean/cleaned_normal_bam
tumorBam:
type: File
outputSource: gatk_coclean/cleaned_tumor_bam