Skip to content
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 get_summary_stats_variant_filter_expr and get_summary_stats_csq_filter_expr to build filtering expressions for summary stats #701

Merged
merged 28 commits into from
May 24, 2024

Conversation

jkgoodrich
Copy link
Contributor

No description provided.

Copy link
Contributor

@matren395 matren395 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just pedantry about types and documentation - I'll look in a bit at the filter exprs themselves

gnomad/utils/filtering.py Outdated Show resolved Hide resolved
gnomad/utils/filtering.py Outdated Show resolved Hide resolved
gnomad/utils/filtering.py Outdated Show resolved Hide resolved
gnomad/utils/filtering.py Outdated Show resolved Hide resolved
gnomad/utils/filtering.py Outdated Show resolved Hide resolved
gnomad/utils/annotations.py Outdated Show resolved Hide resolved
gnomad/utils/annotations.py Outdated Show resolved Hide resolved
Co-authored-by: Daniel Marten <78616802+matren395@users.noreply.github.com>
Copy link
Contributor

@matren395 matren395 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think variant_filter_expr looks good to me, putting a pin in csq_filter_expr for now

gnomad/assessment/summary_stats.py Outdated Show resolved Hide resolved
gnomad/assessment/summary_stats.py Outdated Show resolved Hide resolved
Co-authored-by: Daniel Marten <78616802+matren395@users.noreply.github.com>
Copy link
Contributor

@matren395 matren395 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

last few questions - think I've got a good handle on the PR now !

gnomad/assessment/summary_stats.py Outdated Show resolved Hide resolved
gnomad/assessment/summary_stats.py Outdated Show resolved Hide resolved
Copy link
Contributor

@KoalaQin KoalaQin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have two major comments:

  1. where the lof_flags is;
  2. if we could simplify the name of the keys, later the row name.

gnomad/utils/filtering.py Outdated Show resolved Hide resolved
gnomad/assessment/summary_stats.py Outdated Show resolved Hide resolved
gnomad/assessment/summary_stats.py Outdated Show resolved Hide resolved
gnomad/assessment/summary_stats.py Outdated Show resolved Hide resolved
gnomad/assessment/summary_stats.py Outdated Show resolved Hide resolved
gnomad/assessment/summary_stats.py Outdated Show resolved Hide resolved
gnomad/assessment/summary_stats.py Outdated Show resolved Hide resolved
gnomad/assessment/summary_stats.py Outdated Show resolved Hide resolved
jkgoodrich and others added 3 commits May 20, 2024 14:09
Co-authored-by: Qin He <44242118+KoalaQin@users.noreply.github.com>
@jkgoodrich jkgoodrich requested review from KoalaQin and matren395 May 20, 2024 20:13
Copy link
Contributor

@KoalaQin KoalaQin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small things, you can move the 2 functions here.

gnomad/assessment/summary_stats.py Outdated Show resolved Hide resolved
gnomad/assessment/summary_stats.py Show resolved Hide resolved
jkgoodrich and others added 3 commits May 24, 2024 09:52
Co-authored-by: Qin He <44242118+KoalaQin@users.noreply.github.com>
…n_sum_stats' into jg/build_filtering_expressions_in_sum_stats
@jkgoodrich jkgoodrich requested a review from KoalaQin May 24, 2024 16:25
Copy link
Contributor

@KoalaQin KoalaQin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Contributor

@KoalaQin KoalaQin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@jkgoodrich jkgoodrich merged commit 0198658 into main May 24, 2024
5 checks passed
@jkgoodrich jkgoodrich deleted the jg/build_filtering_expressions_in_sum_stats branch May 24, 2024 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants