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

Uploaded Source

Built Distribution

ieugwaspy-1.0.3-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ieugwaspy-1.0.3.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for ieugwaspy-1.0.3.tar.gz
Algorithm Hash digest
SHA256 7f850b30adfa68e61abe6847d641bf6479712a8ff595d2a077fdbba5a58a60b2
MD5 1994c54a4621b730318381d96906f06a
BLAKE2b-256 16675f477bf004d7a3c4c0e62b2d0a865defedf866727c334f8485a039e65462

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ieugwaspy-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for ieugwaspy-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 96c5c257de10a8e8ef0e54ec72c26fce5c6b2d79c6d0b452f6f08c456f29e3e4
MD5 ab3d906467761ca8c11d84114499aea6
BLAKE2b-256 be2bcb6dd9df2073c2ea6e94042c6e683981b199231607007f93d8bde1d3f029

See more details on using hashes here.

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