generated from opensafely/research-template
/
project.yaml
597 lines (542 loc) · 27.5 KB
/
project.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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
version: "3.0"
expectations:
population_size: 50000
actions:
# Extract data required for matching for covid (all STPs)
extract_covid_matching:
run: cohortextractor:latest generate_cohort --study-definition study_definition_covid_matching
outputs:
highly_sensitive:
cohort: output/input_covid_matching.csv
#Data management for covid_matching for matching with 2017 general population
clean_covid_matching_2017:
run: stata-mp:latest analysis/covid_matching_2017.do
needs: [extract_covid_matching]
outputs:
highly_sensitive:
analysis_dataset: output/covid_matching_2017.csv
moderately_sensitive:
log: logs/covid_matching_2017.log
#Extract data required for matching for 2017 (all STPs)
extract_2017_matching:
run: cohortextractor:latest generate_cohort --study-definition study_definition_2017_matching
outputs:
highly_sensitive:
cohort: output/input_2017_matching.csv
#Data management for 2017_matching
clean_2017_matching:
run: stata-mp:latest analysis/2017_matching.do
needs: [extract_2017_matching]
outputs:
highly_sensitive:
analysis_dataset: output/2017_matching.csv
moderately_sensitive:
log: logs/2017_matching.log
# Split covid_matching_2017 and 2017_matching by STP
split_stps_2017:
run: stata-mp:latest analysis/split_stps_2017.do
needs: [extract_covid_matching, clean_covid_matching_2017, extract_2017_matching, clean_2017_matching]
outputs:
highly_sensitive:
covid_stp5: output/input_covid_matching_2017_stp5.csv
covid_stp6: output/input_covid_matching_2017_stp6.csv
covid_stp7: output/input_covid_matching_2017_stp7.csv
covid_stp8: output/input_covid_matching_2017_stp8.csv
covid_stp9: output/input_covid_matching_2017_stp9.csv
covid_stp10: output/input_covid_matching_2017_stp10.csv
covid_stp12: output/input_covid_matching_2017_stp12.csv
covid_stp13: output/input_covid_matching_2017_stp13.csv
covid_stp14: output/input_covid_matching_2017_stp14.csv
covid_stp15: output/input_covid_matching_2017_stp15.csv
covid_stp16: output/input_covid_matching_2017_stp16.csv
covid_stp17: output/input_covid_matching_2017_stp17.csv
covid_stp20: output/input_covid_matching_2017_stp20.csv
covid_stp21: output/input_covid_matching_2017_stp21.csv
covid_stp22: output/input_covid_matching_2017_stp22.csv
covid_stp23: output/input_covid_matching_2017_stp23.csv
covid_stp24: output/input_covid_matching_2017_stp24.csv
covid_stp25: output/input_covid_matching_2017_stp25.csv
covid_stp26: output/input_covid_matching_2017_stp26.csv
covid_stp27: output/input_covid_matching_2017_stp27.csv
covid_stp29: output/input_covid_matching_2017_stp29.csv
covid_stp33: output/input_covid_matching_2017_stp33.csv
covid_stp35: output/input_covid_matching_2017_stp35.csv
covid_stp36: output/input_covid_matching_2017_stp36.csv
covid_stp37: output/input_covid_matching_2017_stp37.csv
covid_stp40: output/input_covid_matching_2017_stp40.csv
covid_stp41: output/input_covid_matching_2017_stp41.csv
covid_stp42: output/input_covid_matching_2017_stp42.csv
covid_stp43: output/input_covid_matching_2017_stp43.csv
covid_stp44: output/input_covid_matching_2017_stp44.csv
covid_stp49: output/input_covid_matching_2017_stp49.csv
2017_stp5: output/input_2017_matching_stp5.csv
2017_stp6: output/input_2017_matching_stp6.csv
2017_stp7: output/input_2017_matching_stp7.csv
2017_stp8: output/input_2017_matching_stp8.csv
2017_stp9: output/input_2017_matching_stp9.csv
2017_stp10: output/input_2017_matching_stp10.csv
2017_stp12: output/input_2017_matching_stp12.csv
2017_stp13: output/input_2017_matching_stp13.csv
2017_stp14: output/input_2017_matching_stp14.csv
2017_stp15: output/input_2017_matching_stp15.csv
2017_stp16: output/input_2017_matching_stp16.csv
2017_stp17: output/input_2017_matching_stp17.csv
2017_stp20: output/input_2017_matching_stp20.csv
2017_stp21: output/input_2017_matching_stp21.csv
2017_stp22: output/input_2017_matching_stp22.csv
2017_stp23: output/input_2017_matching_stp23.csv
2017_stp24: output/input_2017_matching_stp24.csv
2017_stp25: output/input_2017_matching_stp25.csv
2017_stp26: output/input_2017_matching_stp26.csv
2017_stp27: output/input_2017_matching_stp27.csv
2017_stp29: output/input_2017_matching_stp29.csv
2017_stp33: output/input_2017_matching_stp33.csv
2017_stp35: output/input_2017_matching_stp35.csv
2017_stp36: output/input_2017_matching_stp36.csv
2017_stp37: output/input_2017_matching_stp37.csv
2017_stp40: output/input_2017_matching_stp40.csv
2017_stp41: output/input_2017_matching_stp41.csv
2017_stp42: output/input_2017_matching_stp42.csv
2017_stp43: output/input_2017_matching_stp43.csv
2017_stp44: output/input_2017_matching_stp44.csv
2017_stp49: output/input_2017_matching_stp49.csv
moderately_sensitive:
log: logs/split_stps_2017.log
match_2017_stp5:
run: python:latest python analysis/match_2017_stp5.py
needs: [extract_covid_matching, clean_covid_matching_2017, extract_2017_matching, clean_2017_matching, split_stps_2017]
outputs:
moderately_sensitive:
matching_report_stp5: output/matching_report_2017_stp5.txt
highly_sensitive:
matched_matches_stp5: output/matched_matches_2017_stp5.csv
matched_cases_stp5: output/matched_cases_2017_stp5.csv
matched_all_stp5: output/matched_combined_2017_stp5.csv
match_2017_stp6:
run: python:latest python analysis/match_2017_stp6.py
needs: [extract_covid_matching, clean_covid_matching_2017, extract_2017_matching, clean_2017_matching, split_stps_2017]
outputs:
moderately_sensitive:
matching_report_stp6: output/matching_report_2017_stp6.txt
highly_sensitive:
matched_matches_stp6: output/matched_matches_2017_stp6.csv
matched_cases_stp6: output/matched_cases_2017_stp6.csv
matched_all_stp6: output/matched_combined_2017_stp6.csv
match_2017_stp7:
run: python:latest python analysis/match_2017_stp7.py
needs: [extract_covid_matching, clean_covid_matching_2017, extract_2017_matching, clean_2017_matching, split_stps_2017]
outputs:
moderately_sensitive:
matching_report_stp7: output/matching_report_2017_stp7.txt
highly_sensitive:
matched_matches_stp7: output/matched_matches_2017_stp7.csv
matched_cases_stp7: output/matched_cases_2017_stp7.csv
matched_all_stp7: output/matched_combined_2017_stp7.csv
match_2017_stp8:
run: python:latest python analysis/match_2017_stp8.py
needs: [extract_covid_matching, clean_covid_matching_2017, extract_2017_matching, clean_2017_matching, split_stps_2017]
outputs:
moderately_sensitive:
matching_report_stp8: output/matching_report_2017_stp8.txt
highly_sensitive:
matched_matches_stp8: output/matched_matches_2017_stp8.csv
matched_cases_stp8: output/matched_cases_2017_stp8.csv
matched_all_stp8: output/matched_combined_2017_stp8.csv
match_2017_stp9:
run: python:latest python analysis/match_2017_stp9.py
needs: [extract_covid_matching, clean_covid_matching_2017, extract_2017_matching, clean_2017_matching, split_stps_2017]
outputs:
moderately_sensitive:
matching_report_stp9: output/matching_report_2017_stp9.txt
highly_sensitive:
matched_matches_stp9: output/matched_matches_2017_stp9.csv
matched_cases_stp9: output/matched_cases_2017_stp9.csv
matched_all_stp9: output/matched_combined_2017_stp9.csv
match_2017_stp10:
run: python:latest python analysis/match_2017_stp10.py
needs: [extract_covid_matching, clean_covid_matching_2017, extract_2017_matching, clean_2017_matching, split_stps_2017]
outputs:
moderately_sensitive:
matching_report_stp10: output/matching_report_2017_stp10.txt
highly_sensitive:
matched_matches_stp10: output/matched_matches_2017_stp10.csv
matched_cases_stp10: output/matched_cases_2017_stp10.csv
matched_all_stp10: output/matched_combined_2017_stp10.csv
match_2017_stp12:
run: python:latest python analysis/match_2017_stp12.py
needs: [extract_covid_matching, clean_covid_matching_2017, extract_2017_matching, clean_2017_matching, split_stps_2017]
outputs:
moderately_sensitive:
matching_report_stp12: output/matching_report_2017_stp12.txt
highly_sensitive:
matched_matches_stp12: output/matched_matches_2017_stp12.csv
matched_cases_stp12: output/matched_cases_2017_stp12.csv
matched_all_stp12: output/matched_combined_2017_stp12.csv
match_2017_stp13:
run: python:latest python analysis/match_2017_stp13.py
needs: [extract_covid_matching, clean_covid_matching_2017, extract_2017_matching, clean_2017_matching, split_stps_2017]
outputs:
moderately_sensitive:
matching_report_stp13: output/matching_report_2017_stp13.txt
highly_sensitive:
matched_matches_stp13: output/matched_matches_2017_stp13.csv
matched_cases_stp13: output/matched_cases_2017_stp13.csv
matched_all_stp13: output/matched_combined_2017_stp13.csv
match_2017_stp14:
run: python:latest python analysis/match_2017_stp14.py
needs: [extract_covid_matching, clean_covid_matching_2017, extract_2017_matching, clean_2017_matching, split_stps_2017]
outputs:
moderately_sensitive:
matching_report_stp14: output/matching_report_2017_stp14.txt
highly_sensitive:
matched_matches_stp14: output/matched_matches_2017_stp14.csv
matched_cases_stp14: output/matched_cases_2017_stp14.csv
matched_all_stp14: output/matched_combined_2017_stp14.csv
match_2017_stp15:
run: python:latest python analysis/match_2017_stp15.py
needs: [extract_covid_matching, clean_covid_matching_2017, extract_2017_matching, clean_2017_matching, split_stps_2017]
outputs:
moderately_sensitive:
matching_report_stp15: output/matching_report_2017_stp15.txt
highly_sensitive:
matched_matches_stp15: output/matched_matches_2017_stp15.csv
matched_cases_stp15: output/matched_cases_2017_stp15.csv
matched_all_stp15: output/matched_combined_2017_stp15.csv
match_2017_stp16:
run: python:latest python analysis/match_2017_stp16.py
needs: [extract_covid_matching, clean_covid_matching_2017, extract_2017_matching, clean_2017_matching, split_stps_2017]
outputs:
moderately_sensitive:
matching_report_stp16: output/matching_report_2017_stp16.txt
highly_sensitive:
matched_matches_stp16: output/matched_matches_2017_stp16.csv
matched_cases_stp16: output/matched_cases_2017_stp16.csv
matched_all_stp16: output/matched_combined_2017_stp16.csv
match_2017_stp17:
run: python:latest python analysis/match_2017_stp17.py
needs: [extract_covid_matching, clean_covid_matching_2017, extract_2017_matching, clean_2017_matching, split_stps_2017]
outputs:
moderately_sensitive:
matching_report_stp17: output/matching_report_2017_stp17.txt
highly_sensitive:
matched_matches_stp17: output/matched_matches_2017_stp17.csv
matched_cases_stp17: output/matched_cases_2017_stp17.csv
matched_all_stp17: output/matched_combined_2017_stp17.csv
match_2017_stp20:
run: python:latest python analysis/match_2017_stp20.py
needs: [extract_covid_matching, clean_covid_matching_2017, extract_2017_matching, clean_2017_matching, split_stps_2017]
outputs:
moderately_sensitive:
matching_report_stp20: output/matching_report_2017_stp20.txt
highly_sensitive:
matched_matches_stp20: output/matched_matches_2017_stp20.csv
matched_cases_stp20: output/matched_cases_2017_stp20.csv
matched_all_stp20: output/matched_combined_2017_stp20.csv
match_2017_stp21:
run: python:latest python analysis/match_2017_stp21.py
needs: [extract_covid_matching, clean_covid_matching_2017, extract_2017_matching, clean_2017_matching, split_stps_2017]
outputs:
moderately_sensitive:
matching_report_stp21: output/matching_report_2017_stp21.txt
highly_sensitive:
matched_matches_stp21: output/matched_matches_2017_stp21.csv
matched_cases_stp21: output/matched_cases_2017_stp21.csv
matched_all_stp21: output/matched_combined_2017_stp21.csv
match_2017_stp22:
run: python:latest python analysis/match_2017_stp22.py
needs: [extract_covid_matching, clean_covid_matching_2017, extract_2017_matching, clean_2017_matching, split_stps_2017]
outputs:
moderately_sensitive:
matching_report_stp22: output/matching_report_2017_stp22.txt
highly_sensitive:
matched_matches_stp22: output/matched_matches_2017_stp22.csv
matched_cases_stp22: output/matched_cases_2017_stp22.csv
matched_all_stp22: output/matched_combined_2017_stp22.csv
match_2017_stp23:
run: python:latest python analysis/match_2017_stp23.py
needs: [extract_covid_matching, clean_covid_matching_2017, extract_2017_matching, clean_2017_matching, split_stps_2017]
outputs:
moderately_sensitive:
matching_report_stp23: output/matching_report_2017_stp23.txt
highly_sensitive:
matched_matches_stp23: output/matched_matches_2017_stp23.csv
matched_cases_stp23: output/matched_cases_2017_stp23.csv
matched_all_stp23: output/matched_combined_2017_stp23.csv
match_2017_stp24:
run: python:latest python analysis/match_2017_stp24.py
needs: [extract_covid_matching, clean_covid_matching_2017, extract_2017_matching, clean_2017_matching, split_stps_2017]
outputs:
moderately_sensitive:
matching_report_stp24: output/matching_report_2017_stp24.txt
highly_sensitive:
matched_matches_stp24: output/matched_matches_2017_stp24.csv
matched_cases_stp24: output/matched_cases_2017_stp24.csv
matched_all_stp24: output/matched_combined_2017_stp24.csv
match_2017_stp25:
run: python:latest python analysis/match_2017_stp25.py
needs: [extract_covid_matching, clean_covid_matching_2017, extract_2017_matching, clean_2017_matching, split_stps_2017]
outputs:
moderately_sensitive:
matching_report_stp25: output/matching_report_2017_stp25.txt
highly_sensitive:
matched_matches_stp25: output/matched_matches_2017_stp25.csv
matched_cases_stp25: output/matched_cases_2017_stp25.csv
matched_all_stp25: output/matched_combined_2017_stp25.csv
match_2017_stp26:
run: python:latest python analysis/match_2017_stp26.py
needs: [extract_covid_matching, clean_covid_matching_2017, extract_2017_matching, clean_2017_matching, split_stps_2017]
outputs:
moderately_sensitive:
matching_report_stp26: output/matching_report_2017_stp26.txt
highly_sensitive:
matched_matches_stp26: output/matched_matches_2017_stp26.csv
matched_cases_stp26: output/matched_cases_2017_stp26.csv
matched_all_stp26: output/matched_combined_2017_stp26.csv
match_2017_stp27:
run: python:latest python analysis/match_2017_stp27.py
needs: [extract_covid_matching, clean_covid_matching_2017, extract_2017_matching, clean_2017_matching, split_stps_2017]
outputs:
moderately_sensitive:
matching_report_stp27: output/matching_report_2017_stp27.txt
highly_sensitive:
matched_matches_stp27: output/matched_matches_2017_stp27.csv
matched_cases_stp27: output/matched_cases_2017_stp27.csv
matched_all_stp27: output/matched_combined_2017_stp27.csv
match_2017_stp29:
run: python:latest python analysis/match_2017_stp29.py
needs: [extract_covid_matching, clean_covid_matching_2017, extract_2017_matching, clean_2017_matching, split_stps_2017]
outputs:
moderately_sensitive:
matching_report_stp29: output/matching_report_2017_stp29.txt
highly_sensitive:
matched_matches_stp29: output/matched_matches_2017_stp29.csv
matched_cases_stp29: output/matched_cases_2017_stp29.csv
matched_all_stp29: output/matched_combined_2017_stp29.csv
match_2017_stp33:
run: python:latest python analysis/match_2017_stp33.py
needs: [extract_covid_matching, clean_covid_matching_2017, extract_2017_matching, clean_2017_matching, split_stps_2017]
outputs:
moderately_sensitive:
matching_report_stp33: output/matching_report_2017_stp33.txt
highly_sensitive:
matched_matches_stp33: output/matched_matches_2017_stp33.csv
matched_cases_stp33: output/matched_cases_2017_stp33.csv
matched_all_stp33: output/matched_combined_2017_stp33.csv
match_2017_stp35:
run: python:latest python analysis/match_2017_stp35.py
needs: [extract_covid_matching, clean_covid_matching_2017, extract_2017_matching, clean_2017_matching, split_stps_2017]
outputs:
moderately_sensitive:
matching_report_stp35: output/matching_report_2017_stp35.txt
highly_sensitive:
matched_matches_stp35: output/matched_matches_2017_stp35.csv
matched_cases_stp35: output/matched_cases_2017_stp35.csv
matched_all_stp35: output/matched_combined_2017_stp35.csv
match_2017_stp36:
run: python:latest python analysis/match_2017_stp36.py
needs: [extract_covid_matching, clean_covid_matching_2017, extract_2017_matching, clean_2017_matching, split_stps_2017]
outputs:
moderately_sensitive:
matching_report_stp36: output/matching_report_2017_stp36.txt
highly_sensitive:
matched_matches_stp36: output/matched_matches_2017_stp36.csv
matched_cases_stp36: output/matched_cases_2017_stp36.csv
matched_all_stp36: output/matched_combined_2017_stp36.csv
match_2017_stp37:
run: python:latest python analysis/match_2017_stp37.py
needs: [extract_covid_matching, clean_covid_matching_2017, extract_2017_matching, clean_2017_matching, split_stps_2017]
outputs:
moderately_sensitive:
matching_report_stp37: output/matching_report_2017_stp37.txt
highly_sensitive:
matched_matches_stp37: output/matched_matches_2017_stp37.csv
matched_cases_stp37: output/matched_cases_2017_stp37.csv
matched_all_stp37: output/matched_combined_2017_stp37.csv
match_2017_stp40:
run: python:latest python analysis/match_2017_stp40.py
needs: [extract_covid_matching, clean_covid_matching_2017, extract_2017_matching, clean_2017_matching, split_stps_2017]
outputs:
moderately_sensitive:
matching_report_stp40: output/matching_report_2017_stp40.txt
highly_sensitive:
matched_matches_stp40: output/matched_matches_2017_stp40.csv
matched_cases_stp40: output/matched_cases_2017_stp40.csv
matched_all_stp40: output/matched_combined_2017_stp40.csv
match_2017_stp41:
run: python:latest python analysis/match_2017_stp41.py
needs: [extract_covid_matching, clean_covid_matching_2017, extract_2017_matching, clean_2017_matching, split_stps_2017]
outputs:
moderately_sensitive:
matching_report_stp41: output/matching_report_2017_stp41.txt
highly_sensitive:
matched_matches_stp41: output/matched_matches_2017_stp41.csv
matched_cases_stp41: output/matched_cases_2017_stp41.csv
matched_all_stp41: output/matched_combined_2017_stp41.csv
match_2017_stp42:
run: python:latest python analysis/match_2017_stp42.py
needs: [extract_covid_matching, clean_covid_matching_2017, extract_2017_matching, clean_2017_matching, split_stps_2017]
outputs:
moderately_sensitive:
matching_report_stp42: output/matching_report_2017_stp42.txt
highly_sensitive:
matched_matches_stp42: output/matched_matches_2017_stp42.csv
matched_cases_stp42: output/matched_cases_2017_stp42.csv
matched_all_stp42: output/matched_combined_2017_stp42.csv
match_2017_stp43:
run: python:latest python analysis/match_2017_stp43.py
needs: [extract_covid_matching, clean_covid_matching_2017, extract_2017_matching, clean_2017_matching, split_stps_2017]
outputs:
moderately_sensitive:
matching_report_stp43: output/matching_report_2017_stp43.txt
highly_sensitive:
matched_matches_stp43: output/matched_matches_2017_stp43.csv
matched_cases_stp43: output/matched_cases_2017_stp43.csv
matched_all_stp43: output/matched_combined_2017_stp43.csv
match_2017_stp44:
run: python:latest python analysis/match_2017_stp44.py
needs: [extract_covid_matching, clean_covid_matching_2017, extract_2017_matching, clean_2017_matching, split_stps_2017]
outputs:
moderately_sensitive:
matching_report_stp44: output/matching_report_2017_stp44.txt
highly_sensitive:
matched_matches_stp44: output/matched_matches_2017_stp44.csv
matched_cases_stp44: output/matched_cases_2017_stp44.csv
matched_all_stp44: output/matched_combined_2017_stp44.csv
match_2017_stp49:
run: python:latest python analysis/match_2017_stp49.py
needs: [extract_covid_matching, clean_covid_matching_2017, extract_2017_matching, clean_2017_matching, split_stps_2017]
outputs:
moderately_sensitive:
matching_report_stp49: output/matching_report_2017_stp49.txt
highly_sensitive:
matched_matches_stp49: output/matched_matches_2017_stp49.csv
matched_cases_stp49: output/matched_cases_2017_stp49.csv
matched_all_stp49: output/matched_combined_2017_stp49.csv
combine_stps_covid_2017:
run: stata-mp:latest analysis/combine_stps_covid_2017.do
needs: [match_2017_stp5, match_2017_stp6, match_2017_stp7, match_2017_stp8, match_2017_stp9,
match_2017_stp10, match_2017_stp12, match_2017_stp13, match_2017_stp14, match_2017_stp15,
match_2017_stp16, match_2017_stp17, match_2017_stp20, match_2017_stp21, match_2017_stp22,
match_2017_stp23, match_2017_stp24, match_2017_stp25, match_2017_stp26, match_2017_stp27,
match_2017_stp29, match_2017_stp33, match_2017_stp35, match_2017_stp36, match_2017_stp37,
match_2017_stp40, match_2017_stp41, match_2017_stp42, match_2017_stp43, match_2017_stp44,
match_2017_stp49]
outputs:
highly_sensitive:
matched_cases_combined: output/input_combined_stps_covid_2017.csv
moderately_sensitive:
log: logs/combine_stps_covid_2017.log
combine_stps_matches_2017:
run: stata-mp:latest analysis/combine_stps_matches_2017.do
needs: [match_2017_stp5, match_2017_stp6, match_2017_stp7, match_2017_stp8, match_2017_stp9,
match_2017_stp10, match_2017_stp12, match_2017_stp13, match_2017_stp14, match_2017_stp15,
match_2017_stp16, match_2017_stp17, match_2017_stp20, match_2017_stp21, match_2017_stp22,
match_2017_stp23, match_2017_stp24, match_2017_stp25, match_2017_stp26, match_2017_stp27,
match_2017_stp29, match_2017_stp33, match_2017_stp35, match_2017_stp36, match_2017_stp37,
match_2017_stp40, match_2017_stp41, match_2017_stp42, match_2017_stp43, match_2017_stp44,
match_2017_stp49]
outputs:
highly_sensitive:
matched_matches_combined: output/input_combined_stps_matches_2017.csv
moderately_sensitive:
log: logs/combine_stps_matches_2017.log
extract_covid_2017_additional:
run: cohortextractor:latest generate_cohort --study-definition study_definition_covid_2017_additional
needs: [combine_stps_covid_2017]
outputs:
highly_sensitive:
cohort: output/input_covid_2017_additional.csv
extract_2017_additional:
run: cohortextractor:latest generate_cohort --study-definition study_definition_2017_additional
needs: [combine_stps_matches_2017]
outputs:
highly_sensitive:
cohort: output/input_2017_additional.csv
codebook_2017_additional:
run: stata-mp:latest analysis/codebook_2017_additional.do
needs: [extract_covid_2017_additional, extract_2017_additional]
outputs:
moderately_sensitive:
log: logs/codebook_2017_additional.log
analysis_2017:
run: stata-mp:latest analysis/analysis_2017.do
needs: [extract_covid_matching, clean_covid_matching_2017, extract_2017_matching, clean_2017_matching, split_stps_2017, match_2017_stp5, match_2017_stp6, match_2017_stp7, match_2017_stp8, match_2017_stp9, match_2017_stp10, match_2017_stp12, match_2017_stp13, match_2017_stp14, match_2017_stp15, match_2017_stp16, match_2017_stp17, match_2017_stp20, match_2017_stp21, match_2017_stp22, match_2017_stp23, match_2017_stp24, match_2017_stp25, match_2017_stp26, match_2017_stp27, match_2017_stp29, match_2017_stp33, match_2017_stp35, match_2017_stp36, match_2017_stp37, match_2017_stp40, match_2017_stp41, match_2017_stp42, match_2017_stp43, match_2017_stp44, match_2017_stp49, combine_stps_covid_2017, combine_stps_matches_2017, extract_covid_2017_additional, extract_2017_additional]
outputs:
highly_sensitive:
analysis: output/analysis_2017.dta
moderately_sensitive:
log: logs/analysis_2017.log
extract_covid_hospitalised:
run: cohortextractor:latest generate_cohort --study-definition study_definition_covid_hospitalised
outputs:
highly_sensitive:
cohort: output/input_covid_hospitalised.csv
extract_pneumonia_hospitalised:
run: cohortextractor:latest generate_cohort --study-definition study_definition_pneumonia_hospitalised
outputs:
highly_sensitive:
cohort: output/input_pneumonia_hospitalised.csv
analysis_hospitalised:
run: stata-mp:latest analysis/analysis_hospitalised.do
needs: [extract_covid_hospitalised, extract_pneumonia_hospitalised]
outputs:
highly_sensitive:
analysis: output/analysis_hospitalised.dta
moderately_sensitive:
log: logs/analysis_hospitalised.log
cox_2017_case:
run: stata-mp:latest analysis/cox_2017_case.do
needs: [analysis_2017]
outputs:
moderately_sensitive:
log: logs/cox_2017_case.log
output: output/cox_2017_case.txt
cox_2017_covid_severity:
run: stata-mp:latest analysis/cox_2017_covid_severity.do
needs: [analysis_2017]
outputs:
moderately_sensitive:
log: logs/cox_2017_covid_severity.log
output: output/cox_2017_covid_severity.txt
cox_2017_covid_aki:
run: stata-mp:latest analysis/cox_2017_covid_aki.do
needs: [analysis_2017]
outputs:
moderately_sensitive:
log: logs/cox_2017_covid_aki.log
output: output/cox_2017_covid_aki.txt
cox_2017_covid_vax:
run: stata-mp:latest analysis/cox_2017_covid_vax.do
needs: [analysis_2017]
outputs:
moderately_sensitive:
log: logs/cox_2017_covid_vax.log
output: output/cox_2017_covid_vax.txt
cox_2017_wave:
run: stata-mp:latest analysis/cox_2017_wave.do
needs: [analysis_2017]
outputs:
moderately_sensitive:
log: logs/cox_2017_wave.log
output: output/cox_2017_wave.txt
cox_hospitalised_case:
run: stata-mp:latest analysis/cox_hospitalised_case.do
needs: [analysis_hospitalised]
outputs:
moderately_sensitive:
log: logs/cox_hospitalised_case.log
output: output/cox_hospitalised_case.txt
cox_hospitalised_covid_vax:
run: stata-mp:latest analysis/cox_hospitalised_covid_vax.do
needs: [analysis_hospitalised]
outputs:
moderately_sensitive:
log: logs/cox_hospitalised_covid_vax.log
output: output/cox_hospitalised_covid_vax.txt
cox_hospitalised_wave:
run: stata-mp:latest analysis/cox_hospitalised_wave.do
needs: [analysis_hospitalised]
outputs:
moderately_sensitive:
log: logs/cox_hospitalised_wave.log
output: output/cox_hospitalised_wave.txt