Skip to main content

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.

AI Usage

AI-DECLARATION: assist

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.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for viprs 0.1.5
File Size Uploaded
viprs-0.1.5.tar.gz 91.8 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for viprs 0.1.5
File
viprs-0.1.5-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
viprs-0.1.5-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details
viprs-0.1.5-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
viprs-0.1.5-cp313-cp313-macosx_10_13_x86_64.whl CPython 3.13 CPython 3.13 macOS 10.13+ x86-64 Details
viprs-0.1.5-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
viprs-0.1.5-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details
viprs-0.1.5-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
viprs-0.1.5-cp312-cp312-macosx_10_13_x86_64.whl CPython 3.12 CPython 3.12 macOS 10.13+ x86-64 Details
viprs-0.1.5-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
viprs-0.1.5-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details
viprs-0.1.5-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details
viprs-0.1.5-cp311-cp311-macosx_10_9_x86_64.whl CPython 3.11 CPython 3.11 macOS 10.9+ x86-64 Details
viprs-0.1.5-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
viprs-0.1.5-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details
viprs-0.1.5-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details
viprs-0.1.5-cp310-cp310-macosx_10_9_x86_64.whl CPython 3.10 CPython 3.10 macOS 10.9+ x86-64 Details

Total release size: 15.4 MB

Release files / viprs-0.1.5.tar.gz

Download URL viprs-0.1.5.tar.gz
Size 91.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c2d361466da90245998b12dbaa4c6a64f5eaa09cd92271f5334ad09f4bbad9e2
BLAKE2b-256 checksum
How to use checksums
7a185629c49d1d86be26802b9eab9cafc77c07257a4772589fee600cf757c508
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / viprs-0.1.5-cp313-cp313-win_amd64.whl

Download URL viprs-0.1.5-cp313-cp313-win_amd64.whl
Size 426.3 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
19a57ece155ca496e3edd5dc235035e3b6a0805f2a9b2694d29b84013a770ac0
BLAKE2b-256 checksum
How to use checksums
41db26c3424210ab582921d2bd04eebc76751360323addd61ca33496ce1b6aae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / viprs-0.1.5-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL viprs-0.1.5-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 2.6 MB
Tags CPython 3.13 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
8bf620ed4b6c97c6233fddcc5a07fceb468f3411d02d47a9bac0dad926ad098b
BLAKE2b-256 checksum
How to use checksums
48c953eaea9d220c253b0e15c1360561ee68691939c175a1efe6ca637eaf6a94
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / viprs-0.1.5-cp313-cp313-macosx_11_0_arm64.whl

Download URL viprs-0.1.5-cp313-cp313-macosx_11_0_arm64.whl
Size 327.2 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
7f3c2d8b64011e222afcf3ad69a4538d8b663cf65499dc658f9fd239a7f799ea
BLAKE2b-256 checksum
How to use checksums
5c1dfbc7341db03574a24528476e982e951dfbdc64ddd5874f7cfd380050fb93
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / viprs-0.1.5-cp313-cp313-macosx_10_13_x86_64.whl

Download URL viprs-0.1.5-cp313-cp313-macosx_10_13_x86_64.whl
Size 437.7 kB
Tags CPython 3.13 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
2ed6e6a4ec1da4c445f501a5c9ff0b0d2c44a4ceed8eec5d02424e45fd15815f
BLAKE2b-256 checksum
How to use checksums
89671047ce36feff1e24300211326a4a5b9ac86f89f6604029fba3e8d5622df3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / viprs-0.1.5-cp312-cp312-win_amd64.whl

Download URL viprs-0.1.5-cp312-cp312-win_amd64.whl
Size 427.5 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
8dc8b4522cd29b7f189172f62ed059ebb75cecb1c4cb08b588e711db208d1ff4
BLAKE2b-256 checksum
How to use checksums
c5d7dcf8167668643981c5828b4f14e4e28e23a097a9290678ccacad9819c9ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / viprs-0.1.5-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL viprs-0.1.5-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 2.7 MB
Tags CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
287240ddc74c63bea92c111390489ac0ba3ba80d499bbf81b9cc7bb2e20f9750
BLAKE2b-256 checksum
How to use checksums
5b3b525a2ea8a1234d11196f8289c04788b236e098bd79ecc3ce4013c28f5b6d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / viprs-0.1.5-cp312-cp312-macosx_11_0_arm64.whl

Download URL viprs-0.1.5-cp312-cp312-macosx_11_0_arm64.whl
Size 326.6 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
d6e6f3120a4c52f2b7b04d13959910cb281912003e6a2579e70db906430f9769
BLAKE2b-256 checksum
How to use checksums
16ea498c2552fe5fe2b3fa2703e866a01ea18ec14fee68c760141169c525ae87
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / viprs-0.1.5-cp312-cp312-macosx_10_13_x86_64.whl

Download URL viprs-0.1.5-cp312-cp312-macosx_10_13_x86_64.whl
Size 430.6 kB
Tags CPython 3.12 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
74ab9d25786bcdfbfa8f8285aa195e88022db68af27313e48c7c115caaff5424
BLAKE2b-256 checksum
How to use checksums
1e45c97f0e0466d672b753863a7ec4d3fc64022a8397244b16cd8afc0bb73e0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / viprs-0.1.5-cp311-cp311-win_amd64.whl

Download URL viprs-0.1.5-cp311-cp311-win_amd64.whl
Size 422.8 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
299193761f857c1ff60a8dd6a41fba6f004dcd35d443c93a8e0bcbdbe9563af6
BLAKE2b-256 checksum
How to use checksums
244d08883ebceacf085b2808decb0c8916bbacefb75d4d8865bdaf5734c09591
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / viprs-0.1.5-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL viprs-0.1.5-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 2.7 MB
Tags CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
b99136cdbcb674f7669180305e39906d7087b32943a82269c9a9478cac5dfecf
BLAKE2b-256 checksum
How to use checksums
c18405bc5498bc2b77a5ea0628c263c41bc5737418ffbe02d4fa950957c9b404
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / viprs-0.1.5-cp311-cp311-macosx_11_0_arm64.whl

Download URL viprs-0.1.5-cp311-cp311-macosx_11_0_arm64.whl
Size 329.2 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
2fde779cc35301b1989d8bbfe6f6cc2f14d8488dc45c160da4eda0d6224158e7
BLAKE2b-256 checksum
How to use checksums
767f79ac82ccbe5dd365993de11f8742cf7e15e480123633a09ebda536d03b17
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / viprs-0.1.5-cp311-cp311-macosx_10_9_x86_64.whl

Download URL viprs-0.1.5-cp311-cp311-macosx_10_9_x86_64.whl
Size 435.2 kB
Tags CPython 3.11 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
8870ad56f68870e881a7d585c68c2ca23d9b9e4ba4fb3d1b11dd6558fe944b8b
BLAKE2b-256 checksum
How to use checksums
03c191a4e6da586437aab5ac97e237f34dc24d7a704b9fdb42613774c0eba84c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / viprs-0.1.5-cp310-cp310-win_amd64.whl

Download URL viprs-0.1.5-cp310-cp310-win_amd64.whl
Size 423.1 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
ab2f7ad8c7cc54e6ea3f9e84863542e03f29106090fbd5cceaf2af6fe86aed9a
BLAKE2b-256 checksum
How to use checksums
bd7ec3b7ef3efafea2a237ac49765d33c4e347822a4b0ba8ef5dc51e6367c16b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / viprs-0.1.5-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL viprs-0.1.5-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 2.6 MB
Tags CPython 3.10 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
d7299b39b5b3f0152a042a1620e7b8cdd59e681f482b835af2d07eddadd802d6
BLAKE2b-256 checksum
How to use checksums
35a4e61067a42d8f3a0a97b3ce81c2385bf1c595ff0a6821957cbbe18b0d4a20
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / viprs-0.1.5-cp310-cp310-macosx_11_0_arm64.whl

Download URL viprs-0.1.5-cp310-cp310-macosx_11_0_arm64.whl
Size 330.9 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
b3fd938108d26339331ae428cee191ad71a64760c3951de2395d17957a7224ab
BLAKE2b-256 checksum
How to use checksums
b9b17eca790eb1f021278eb6ba433c62d00872daf5f2931e1aaed6fed4b4fb02
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / viprs-0.1.5-cp310-cp310-macosx_10_9_x86_64.whl

Download URL viprs-0.1.5-cp310-cp310-macosx_10_9_x86_64.whl
Size 436.5 kB
Tags CPython 3.10 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
70e53d954a2f9d28b263df94ab9df4b6287ea00e8303a9349fafeefcca2bba58
BLAKE2b-256 checksum
How to use checksums
1fcec45641edc7126b983049400777ce514e06bc5d81646c2883588c7195cd2f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

0.1.5 This release

17 release files

0.1.3

16 release files

0.1.1

16 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page