Skip to main content

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.

Installation

Install using pip install ieugwaspy

Features

  • 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/

Release files for ieugwaspy 1.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ieugwaspy 1.0.6
File Size Uploaded
ieugwaspy-1.0.6.tar.gz 7.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ieugwaspy 1.0.6
File Interpreter ABI Platform
ieugwaspy-1.0.6-py3-none-any.whl Python 3 none any Details

Total release size:16.9 kB

Release files / ieugwaspy-1.0.6.tar.gz

Download URL ieugwaspy-1.0.6.tar.gz
Size 7.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b0100fd3fb6c98c178d47313e629bb4aebe70edefd5c208ff4badadfe575c6b2
BLAKE2b-256 checksum
How to use checksums
7b826cfb24be1fe0bf605c97d1d8d08845edbc3fe9cf982212165587157a4517
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Release files / ieugwaspy-1.0.6-py3-none-any.whl

Download URL ieugwaspy-1.0.6-py3-none-any.whl
Size 9.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
29583b94f04feb592ce96bc7c6357750f8772ee289a812882c92938eea27453d
BLAKE2b-256 checksum
How to use checksums
4af52a9e5b08967f73c1d2675d39a733828135fcb627eb3abb79b52df60f0dcc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Release history Release notifications | RSS feed

This release

1.0.6 This release

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.0

2 release files

0.1.11

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

1 release file

0.1.4

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page