Skip to content

bugfix: filter out null clinvar conditions. #1083

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

Merged
merged 2 commits into from
Apr 17, 2025

Conversation

bpblanken
Copy link
Collaborator

@bpblanken bpblanken commented Apr 17, 2025

Noticed this while building schema for clinvar... this field requires Nulls, which we don't want.

@bpblanken bpblanken requested a review from a team as a code owner April 17, 2025 15:28
@bpblanken bpblanken changed the base branch from main to benb/filter_long_alleles April 17, 2025 15:28
lambda p: p.split(r':')[1],
ht.conditions,
# assumes the format 'MedGen#:condition;MedGen#:condition', e.g.'C0023264:Leigh syndrome'
conditions=hl.filter(
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Note this changes the one-to-one alignment between submitters and conditions, but I don't think we're doing anything that pairing. It's already one-submitter-to-many-conditions in practice, we were just pulling the first one.

…seqr-loading-pipelines into benb/clinvar_missing_conditions
@bpblanken bpblanken merged commit 9222bf9 into benb/filter_long_alleles Apr 17, 2025
1 check failed
@bpblanken bpblanken deleted the benb/clinvar_missing_conditions branch April 17, 2025 17:34
bpblanken added a commit that referenced this pull request Apr 17, 2025
* feat: filter long alleles

* trailing comma

* Update validate_callset.py

* bug: filter clinvar missing conditions (#1083)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants