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

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.4
File Size Uploaded
viprs-0.1.4.tar.gz 73.8 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for viprs 0.1.4
File
viprs-0.1.4-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
viprs-0.1.4-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.4-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
viprs-0.1.4-cp313-cp313-macosx_10_13_x86_64.whl CPython 3.13 CPython 3.13 macOS 10.13+ x86-64 Details
viprs-0.1.4-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
viprs-0.1.4-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.4-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
viprs-0.1.4-cp312-cp312-macosx_10_13_x86_64.whl CPython 3.12 CPython 3.12 macOS 10.13+ x86-64 Details
viprs-0.1.4-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
viprs-0.1.4-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.4-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details
viprs-0.1.4-cp311-cp311-macosx_10_9_x86_64.whl CPython 3.11 CPython 3.11 macOS 10.9+ x86-64 Details
viprs-0.1.4-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
viprs-0.1.4-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.4-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details
viprs-0.1.4-cp310-cp310-macosx_10_9_x86_64.whl CPython 3.10 CPython 3.10 macOS 10.9+ x86-64 Details

Total release size: 15.0 MB

Release files / viprs-0.1.4.tar.gz

Download URL viprs-0.1.4.tar.gz
Size 73.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9f6ddce0d8724392fd273e343183b0a1766ab53d6cb8953e396795c3172a297a
BLAKE2b-256 checksum
How to use checksums
eb48157adc709417178d28101240e182a7146829cf85aaf7efcb0fb43b2912f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

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

Download URL viprs-0.1.4-cp313-cp313-win_amd64.whl
Size 408.8 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
32f475fc7b427456542e915862ee2b68202ba6e45b0dd655d0f54346e8720ff4
BLAKE2b-256 checksum
How to use checksums
5f83ff436d929b31a86d13eadb2382b83b42bded6794f439b2b8c1e54630faee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

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

Download URL viprs-0.1.4-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
315d2fa3d5b23cb92ec5b2c7988fb134ebe803b875b4cd79c072cb02a33e654d
BLAKE2b-256 checksum
How to use checksums
6277aa930d7acd9bba7af260d166858cc1ad38cdc866c996dd4624eac564c524
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

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

Download URL viprs-0.1.4-cp313-cp313-macosx_11_0_arm64.whl
Size 311.5 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
45d00694841c2ecdceba60d3644dac1359f2945573cc7d3905f5e94d8455d0d9
BLAKE2b-256 checksum
How to use checksums
d9e9ccff9d633c8a1b1292c4c7d64a31ee40e6fcaebfd0bb79a21e92e9747e20
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

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

Download URL viprs-0.1.4-cp313-cp313-macosx_10_13_x86_64.whl
Size 414.6 kB
Tags CPython 3.13 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
36f3534cdc34b787e18d5e4c40cf9807605d5069a3bd3153a69cdaed7eeecb27
BLAKE2b-256 checksum
How to use checksums
93d1da3178f62feac3107b349c06198bf061e1b60d1d70dc1379245753c2bbb3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

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

Download URL viprs-0.1.4-cp312-cp312-win_amd64.whl
Size 410.2 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
a319a444784b9b1f6f173c07b8486d050e36df2d7e4ac6d7a83796f372fb0ed7
BLAKE2b-256 checksum
How to use checksums
e38635bd98562ffd207f6bf105b50a2be6bdd2e91e1b3088e1174bafae4538d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

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

Download URL viprs-0.1.4-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 2.6 MB
Tags CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
dc03a543e3e6348a1a5c607a55eb76ca95e865ba9a836602ed77fae012701f92
BLAKE2b-256 checksum
How to use checksums
94e1acf9460a5a200f7f3b1fccf77b7602b7b5350578f7337aabcd295c7cb1c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

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

Download URL viprs-0.1.4-cp312-cp312-macosx_11_0_arm64.whl
Size 313.0 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
5a0d8f8129331f74d6aaaeeb53ea28886f777985544c002fecea699418afcd12
BLAKE2b-256 checksum
How to use checksums
0d68553fa4bcc825d3c12f0ff1ae7b743ce5538c3b6ab544d50788c429e4a229
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

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

Download URL viprs-0.1.4-cp312-cp312-macosx_10_13_x86_64.whl
Size 416.4 kB
Tags CPython 3.12 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
f4bc1351ec34805b2f1e952f0469cb912730a6808d0bee15373c2b5379eb84f1
BLAKE2b-256 checksum
How to use checksums
5adb78a12fe17fb2aa370d6e1318894bb7d12f768130614e365de3b479e58faf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

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

Download URL viprs-0.1.4-cp311-cp311-win_amd64.whl
Size 405.2 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
34d09de5873c571e0e6a2f9414c4184bbadba616875fa950102f60908b0c2f15
BLAKE2b-256 checksum
How to use checksums
1f97c9b2242f144fc0dbf4c1be60e009554c00aa851a1de39db7adfe275b9cac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

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

Download URL viprs-0.1.4-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 2.6 MB
Tags CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
3df135c5777fd9a61524fb5f7b12ce9c2242c85fad05a847bbca1032c43c5475
BLAKE2b-256 checksum
How to use checksums
8c6043e7362f6f76fdabaa6db761e2821f2075b1c14d80f81a997ae94778bda7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

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

Download URL viprs-0.1.4-cp311-cp311-macosx_11_0_arm64.whl
Size 312.1 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
cfcb57ebf91ac4e003e16e3da428f5fdf44ac4c55bb371185ad8b913816ea81f
BLAKE2b-256 checksum
How to use checksums
9eef0c0178dc37ae4aa133a89beefd0265d3a9d91502d0e7669cc42e05fad359
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

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

Download URL viprs-0.1.4-cp311-cp311-macosx_10_9_x86_64.whl
Size 414.8 kB
Tags CPython 3.11 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
4e2bb6411727606e1a324977a3ec17915190eba6b56e296f0f5d95b087c4f756
BLAKE2b-256 checksum
How to use checksums
e4f8ed0417450764a760814a324bff9ef12ea7b3dac3f2750df0022a8f741c94
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

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

Download URL viprs-0.1.4-cp310-cp310-win_amd64.whl
Size 404.8 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
bdc2cc6ea80eb2d601d5ce4430fb8e971f21f669c1848728a200fdbfdfd1b4e5
BLAKE2b-256 checksum
How to use checksums
1335361928637e274146cb16f432501489c503bbcdcf24471611540ff3cb0e60
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

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

Download URL viprs-0.1.4-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
e33935569688755e50d9795243e22a323e0dc4dc8e00075e801631788d9b9d07
BLAKE2b-256 checksum
How to use checksums
49184dc0cab866fef76909f97204376e3dcb1e931c09907304095a35142a8fcd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

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

Download URL viprs-0.1.4-cp310-cp310-macosx_11_0_arm64.whl
Size 312.7 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
14ed7589a80107c3d2a8d1e8f9008f3f371d7783d3dc981e8cac5b665a321d83
BLAKE2b-256 checksum
How to use checksums
de1811153095b3f5f5f4c7463959ed9e55ee1fdbe170f6593a8a84c13a914476
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

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

Download URL viprs-0.1.4-cp310-cp310-macosx_10_9_x86_64.whl
Size 415.5 kB
Tags CPython 3.10 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
e4ca476383bc728c03b8256c5073c6265ff71ef7c0c3ebc5509d745c1e3817a4
BLAKE2b-256 checksum
How to use checksums
8096cc9cd37ccbd8dd8f06fe27f300772d02a166b4e940fe438b295c9eccee92
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release history Release notifications | RSS feed

This release

0.1.4 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