viprs: Variational Inference of Polygenic Risk Scores
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++andcythonfor 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
- Documentation
- Continuous benchmark results
- VIPRS web app
- Sister package
magenpy - Citation / BibTeX records
- Report issues/bugs
AI Usage
This project is developed using AI-assisted technologies. Please review our AI Declaration for full transparency on automated pipelines.
Metadata
Release files for viprs 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| viprs-0.1.6.tar.gz | 107.5 kB | Without provenance | Details for viprs-0.1.6.tar.gz |
Built distributions (wheels)
Total release size: 16.3 MB
Release files / viprs-0.1.6.tar.gz
| Download URL | viprs-0.1.6.tar.gz |
|---|---|
| Size | 107.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dfbbbc7f4e711f0bb8752260b2d397d7802cab5fb102f4dee67ee875d1a12129
|
|
BLAKE2b-256 checksum How to use checksums |
74d05a7dd732f67b457055cf82dadde99c0960baf17c574eda0678e708bc076b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / viprs-0.1.6-cp313-cp313-win_amd64.whl
| Download URL | viprs-0.1.6-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 437.1 kB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
959aab46ef9f9470dce4f9537d2839dfc76faad0621a1cf4df4e30a8a9d33fdd
|
|
BLAKE2b-256 checksum How to use checksums |
c0ff5bc6bb061897a9b348625bfdf737062e3ff23f3db4d98e066e07cddbf195
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / viprs-0.1.6-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | viprs-0.1.6-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.8 MB |
| Tags | CPython 3.13 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
9d5e959afbecf3be75467479039bbb24ba17c662d721e4021b300141462a6cb0
|
|
BLAKE2b-256 checksum How to use checksums |
7fe05a82fc604d1b80d5ab67aca04d5777f1dbec9dda90345b10836f22a6b274
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / viprs-0.1.6-cp313-cp313-macosx_11_0_arm64.whl
| Download URL | viprs-0.1.6-cp313-cp313-macosx_11_0_arm64.whl |
|---|---|
| Size | 340.5 kB |
| Tags | CPython 3.13 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
28aed3f9d142e5f39c94b1f918a5d9a183671cf7bf319c253bd6b4e01ca316e7
|
|
BLAKE2b-256 checksum How to use checksums |
79e459b3e85d8b78e1afa80999fb3154be57945a69593c916239a7820e1d7b2a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / viprs-0.1.6-cp313-cp313-macosx_10_13_x86_64.whl
| Download URL | viprs-0.1.6-cp313-cp313-macosx_10_13_x86_64.whl |
|---|---|
| Size | 456.8 kB |
| Tags | CPython 3.13 macOS 10.13+ x86-64 |
|
SHA-256 checksum How to use checksums |
d0dd9a25aaa4f7548c75ff96982cfb15fe1f42f732029b25ec13e0eb397dadc2
|
|
BLAKE2b-256 checksum How to use checksums |
faa6ae58e836d17259630d8ffd8123433a42d2e1b71cb178fa3c1489a14e8afe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / viprs-0.1.6-cp312-cp312-win_amd64.whl
| Download URL | viprs-0.1.6-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 438.2 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
40084f1f993099dfc6c595616b86f527b266b7fbccaf27a43a7daaada7f8ee01
|
|
BLAKE2b-256 checksum How to use checksums |
7bf0f3cc646bc7cd7fb8c7e7555c56eebcefc22d1cf697d7653646b054f9b964
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / viprs-0.1.6-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | viprs-0.1.6-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.9 MB |
| Tags | CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
3893240b429502969809b8e6afff8d5ba2b60605db4c3612d19e66120157be51
|
|
BLAKE2b-256 checksum How to use checksums |
a614fefc9445d76a1dd747688640a22c36553da73b85e8c14d60864b470c114d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / viprs-0.1.6-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | viprs-0.1.6-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 339.5 kB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
372635837ea4bfef29fb9c199559c2aafd0b89ddcc9ff2f05a451e0dcecac192
|
|
BLAKE2b-256 checksum How to use checksums |
f0484e1bc09ee804b79f3aa0cb3810f4c0ceddd151ed3499a98c258b070f5f2e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / viprs-0.1.6-cp312-cp312-macosx_10_13_x86_64.whl
| Download URL | viprs-0.1.6-cp312-cp312-macosx_10_13_x86_64.whl |
|---|---|
| Size | 451.5 kB |
| Tags | CPython 3.12 macOS 10.13+ x86-64 |
|
SHA-256 checksum How to use checksums |
265eb21f85ebf653ca31c298506ea603e74c3ebac8d0d091ce8493615626cb44
|
|
BLAKE2b-256 checksum How to use checksums |
0d136d0a393482bb526ac80d7e6bc5ceebdba66cd949359be4322d548ab8526c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / viprs-0.1.6-cp311-cp311-win_amd64.whl
| Download URL | viprs-0.1.6-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 437.9 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
cc7e06fe8257fa13f8f09bcd7e2ad51cb2ac27b943e03547700c402a2e206b3c
|
|
BLAKE2b-256 checksum How to use checksums |
0e044e2782f6a22ff6c204b7e68cd7feb6e5308379903b09e4814dd6741b4470
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / viprs-0.1.6-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | viprs-0.1.6-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.8 MB |
| Tags | CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
59168ddb91eaf5c047b2bd007c99447930c09e84321a49ac110106d9bc02b2c9
|
|
BLAKE2b-256 checksum How to use checksums |
5e2b4982d45c4b732e30bd233d578e3ed84cb110e65fb9504cc683382372cffa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / viprs-0.1.6-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | viprs-0.1.6-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 348.1 kB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
6f1d08a359c50d09e6630bd0c00038b86f8a7c5b321a073b04221083c2d801d7
|
|
BLAKE2b-256 checksum How to use checksums |
2d27179649064015ed77d7323de81bf53c6ac81383855ba7ae134cdbc2bc4d09
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / viprs-0.1.6-cp311-cp311-macosx_10_9_x86_64.whl
| Download URL | viprs-0.1.6-cp311-cp311-macosx_10_9_x86_64.whl |
|---|---|
| Size | 461.5 kB |
| Tags | CPython 3.11 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
53b1db55aa3bc843a827f6d326e39017c3825c9fb951616d1afb5bda1999c563
|
|
BLAKE2b-256 checksum How to use checksums |
27a6cf0169619d7ac4d1950202690aad551a78c874dab49a004d0c7f06052c44
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / viprs-0.1.6-cp310-cp310-win_amd64.whl
| Download URL | viprs-0.1.6-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 438.0 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
81002764029789d1b2f3be6c436051d03b47cd3f5fb2c3e78b92828992bb81c5
|
|
BLAKE2b-256 checksum How to use checksums |
a2eca1374717ddbbc9996ac245f91d6c3065a2fbff119ba00bfa7d6a2f6b02db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / viprs-0.1.6-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | viprs-0.1.6-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.8 MB |
| Tags | CPython 3.10 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
d0baf09cd7658074858235ed001bc1c1af63287c10a2ddd0dd3fb2742d8307a0
|
|
BLAKE2b-256 checksum How to use checksums |
f515a1dc2a2ee8d47e30ab5bfc789baa9afbf86dc62b83742b72284f585ebf8d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / viprs-0.1.6-cp310-cp310-macosx_11_0_arm64.whl
| Download URL | viprs-0.1.6-cp310-cp310-macosx_11_0_arm64.whl |
|---|---|
| Size | 348.7 kB |
| Tags | CPython 3.10 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
d769b875d288eae75a2626b98091ab60691f0ab5d6fd577eab9dba9e78ec4f9d
|
|
BLAKE2b-256 checksum How to use checksums |
d5d5c1affb8fb898643a3b4b53a41b235b7a83332bdbe91fee91a00c754e5a8f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / viprs-0.1.6-cp310-cp310-macosx_10_9_x86_64.whl
| Download URL | viprs-0.1.6-cp310-cp310-macosx_10_9_x86_64.whl |
|---|---|
| Size | 463.2 kB |
| Tags | CPython 3.10 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
f2847ce469e3969e3f1a96d58c722a5f6dd53e928ee9a30fd20ddeb7fa1c4a2a
|
|
BLAKE2b-256 checksum How to use checksums |
4d5e4f55e749a940d616932d41f865527e4f3a99a019e3e70671cb83fa23507c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Security for viprs 0.1.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.