Skip to content

Commit 96140dd

Browse files
committed
Testing commit for hists
1 parent e033f08 commit 96140dd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

gnomad_qc/v5/annotations/generate_frequency.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -542,6 +542,8 @@ def mt_hists_fields(
542542
)
543543
qual_hists = qual_hist_expr(
544544
gt_expr=mt.GT,
545+
gq_expr=mt.GQ,
546+
dp_expr=mt.DP,
545547
adj_expr=mt.adj,
546548
ab_expr=mt.AD[1] / hl.sum(mt.AD),
547549
split_adj_and_raw=True,
@@ -792,9 +794,7 @@ def merge_gnomad_and_aou_frequencies(
792794
# Both datasets now have the same structure: histograms.{qual_hists,
793795
# raw_qual_hists, age_hists}
794796
joined_hist_ht = merged_freq_ht.annotate(
795-
aou_histograms=aou_freq_ht[merged_freq_ht.key].histograms.drop(
796-
"raw_qual_hists"
797-
),
797+
aou_histograms=aou_freq_ht[merged_freq_ht.key].histograms,
798798
)
799799

800800
# Merge age histograms

0 commit comments

Comments
 (0)