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 75c23e7 commit 96dce61Copy full SHA for 96dce61
v03_pipeline/lib/reference_datasets/hmtvar.py
@@ -1,6 +1,7 @@
1
import hail as hl
2
import requests
3
4
+from v03_pipeline.lib.model.dataset_type import DatasetType
5
from v03_pipeline.lib.model.definitions import ReferenceGenome
6
7
@@ -21,4 +22,9 @@ def get_ht(
21
22
score=ht.disease_score,
23
)
24
ht = ht.key_by('locus', 'alleles')
25
+ ht = ht.filter(
26
+ ~DatasetType.SNV_INDEL.invalid_allele_types.contains(
27
+ hl.numeric_allele_type(ht.alleles[0], ht.alleles[1]),
28
+ ),
29
+ )
30
return ht.group_by(*ht.key).aggregate(score=hl.agg.max(ht.score))
0 commit comments