We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94c30fa commit 4b3f678Copy full SHA for 4b3f678
v03_pipeline/migrations/annotations/0004_add_gnomad_svs.py
@@ -27,11 +27,15 @@ class AddGnomadSVs(BaseMigration):
27
28
@staticmethod
29
def migrate(ht: hl.Table, **_) -> hl.Table:
30
- mapping_ht = hl.import_vcf(
31
- PHASE_4_CALLSET_WITH_GNOMAD_V4,
32
- reference_genome=ReferenceGenome.GRCh38.value,
33
- force_bgz=True
34
- ).key_rows_by('rsid').rows()
+ mapping_ht = (
+ hl.import_vcf(
+ PHASE_4_CALLSET_WITH_GNOMAD_V4,
+ reference_genome=ReferenceGenome.GRCh38.value,
+ force_bgz=True,
35
+ )
36
+ .key_rows_by('rsid')
37
+ .rows()
38
39
ht = ht.annotate(
40
**{
41
'info.GNOMAD_V4.1_TRUTH_VID': mapping_ht[ht.key].info[
0 commit comments