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

Display AN for non-UKB exome subset #1598

Open
ch-kr opened this issue Jul 19, 2024 · 1 comment
Open

Display AN for non-UKB exome subset #1598

ch-kr opened this issue Jul 19, 2024 · 1 comment
Assignees

Comments

@ch-kr
Copy link
Contributor

ch-kr commented Jul 19, 2024

A user wrote in asking about the allele numbers (AN) for this variant. I realized from their question that the non-UKB ANs are not being displayed when that dataset is selected:
Full gnomAD v4.1 dataset:
image
Non-UKB subset of gnomAD v4.1:
image

The AN of the full v4.1 exomes is 1458958, so >729k samples have defined ANs at this site. Checking our all sites AN downloadable HT confirms that this variant has a defined non-UKB AN:

ht = hl.read_table('gs://gcp-public-data--gnomad/release/4.1/ht/exomes/gnomad.exomes.v4.1.allele_number_all_sites.ht')
ht = hl.filter_intervals(ht, [hl.parse_locus_interval>>> ht = hl.filter_intervals(ht, [hl.parse_locus_interval('chr3:10052405-10052406', reference_genome='GRCh38')])
# 167 is `{'group': 'adj', 'subset': 'non_ukb'}` per `ht.strata_meta`
ht = ht.annotate(adj=ht.AN[0], non_ukb=ht.AN[167])
ht.show()
image

Would it be possible to update the browser to display the non-UKB ANs when they exist?

@ch-kr
Copy link
Contributor Author

ch-kr commented Jul 25, 2024

adding a comment to say I think this display issue may only impact variants that are flagged or fail variant QC. Variants that aren't filtered seem to be adjusting AN based on the subset selected (e.g., https://gnomad.broadinstitute.org/variant/11-747571-C-T?dataset=gnomad_r4):
image
image

@rileyhgrant rileyhgrant self-assigned this Jul 25, 2024
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

No branches or pull requests

2 participants