Is there a way to find the GWAS traits to a gene programmatically?

Is there a way to find the GWAS traits to a gene programmatically?

0

Hello folks,

I would like to use a gene name (e.g. DOCK2) or its ENSEMBL ID as input, and get as output the reported GWAS traits to the respective gene. I did give a look into the GWAS Catalog API webpage, but I didn’t find a way to use gene as input. Also, I looked for R and Python libraries for doing that, and I couldn’t find either (maybe I didn’t search well).

I know it’s possible to do that for associations, studies, SNPs, and efoTraits. For instance, I could just use www.ebi.ac.uk/gwas/rest/api/singleNucleotidePolymorphisms/rs4918943 url, where it returns info for the SNP “rs4918943”. I would like something similar for a gene ID, or a library that does it.

It would be great to input a gene and receives any output where I could retrieve the GWAS trais related to such gene.
Thanks in advance!


gwas


api


gene


annotation


gwascatalog

• 298 views

updated 2 hours ago by

▴

220

written 16 months ago by

▴

40

Read more here: Source link