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.