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

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

viprs-0.1.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

viprs-0.1.3-cp312-cp312-macosx_11_0_arm64.whl (377.5 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

viprs-0.1.3-cp312-cp312-macosx_10_9_x86_64.whl (465.8 kB view details)

Uploaded CPython 3.12macOS 10.9+ x86-64

viprs-0.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

viprs-0.1.3-cp311-cp311-macosx_11_0_arm64.whl (370.9 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

viprs-0.1.3-cp311-cp311-macosx_10_9_x86_64.whl (456.4 kB view details)

Uploaded CPython 3.11macOS 10.9+ x86-64

viprs-0.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

viprs-0.1.3-cp310-cp310-macosx_11_0_arm64.whl (370.0 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

viprs-0.1.3-cp310-cp310-macosx_10_9_x86_64.whl (455.0 kB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

viprs-0.1.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

viprs-0.1.3-cp39-cp39-macosx_11_0_arm64.whl (371.2 kB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

viprs-0.1.3-cp39-cp39-macosx_10_9_x86_64.whl (456.0 kB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

viprs-0.1.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

viprs-0.1.3-cp38-cp38-macosx_11_0_arm64.whl (371.4 kB view details)

Uploaded CPython 3.8macOS 11.0+ ARM64

viprs-0.1.3-cp38-cp38-macosx_10_9_x86_64.whl (456.3 kB view details)

Uploaded CPython 3.8macOS 10.9+ x86-64

File details

Details for the file viprs-0.1.3.tar.gz.

File metadata

  • Download URL: viprs-0.1.3.tar.gz
  • Upload date:
  • Size: 70.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for viprs-0.1.3.tar.gz
Algorithm Hash digest
SHA256 aa760bbaacc17813a3f61a0b0e1c1647a4588bbeb4eb59a9537b41e8f46b8026
MD5 f9639efd71204056fcbbc2feb5696df9
BLAKE2b-256 d559eae9466566b2433c77e820ed66affa6e8075b2822b62551abac972428d0a

See more details on using hashes here.

File details

Details for the file viprs-0.1.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for viprs-0.1.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 208058ee321276fe93a857700b0226b7692cd7c970cd9f2f40964fbab73e495a
MD5 720b3ceb8a778dd29eae86995bf1a823
BLAKE2b-256 1a6b602eef022ac3286d1a4a45dd3ef86b7918d1f7d5f02472b67c8c79de3c75

See more details on using hashes here.

File details

Details for the file viprs-0.1.3-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for viprs-0.1.3-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 073595bfdc08521c48a83a0d05c2f839bef490adfbe2bed43e4758c96a28b2f8
MD5 c923befb69c85c33c559599f602e74b1
BLAKE2b-256 662fc3a9264f3d2cf0aa3622039a391490dc6a8fb825a3e8497cf612a17143fb

See more details on using hashes here.

File details

Details for the file viprs-0.1.3-cp312-cp312-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for viprs-0.1.3-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 bf839dda6cde87e3b4af423d7022265369ea1703e614f47bf3463c7cd1b5df27
MD5 563caea836ec61ea7495a01f3558342e
BLAKE2b-256 5b2294937368af4a7cde9be20d5df363c85c779f8cb5110b59c3bbd7b9981fb4

See more details on using hashes here.

File details

Details for the file viprs-0.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for viprs-0.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3cd40f970ae748e2d414f7560174173642632af58330719dc04c60730f278377
MD5 dc9bb5c32d2462d983c70a014dbb27ba
BLAKE2b-256 0577125790a4201bbeb1f8d8320ac6395593591dd5d5f2ca9fbbf3ffa219193a

See more details on using hashes here.

File details

Details for the file viprs-0.1.3-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for viprs-0.1.3-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d58cca554a6d1e0ac0b56a1886f7777adab62c6ec31dd6b17528f0ac8c3a75b9
MD5 9b137c623b0d56a789d038f8d2d4b2bb
BLAKE2b-256 2419e3a4113f37faa3307d578692d24b8806d3fac796edfd485456e1eb26cd96

See more details on using hashes here.

File details

Details for the file viprs-0.1.3-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for viprs-0.1.3-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 d944f2e69c10a221cdc5e3c88fe0b45028a50a7e8f3b166b3758926615ab5423
MD5 34effbbafa78ef0bad5e8f710ab7655d
BLAKE2b-256 d660de245ab5ccdaf65005e4a31091e8e30d26d7648ac91b7031022b6acefa8c

See more details on using hashes here.

File details

Details for the file viprs-0.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for viprs-0.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8ff78e25cfa0d25112a20859d9e1fb0464694471aa452ba18e24b384803d2665
MD5 f3870b81d034713f40f2b721b1248cb3
BLAKE2b-256 efaa97f0ac7b34e023dc0688c27d08b25f5f610a7aef73ce7da00094ff00bd13

See more details on using hashes here.

File details

Details for the file viprs-0.1.3-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for viprs-0.1.3-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a9173811cb40b958804ce9b8f3e2408e53bcb9f59092c983cd6744cf1e01fe6b
MD5 285a6a3f938a8d4e217b9d92d071c6c5
BLAKE2b-256 56782f00552b8b1583e5c6dad255f48b54ed8007388c349ef2316b985a46ca59

See more details on using hashes here.

File details

Details for the file viprs-0.1.3-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for viprs-0.1.3-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 3b95988fe57c994e94575b1c25fbf67e8956bad517f95c31193637166f409dfc
MD5 c69fa6e3727929faae3f6f88ce045f85
BLAKE2b-256 3120963acbec067bc831fa58c51775efab2f3df0189c6b011cfd0aee501faab9

See more details on using hashes here.

File details

Details for the file viprs-0.1.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for viprs-0.1.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8eecb40b215a8fb1c2ad8573bdf987c05d293acbc348f60aff7e173d60513cb5
MD5 015321c4a395bee5badbd473345663b4
BLAKE2b-256 51546ed359352e00ce15626db68b406d9d8d1e948f8b867b6269f3617f46ebac

See more details on using hashes here.

File details

Details for the file viprs-0.1.3-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

  • Download URL: viprs-0.1.3-cp39-cp39-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 371.2 kB
  • Tags: CPython 3.9, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for viprs-0.1.3-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1c170659393ffbccb18003d9dae4c8c9e0c380eca66714bc6cc021eb4ba5f448
MD5 2554bad7297b31bc9f48d19a8e81081c
BLAKE2b-256 3ad977a494324492f8b2ec2523ad8f18d64eeda415c7e238f1448f031e670b7c

See more details on using hashes here.

File details

Details for the file viprs-0.1.3-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for viprs-0.1.3-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 af78d29827963b89b204b097dbcffd676f3f68e84a4f99a24d932411ec6aa7ab
MD5 c2f8dd7ef02b3cf3caec5cf9b0ae2946
BLAKE2b-256 7693f5b0ca3f18cc1f2c361790db83c6e2af184942cc9089ed5359eacf16e071

See more details on using hashes here.

File details

Details for the file viprs-0.1.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for viprs-0.1.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f69833af96104f06ad6dba289666439dd211f17104504d914b81f6c07a733bdd
MD5 71f5d9a9b747417f62fb3ac2eb0f07a9
BLAKE2b-256 f8af37cdd5e119681d004126cd4de5bb261808bf7f53a99acfd03ba282524013

See more details on using hashes here.

File details

Details for the file viprs-0.1.3-cp38-cp38-macosx_11_0_arm64.whl.

File metadata

  • Download URL: viprs-0.1.3-cp38-cp38-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 371.4 kB
  • Tags: CPython 3.8, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for viprs-0.1.3-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 67a4ca9ca53dde930fb6c2aa04438254376bcea762dbae3c3a4baddeb48c2096
MD5 c9261bc62f643bbec9ed657019c3fe55
BLAKE2b-256 4d1906f20195964c4623a4bfc181cfff79daebc337a2ea0d43e392cdeb01deef

See more details on using hashes here.

File details

Details for the file viprs-0.1.3-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for viprs-0.1.3-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 523857c7e70c7896bb4f5040cdcd9224cf941242746586a9be11b7c1dcc98360
MD5 4cb9f2f4ddc2186050dfb2dac30f974a
BLAKE2b-256 08e29d978c44697ec0a984233f8531223b0ff60379b267ac6d28bc22f7a9583d

See more details on using hashes here.

Supported by

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