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 23cece6 commit 7835d23Copy full SHA for 7835d23
v03_pipeline/lib/reference_datasets/hgmd.py
@@ -15,9 +15,12 @@ def get_ht(path: str, reference_genome: ReferenceGenome) -> hl.Table:
15
# HGMD represents DELETIONS as Structural Variants
16
# which is less than ideal.
17
ht = ht.filter(ht.alleles[1] != '<DEL>')
18
- return ht.select(
+ ht = ht.select(
19
**{
20
'accession': ht.rsid,
21
'class': ht.info.CLASS,
22
},
23
)
24
+ # HGMD duplicates exist due to phenotype information
25
+ # arbitrarily choosing a value should be sufficient.
26
+ return ht.distinct()
0 commit comments