6
6
requirements :
7
7
- class: ScatterFeatureRequirement
8
8
- class: InlineJavascriptRequirement
9
+ - class: StepInputExpressionRequirement
9
10
10
11
inputs :
11
12
genotyped_vcfs: {type : 'File[]' , secondaryFiles : [{pattern: '. tbi' , required: true}], doc : "Input VCF that has been jointly genotyped" }
@@ -61,20 +62,26 @@ outputs:
61
62
62
63
steps :
63
64
gatk_filter_excesshet:
64
- run : ../tools/tools/gatk_variantfiltration2 .cwl
65
+ run : ../tools/gatk_variantfiltration .cwl
65
66
scatter : [input_vcf]
67
+ hints :
68
+ - class: 'sbg:AWSInstanceType'
69
+ value: m5.4xlarge
66
70
in :
67
71
input_vcf: genotyped_vcfs
68
- output_filename :
69
- valueFrom : 'variant_filtered . vcf . gz '
72
+ output_basename :
73
+ valueFrom : 'excesshet_filtered '
70
74
variant_filters:
71
75
valueFrom : '--filter-expression "ExcessHet > 54. 69" --filter-name ExcessHet'
72
- out : [filtered_vcf ]
76
+ out : [output ]
73
77
gatk_makesitesonlyvcf:
74
78
run : ../tools/gatk_makesitesonlyvcf.cwl
75
79
scatter : [input_vcf]
80
+ hints :
81
+ - class: 'sbg:AWSInstanceType'
82
+ value: m5.4xlarge
76
83
in :
77
- input_vcf: gatk_filter_excesshet/filtered_vcf
84
+ input_vcf: gatk_filter_excesshet/output
78
85
output_filename:
79
86
valueFrom : 'sites_only. variant_filtered. vcf. gz'
80
87
out : [sites_vcf]
92
99
one_thousand_genomes_resource_vcf: one_thousand_genomes_resource_vcf
93
100
sites_only_variant_filtered_vcf: gatk_gathervcfs/output
94
101
max_gaussians: snp_max_gaussians
95
- tranches : snp_tranches
102
+ tranche : snp_tranches
96
103
annotations: snp_annotations
97
104
cpu: snp_model_cpu
98
105
ram: snp_model_ram
@@ -105,7 +112,7 @@ steps:
105
112
mills_resource_vcf: mills_resource_vcf
106
113
sites_only_variant_filtered_vcf: gatk_gathervcfs/output
107
114
max_gaussians: indel_max_gaussians
108
- tranches : indel_tranches
115
+ tranche : indel_tranches
109
116
annotations: indel_annotations
110
117
cpu: indel_recal_cpu
111
118
ram: indel_recal_ram
@@ -115,22 +122,25 @@ steps:
115
122
scatter : [sites_only_variant_filtered_vcf]
116
123
hints :
117
124
- class: 'sbg:AWSInstanceType'
118
- value: r5.4xlarge
125
+ value: r5.2xlarge
119
126
in :
120
- sites_only_variant_filtered_vcf: gatk_filter_execesshet/filtered_vcf
127
+ sites_only_variant_filtered_vcf: gatk_filter_excesshet/output
121
128
model_report: gatk_snpsvariantrecalibratorcreatemodel/model_report
122
129
hapmap_resource_vcf: hapmap_resource_vcf
123
130
omni_resource_vcf: omni_resource_vcf
124
131
one_thousand_genomes_resource_vcf: one_thousand_genomes_resource_vcf
125
132
dbsnp_resource_vcf: dbsnp_vcf
126
133
max_gaussians: snp_max_gaussians
127
- tranches : snp_tranches
134
+ tranche : snp_tranches
128
135
annotations: snp_annotations
129
136
cpu: snp_recal_cpu
130
137
ram: snp_recal_ram
131
138
out : [recalibration, tranches]
132
139
gatk_gathertranches:
133
140
run : ../tools/gatk_gathertranches.cwl
141
+ hints :
142
+ - class: 'sbg:AWSInstanceType'
143
+ value: r5.2xlarge
134
144
in :
135
145
tranches: gatk_snpsvariantrecalibratorscattered/tranches
136
146
cpu: gathertranche_cpu
@@ -142,11 +152,11 @@ steps:
142
152
scatterMethod : dotproduct
143
153
hints :
144
154
- class: 'sbg:AWSInstanceType'
145
- value: r5.4xlarge
155
+ value: r5.2xlarge
146
156
in :
147
157
indels_recalibration: gatk_indelsvariantrecalibrator/recalibration
148
158
indels_tranches: gatk_indelsvariantrecalibrator/tranches
149
- input_vcf: variants_vcfs
159
+ input_vcf: gatk_filter_excesshet/output
150
160
snps_recalibration: gatk_snpsvariantrecalibratorscattered/recalibration
151
161
snps_tranches: gatk_gathertranches/output
152
162
snp_ts_filter_level: snp_ts_filter_level
0 commit comments