@@ -49,24 +49,24 @@ class UpdateVariantAnnotationsTableWithNewSamplesTask(BaseVariantAnnotationsTabl
49
49
parsing = luigi .BoolParameter .EXPLICIT_PARSING ,
50
50
)
51
51
liftover_ref_path = luigi .OptionalParameter (
52
- default = " gs://hail-common/references/grch38_to_grch37.over.chain.gz" ,
53
- description = " Path to GRCh38 to GRCh37 coordinates file" ,
52
+ default = ' gs://hail-common/references/grch38_to_grch37.over.chain.gz' ,
53
+ description = ' Path to GRCh38 to GRCh37 coordinates file' ,
54
54
)
55
55
56
56
@property
57
57
def other_annotation_dependencies (self ) -> dict [str , hl .Table ]:
58
58
annotation_dependencies = {}
59
59
if self .dataset_type .has_lookup_table :
60
- annotation_dependencies [" lookup_ht" ] = hl .read_table (
60
+ annotation_dependencies [' lookup_ht' ] = hl .read_table (
61
61
lookup_table_path (
62
62
self .reference_genome ,
63
63
self .dataset_type ,
64
64
),
65
65
)
66
66
67
67
if self .dataset_type .has_gencode_mapping :
68
- annotation_dependencies [" gencode_mapping" ] = hl .literal (
69
- load_gencode (GENCODE_RELEASE , "" ),
68
+ annotation_dependencies [' gencode_mapping' ] = hl .literal (
69
+ load_gencode (GENCODE_RELEASE , '' ),
70
70
)
71
71
return annotation_dependencies
72
72
@@ -222,8 +222,8 @@ def update_table(self, ht: hl.Table) -> hl.Table:
222
222
):
223
223
if rdc .requires_annotation :
224
224
continue
225
- rdc_ht = self .rdc_annotation_dependencies [f" { rdc .value } _ht" ]
226
- new_variants_ht = new_variants_ht .join (rdc_ht , " left" )
225
+ rdc_ht = self .rdc_annotation_dependencies [f' { rdc .value } _ht' ]
226
+ new_variants_ht = new_variants_ht .join (rdc_ht , ' left' )
227
227
228
228
# 4) Union with the existing variant annotations table
229
229
# and annotate with the lookup table.
0 commit comments