Skip to content

Commit d9016f9

Browse files
committed
Use sum(ad) for alt hists
1 parent 96140dd commit d9016f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gnomad_qc/v5/annotations/generate_frequency.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ def mt_hists_fields(
543543
qual_hists = qual_hist_expr(
544544
gt_expr=mt.GT,
545545
gq_expr=mt.GQ,
546-
dp_expr=mt.DP,
546+
dp_expr=hl.sum(mt.AD),
547547
adj_expr=mt.adj,
548548
ab_expr=mt.AD[1] / hl.sum(mt.AD),
549549
split_adj_and_raw=True,

0 commit comments

Comments
 (0)