Variational Inference of Polygenic Risk Scores (VIPRS)
Project description
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++
andcython
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
Built Distributions
File details
Details for the file viprs-0.1.1.tar.gz
.
File metadata
- Download URL: viprs-0.1.1.tar.gz
- Upload date:
- Size: 61.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75c78ecd2915603b497b396cce0ddbb17c714ba63ff796051295b8a818edec9c |
|
MD5 | b21ff490f70732edab3d2ad411497cca |
|
BLAKE2b-256 | bc8dbf440b37019029ced8b7252128785b2c93221486160d6bd38f31b2f97527 |
File details
Details for the file viprs-0.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: viprs-0.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 4.9 MB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | db1b31e381954099bdbadf47ed41a17200b594d6180ad5c253d74c27310d3d91 |
|
MD5 | c7ab3eef9d317fbe3506e53590275053 |
|
BLAKE2b-256 | 1a3bda6f4a4d1656c7d9109e26f36b7d750aa2a98b9b64a2a2f1c89ad32fb9e9 |
File details
Details for the file viprs-0.1.1-cp312-cp312-macosx_11_0_arm64.whl
.
File metadata
- Download URL: viprs-0.1.1-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 626.6 kB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25b948e85c34305a0b0a346abc5a330354d9cfb6295d6d7cac5c7de6e1bd5f79 |
|
MD5 | 1e33547bbcdaef59b30a4c15d62fcb3f |
|
BLAKE2b-256 | d4f210007cd68c6eadf50c9cd9191595bd8cd8928e4a24ba3a2e0d424c63629f |
File details
Details for the file viprs-0.1.1-cp312-cp312-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: viprs-0.1.1-cp312-cp312-macosx_10_9_x86_64.whl
- Upload date:
- Size: 722.2 kB
- Tags: CPython 3.12, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3adaaef81f1c03752994eff4bb57fa285f55202435f8af28ae149a9ec7946bb |
|
MD5 | a062de09d6a0a470ed941745d4510c14 |
|
BLAKE2b-256 | 5b974a514a232364a9c3b7e224a8949343bebf84864e0f2145fa8825355a6a4c |
File details
Details for the file viprs-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: viprs-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 4.9 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60f6ea956eaa70d2812c5c467ecc047f2d54487e200c6c6390af60d8eaa62162 |
|
MD5 | 6d9f0cec967365242ec718be416d85d2 |
|
BLAKE2b-256 | 80676c3163f9441b73dfc06a53f40fefa8a626df736ecb624911b661b1a9f68c |
File details
Details for the file viprs-0.1.1-cp311-cp311-macosx_11_0_arm64.whl
.
File metadata
- Download URL: viprs-0.1.1-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 619.8 kB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 138322f2ef849975abf0af8561ac5a9ed81850cc08d1c6e1c8ee3bde408daba1 |
|
MD5 | 6b6ed95a1356afeb3de022646dd1c4a4 |
|
BLAKE2b-256 | c9156ca0f3448cd45d0585deb4cba3b1469dc2dd312c5c42a24e020ed8f8163b |
File details
Details for the file viprs-0.1.1-cp311-cp311-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: viprs-0.1.1-cp311-cp311-macosx_10_9_x86_64.whl
- Upload date:
- Size: 705.9 kB
- Tags: CPython 3.11, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f928b492cb79a58b89da82ad3b24443333d31c330a0d993c542f3743209aa89c |
|
MD5 | 1a6ff02f25b1a85024fbe5127a0da60e |
|
BLAKE2b-256 | 00c2a7323b7c2c2ab07e4a83e81f2156f40f0c980f908ab6b60a00defb8f971b |
File details
Details for the file viprs-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: viprs-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 4.7 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97d69df8b7f9c0651ceaf8420a581130580fa061127370c4bee8e38df13f7258 |
|
MD5 | 99cc071713e949d751973591bb646231 |
|
BLAKE2b-256 | 39df10b35d0e27b805fde4120e7cc9658951c388fa7b7577ea27bff9182abf35 |
File details
Details for the file viprs-0.1.1-cp310-cp310-macosx_11_0_arm64.whl
.
File metadata
- Download URL: viprs-0.1.1-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 617.2 kB
- Tags: CPython 3.10, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5234c25037a9c9c3ff579ada85a9b011c4280bbc840c8029d337c67f971f3d1 |
|
MD5 | 275bb8efe3904d708f3e4bacc6aa30b3 |
|
BLAKE2b-256 | 57f5ac4af7ede67985b2b1c892434bf986954f2d11d16c1f05273314cb2eb7dc |
File details
Details for the file viprs-0.1.1-cp310-cp310-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: viprs-0.1.1-cp310-cp310-macosx_10_9_x86_64.whl
- Upload date:
- Size: 700.0 kB
- Tags: CPython 3.10, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1b536da29520f9eb322390989f524a3af21fcfa6778774b672f5726ac2f4d61 |
|
MD5 | 81e96548a4dd454e57212b2d2fde8dcc |
|
BLAKE2b-256 | 9f58b0c42994bb97acbf61b53b92e937bcd04d9974e4223d9158fb1d22331472 |
File details
Details for the file viprs-0.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: viprs-0.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 4.7 MB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8468a62003cd32aeb4fc89dd81adf47ecb1172e981cf0883be1a43a7a72892eb |
|
MD5 | d8dfe45c13d6dced95e108dc6314a79a |
|
BLAKE2b-256 | 4c5f20a6dd3e38ceef31781188d2a47cabb42492dd1a4dca3ae8d525ec04e05e |
File details
Details for the file viprs-0.1.1-cp39-cp39-macosx_11_0_arm64.whl
.
File metadata
- Download URL: viprs-0.1.1-cp39-cp39-macosx_11_0_arm64.whl
- Upload date:
- Size: 618.9 kB
- Tags: CPython 3.9, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99074dc74d8f1aacfb6aeaba9f7228f51d014e5fd0b5f6529af8ca725d0f7637 |
|
MD5 | bd11e8fcabcc8b7334a273d37802c1f4 |
|
BLAKE2b-256 | 40fc5cadd1315d88aca05bf8dfd76589315f2431b7bc45bd8d0a74a4ae549ee0 |
File details
Details for the file viprs-0.1.1-cp39-cp39-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: viprs-0.1.1-cp39-cp39-macosx_10_9_x86_64.whl
- Upload date:
- Size: 702.0 kB
- Tags: CPython 3.9, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12fb8fd970188620415bdf50b5ba5b6df8eba296938dc3b1bc1fc8b59a8765aa |
|
MD5 | 04b36c0e65f61811a101b1f99e768d5b |
|
BLAKE2b-256 | 2de60eb7e036891c00d2170aabb4553562b06652e0ed228d8d55cc51b128d16e |
File details
Details for the file viprs-0.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: viprs-0.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 4.8 MB
- Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5db1a4fae529752f7db76c0b08ec0af857ca17ba1533a6bbf9892153ff5e1d95 |
|
MD5 | 77d137cdf9813127288497c8f7dcc0cf |
|
BLAKE2b-256 | f239d6a59aba5b34c4df4d2343b0b257da96a9069342a52b320be787412c1142 |
File details
Details for the file viprs-0.1.1-cp38-cp38-macosx_11_0_arm64.whl
.
File metadata
- Download URL: viprs-0.1.1-cp38-cp38-macosx_11_0_arm64.whl
- Upload date:
- Size: 619.3 kB
- Tags: CPython 3.8, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 659a7abafbc10177953042fd7ce6a8a73e32c295309a925b7dc713db867b3eeb |
|
MD5 | 026abeea840320b1bb930d8aaec3c677 |
|
BLAKE2b-256 | d1f026a5bf61f15c906cc0fe64dc3fd759e1be7b28242a3d80e280e55d1637f4 |
File details
Details for the file viprs-0.1.1-cp38-cp38-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: viprs-0.1.1-cp38-cp38-macosx_10_9_x86_64.whl
- Upload date:
- Size: 701.7 kB
- Tags: CPython 3.8, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | abb560290d2cd4b511f61bf1b5f1f131a56d7f04a8cf5436d83cdb3afd59aac7 |
|
MD5 | e0ddee5ad4c6fdf8deaf5a5905b68bfb |
|
BLAKE2b-256 | 1bcb8937c03e4923b0fa59b6f99a1b4b41c63790301db193ca9d431f185dc761 |