-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add compute_stats_per_ref_site
to generalize computation of aggregate stats at all sites in a reference Table
#662
Add compute_stats_per_ref_site
to generalize computation of aggregate stats at all sites in a reference Table
#662
Conversation
…`compute_coverage_stats` and AN computation at all sites
…ub.com/broadinstitute/gnomad_methods into jg/generalize_stat_compute_at_all_ref_sites # Conflicts: # gnomad/utils/sparse_mt.py
…ub.com/broadinstitute/gnomad_methods into jg/generalize_stat_compute_at_all_ref_sites
…ub.com/broadinstitute/gnomad_methods into jg/generalize_stat_compute_at_all_ref_sites # Conflicts: # gnomad/utils/sparse_mt.py
… into jg/generalize_stat_compute_at_all_ref_sites
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good. Sorry it took awhile, it's dense. I only have one thing with a value error, everything else is small comments or nitpicks with style. I tested this AN against the compute_freq_by_strata on the test VDS.
Co-authored-by: Mike Wilson <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok one tiny thing on the GT logic now but other than that this looks good!
Also add a helper function
compute_allele_number_per_ref_site
to usecompute_stats_per_ref_site
to compute AN