Skip to main content

Python interface to IEU GWAS database API

Project description

Perform fast queries in Python against a massive database of complete GWAS summary data

Actions Status

The IEU OpenGWAS database comprises over 50,000 curated, QC'd and harmonised complete GWAS summary datasets and can be queried using an API. See here for documentation on the API itself. This Python package is a wrapper to make generic calls to the API, plus convenience functions for specific queries.

See ieugwaspy documentation for details of how to use this package.


Install using pip install ieugwaspy


  • Get meta data about specific or all studies
  • Obtain the top hits (with on the fly clumping as an option) from each of the GWAS datasets. Clumping and significance thresholds can be specified
  • Obtain the summary results of specific variants across specific studies. LD-proxy lookups are performed automatically if a specific variant is absent from a study
  • Perform PheWAS (look up all associations for a variant)
  • Convert between chromosome:position and rsids and getting annotations

Developer notes

To run tests, use pytest -v -s --select-api="dev"

To generate docs, use pdoc --html ieugwaspy; rm -rf docs/; mkdir docs; mv html/ieugwaspy/* docs/; rm -r html/

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ieugwaspy-1.0.2.tar.gz (7.1 kB view hashes)

Uploaded Source

Built Distribution

ieugwaspy-1.0.2-py3-none-any.whl (9.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page