Skip to main content

Variational Inference of Polygenic Risk Scores (VIPRS)

Project description

viprs: Variational Inference of Polygenic Risk Scores

PyPI pyversions PyPI version fury.io License: MIT

Linux CI MacOS CI Windows CI Docs Build Binary wheels

Downloads Downloads

viprs is a python package that implements variational inference techniques to estimate the posterior distribution of variant effect sizes conditional on the GWAS summary statistics. The package is designed to be fast and accurate, and to provide a variety of options for the user to customize the inference process. Highlighted features:

  • The coordinate ascent algorithms are written in C/C++ and cython for improved speed and efficiency.
  • The code is written in object-oriented form, allowing the user to extend and experiment with existing implementations.
  • Different priors on the effect size: Spike-and-slab, Sparse mixture, etc.
  • We also provide scripts for different hyperparameter tuning strategies, including: Grid search, Bayesian optimization, Bayesian model averaging.
  • Easy and straightforward interfaces for computing PRS from fitted models.
  • Implementation for a wide variety of evaluation metrics for both binary and continuous phenotypes.

Helpful links

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

viprs-0.1.1.tar.gz (61.4 kB view hashes)

Uploaded Source

Built Distributions

viprs-0.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.9 MB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

viprs-0.1.1-cp312-cp312-macosx_11_0_arm64.whl (626.6 kB view hashes)

Uploaded CPython 3.12 macOS 11.0+ ARM64

viprs-0.1.1-cp312-cp312-macosx_10_9_x86_64.whl (722.2 kB view hashes)

Uploaded CPython 3.12 macOS 10.9+ x86-64

viprs-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.9 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

viprs-0.1.1-cp311-cp311-macosx_11_0_arm64.whl (619.8 kB view hashes)

Uploaded CPython 3.11 macOS 11.0+ ARM64

viprs-0.1.1-cp311-cp311-macosx_10_9_x86_64.whl (705.9 kB view hashes)

Uploaded CPython 3.11 macOS 10.9+ x86-64

viprs-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.7 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

viprs-0.1.1-cp310-cp310-macosx_11_0_arm64.whl (617.2 kB view hashes)

Uploaded CPython 3.10 macOS 11.0+ ARM64

viprs-0.1.1-cp310-cp310-macosx_10_9_x86_64.whl (700.0 kB view hashes)

Uploaded CPython 3.10 macOS 10.9+ x86-64

viprs-0.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.7 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

viprs-0.1.1-cp39-cp39-macosx_11_0_arm64.whl (618.9 kB view hashes)

Uploaded CPython 3.9 macOS 11.0+ ARM64

viprs-0.1.1-cp39-cp39-macosx_10_9_x86_64.whl (702.0 kB view hashes)

Uploaded CPython 3.9 macOS 10.9+ x86-64

viprs-0.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.8 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

viprs-0.1.1-cp38-cp38-macosx_11_0_arm64.whl (619.3 kB view hashes)

Uploaded CPython 3.8 macOS 11.0+ ARM64

viprs-0.1.1-cp38-cp38-macosx_10_9_x86_64.whl (701.7 kB view hashes)

Uploaded CPython 3.8 macOS 10.9+ x86-64

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