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.

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/

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.5.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

ieugwaspy-1.0.5-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file ieugwaspy-1.0.5.tar.gz.

File metadata

  • Download URL: ieugwaspy-1.0.5.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for ieugwaspy-1.0.5.tar.gz
Algorithm Hash digest
SHA256 aec6845d265d8341874329997edef4d411dde7bcbc88d0196e5c9b8799c91072
MD5 aca05034ddb5c5c5bc2c6602253ce501
BLAKE2b-256 40e5865f9af2f25b5787d2ff09231344d254974a209d0f7f26ac7239e03c0f7e

See more details on using hashes here.

File details

Details for the file ieugwaspy-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: ieugwaspy-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 9.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for ieugwaspy-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 764ebe8a0f2ff1bc2e123caa70203d5bb2caf84c6478ccf3976d0e83d7511811
MD5 b88fdde7901ecb6bece52c4902edb152
BLAKE2b-256 e093f2239675921678a4ee0c85a49a0f2f0afe556e854ec1beffc5f26ada695b

See more details on using hashes here.

Supported by

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