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 c070c7c commit 75c23e7Copy full SHA for 75c23e7
v03_pipeline/lib/reference_datasets/dbnsfp.py
@@ -79,10 +79,8 @@ def get_ht(path: str, reference_genome: ReferenceGenome) -> hl.Table:
79
ht = ht.rename(rename)
80
ht = key_by_locus_alleles(ht, reference_genome)
81
return ht.group_by(*ht.key).aggregate(
82
- MutationTaster_pred=hl.agg.take(ht.MutationTaster_pred, 1)[0],
83
- **{
84
- f: hl.agg.max(ht[f]) for f in ht.row_value if f != 'MutationTaster_pred'
85
- },
+ **{f: hl.agg.take(ht[f], 1)[0] for f in PREDICTOR_FIELDS},
+ **{f: hl.agg.max(ht[f]) for f in ht.row_value if f not in PREDICTOR_FIELDS},
86
)
87
88
0 commit comments