This is a test version of Biostars. For the public version, visit https://www.biostars.org.
matching gnomAD allele frequency

Is there a way to find the allele frequency of gnomAD db with the rsID of my SNP data using gnomAD db in Python or R?

If there is a specific rsID, I want to get the total allele frequency and east asian allele frequency of this rsID from gnomAD db.

I tried using the gnomAD_DB package in python, but there were many cases where the allele frequency could not be obtained. I think this part is strange, so I'm looking for another way.

Please help me.

r python gnomad

3 answers

It's not python or R, but vcfanno allows to do this quite simply and fast

Since you want to check for a specific SNP, why don’t you look in dbSNP? You ll find allele frequency of your SNP of interest in different databases and a wide range of populations.

I am trying to download dbSNP data from NCBI. Is it right to download via FTP? There are several types of files. Which file should I download to get allele frequency information?

sooni why not annotate your variants with ensembl vep, you either use their web version or install locally if the number of variants are large. You can choose to select to annotate only gnomAD or with any other data as well. Hope this helps

Log in to answer this question.