|
32 | 32 | prepare_heterozygous_variant_cooccurrence_counts, |
33 | 33 | prepare_homozygous_variant_cooccurrence_counts, |
34 | 34 | ) |
35 | | -from data_pipeline.data_types.gene import reject_par_y_genes |
| 35 | +from data_pipeline.data_types.gene import reject_par_y_genes, annotate_gene_models_with_low_coverage_flag |
36 | 36 |
|
37 | 37 | from data_pipeline.datasets.gnomad_v4.gnomad_v4_constraint import ( |
38 | 38 | prepare_gnomad_v4_constraint, |
@@ -491,12 +491,22 @@ def annotate_v4_with_constraint(genes_path, constraint_path): |
491 | 491 | }, |
492 | 492 | ) |
493 | 493 |
|
| 494 | +pipeline.add_task( |
| 495 | + "annotate_grch38_genes_step_7", |
| 496 | + annotate_gene_models_with_low_coverage_flag, |
| 497 | + f"/{genes_subdir}/genes_grch38_annotated_7.ht", |
| 498 | + { |
| 499 | + "genes_path": pipeline.get_task("annotate_grch38_genes_step_6"), |
| 500 | + "low_coverage_tsv_path": "gs://gnomad-v4-data-pipeline/inputs/v4.1.1/gnomad.v4.1.low_coverage_transcripts.tsv", |
| 501 | + }, |
| 502 | +) |
| 503 | + |
494 | 504 | pipeline.add_task( |
495 | 505 | "remove_grch38_genes_constraint_for_release", |
496 | 506 | remove_gnomad_v4_constraint, |
497 | | - f"/{genes_subdir}/genes_grch38_annotate_5_removed_constraint", |
| 507 | + f"/{genes_subdir}/genes_grch38_annotate_7_removed_constraint", |
498 | 508 | { |
499 | | - "genes_path": pipeline.get_task("annotate_grch38_genes_step_5"), |
| 509 | + "genes_path": pipeline.get_task("annotate_grch38_genes_step_7"), |
500 | 510 | }, |
501 | 511 | ) |
502 | 512 |
|
@@ -563,7 +573,7 @@ def annotate_v4_with_constraint(genes_path, constraint_path): |
563 | 573 | pipeline.set_outputs( |
564 | 574 | { |
565 | 575 | "genes_grch37": "annotate_grch37_genes_step_5", |
566 | | - "genes_grch38": "annotate_grch38_genes_step_6", |
| 576 | + "genes_grch38": "annotate_grch38_genes_step_7", |
567 | 577 | "base_transcripts_grch37": "extract_grch37_transcripts", |
568 | 578 | "base_transcripts_grch38": "extract_grch38_transcripts", |
569 | 579 | "transcripts_grch37": "annotate_grch37_transcripts", |
|
0 commit comments