Skip to content

Remove extreme multiallelic in exomes VDS #580

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 3 commits into from
Mar 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions gnomad_qc/v4/resources/basics.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,15 @@ def get_gnomad_v4_vds(
vds.variant_data._filter_partitions(filter_partitions),
)

# Remove the chr19 site with excessive numbers of alleles (n=27374) which tends to
# create memory issues for `split_multi`.
logger.info("Dropping excessively multi-allelic site at chr19:5787204...")
vds = hl.vds.filter_intervals(
vds,
[hl.parse_locus_interval("chr19:5787204-5787205", reference_genome="GRCh38")],
keep=False,
)

# Count current number of samples in the VDS.
n_samples = vds.variant_data.count_cols()

Expand Down
Loading