prusie: SuSiE fine-mapping in Python
prusie fits SuSiE fine-mapping models in Python with a Rust solver. It returns
component inclusion probabilities (alpha), posterior inclusion probabilities (PIPs)
and credible sets from association summaries, sufficient statistics or
individual-level data. See numerical accuracy for
validation against susieR 0.16.6 and the model for assumptions.
- Dense and sparse individual data, summary statistics, sufficient statistics, regularized RSS, single-effect regression and trend filtering.
- Gaussian or fixed mixture priors, conjugate NIG residual inference, slot activity models and automatic or greedy effect counts.
- Posterior accessors, credible-set controls, prediction and model summaries.
SuSiE-inf, SuSiE-ash and Mr.ASH are outside the supported model set.
Installation
prusie 0.3.1 supports CPython 3.10 and newer (GIL builds). Install from PyPI:
pip install prusie
Prebuilt stable-ABI (abi3) wheels cover Linux x86-64/ARM64, macOS Intel/Apple
silicon and Windows x86-64. The same wheel is tested on CPython 3.10–3.15;
free-threaded builds are not supported. Wheels need neither Rust nor a compiler.
NumPy is the only required Python dependency for core fitting. Use
pip install 'prusie[analysis]' to add SciPy for sparse input, advanced RSS models
and posterior outcome configurations, and Matplotlib for plotting. Fitting does
not require R. See the installation guide for platform requirements,
local wheels and building from source.
Example
The packaged synthetic toy example with 500 variants can be fitted offline:
import prusie
example = prusie.load_example()
fit = prusie.susie_rss(
**example["inputs"], **example["parameters"], track_fit="compact", retain_data=True
)
summary = prusie.summarize(fit, example["inputs"]["R"], z=example["inputs"]["z"])
print(prusie.summary_text(summary).splitlines()[0])
print(f"IBSS: {fit.convergence['stop_reason']} ({fit.niter} sweeps)")
for cs in summary["credible_sets"]:
print(f"CS {cs['component_id']}: {', '.join(cs['members'])}")
Expected output:
500 variants; 2 retained credible sets; 2 active components.
IBSS: criterion_satisfied (3 sweeps)
CS 0: syn0100
CS 1: syn0350
The quick-start tutorial explains these PIPs and credible sets (CS) and then produces figures and an offline report from the same fit.
Accuracy and performance
Measured prusie 0.3.0 against susieR 0.16.6 on the same inputs.
| Evaluated cases | Cases | Cumulative runtime ratio | Cumulative fitting-stage ratio | Median peak-memory ratio |
|---|---|---|---|---|
| GWAS | 200 | 49.2× | 55.4× | 5.11× |
| eQTL | 14,157 | 26.6× | 29.8× | 4.60× |
The cumulative ratios divide the summed susieR time by the summed prusie time over three retained complete calls of every evaluated case, with one numerical thread; the fitting stage excludes input and LD preparation. The memory ratio is the median of paired susieR/prusie ratios of peak backend-process memory. All measurements are from exclusive AMD EPYC 7742 nodes. Ratios for other traits, tissues, region sizes and LD references may differ; see performance.
The performance report identifies the measured software, hardware, data and protocol.
Documentation
Quick start · Reading results · Convergence and refinement · Sensitivity and LD · API
The official susieR Toy example shows how credible sets and PIPs change under refinement. Browse the documentation site for the deployed version.
Citation and license
Please cite SuSiE, Wang et al. (2020) and SuSiE-RSS, Zou et al. (2022), and identify the prusie version using CITATION.cff. Copyright © 2026 Wenxin Jiang; licensed under GPL-3.0-or-later; see third-party notices for upstream attribution.
Metadata
Release files for prusie 0.3.1
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 |
|---|---|---|---|---|
| prusie-0.3.1.tar.gz | 11.4 MB | With provenance | Details for prusie-0.3.1.tar.gz |
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| prusie-0.3.1-cp310-abi3-win_amd64.whl | CPython 3.10 | abi3 | Windows x86-64 | Details for prusie-0.3.1-cp310-abi3-win_amd64.whl |
| prusie-0.3.1-cp310-abi3-manylinux_2_28_x86_64.whl | CPython 3.10 | abi3 | Linux glibc 2.28+ x86-64 | Details for prusie-0.3.1-cp310-abi3-manylinux_2_28_x86_64.whl |
| prusie-0.3.1-cp310-abi3-manylinux_2_28_aarch64.whl | CPython 3.10 | abi3 | Linux glibc 2.28+ ARM64 | Details for prusie-0.3.1-cp310-abi3-manylinux_2_28_aarch64.whl |
| prusie-0.3.1-cp310-abi3-macosx_11_0_arm64.whl | CPython 3.10 | abi3 | macOS 11.0+ ARM64 | Details for prusie-0.3.1-cp310-abi3-macosx_11_0_arm64.whl |
| prusie-0.3.1-cp310-abi3-macosx_10_12_x86_64.whl | CPython 3.10 | abi3 | macOS 10.12+ x86-64 | Details for prusie-0.3.1-cp310-abi3-macosx_10_12_x86_64.whl |
Total release size: 26.8 MB
Release files / prusie-0.3.1.tar.gz
| Download URL | prusie-0.3.1.tar.gz |
|---|---|
| Size | 11.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ee12d09f3de32ff9cd4b0aa967c50c96f5614783f17d767d5548331d55642aa7
|
|
BLAKE2b-256 checksum How to use checksums |
232ed4f786b6e8d3cec717b01cad15897c9fa7c3d8840248d6c4d99ae026de77
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.
Transparency logRelease files / prusie-0.3.1-cp310-abi3-win_amd64.whl
| Download URL | prusie-0.3.1-cp310-abi3-win_amd64.whl |
|---|---|
| Size | 3.0 MB |
| Tags | CPython 3.10 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
f182c95d2e4b74b86ef1736bd8b109117837fd01b18ee1e42e37668f68b0d06d
|
|
BLAKE2b-256 checksum How to use checksums |
153f7cd389d5f80b4819b8e17659f380669a9c3512ccf65296aa13b55ec80263
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.
Transparency logRelease files / prusie-0.3.1-cp310-abi3-manylinux_2_28_x86_64.whl
| Download URL | prusie-0.3.1-cp310-abi3-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 3.2 MB |
| Tags | CPython 3.10 Linux glibc 2.28+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
a9646da501013e8d9bce3e1fe2bfcbecf46443cd0e5901d63ea3c1db2d553859
|
|
BLAKE2b-256 checksum How to use checksums |
69490fc785c46b8de316aaabc607de7e22a7e721e139c7392d0462dcf57accd9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.
Transparency logRelease files / prusie-0.3.1-cp310-abi3-manylinux_2_28_aarch64.whl
| Download URL | prusie-0.3.1-cp310-abi3-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 3.1 MB |
| Tags | CPython 3.10 Linux glibc 2.28+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
319451e76e7e402f73c2f8bb4804741c02897f478566c7cfe4ea2efd9fe89efd
|
|
BLAKE2b-256 checksum How to use checksums |
d1dd99a1cfc9ab9027a3281ae701a01a75e56375100a4d06849590915886b5ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.
Transparency logRelease files / prusie-0.3.1-cp310-abi3-macosx_11_0_arm64.whl
| Download URL | prusie-0.3.1-cp310-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 3.0 MB |
| Tags | CPython 3.10 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
8f0bb740725716c364d053c1e7037b4933c73324bcef5f8675a7805d5d44760c
|
|
BLAKE2b-256 checksum How to use checksums |
6655d774bf7d541d2c9ef2c40683eabd092efcc98cc3a67ed96b3a9362956885
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.
Transparency logRelease files / prusie-0.3.1-cp310-abi3-macosx_10_12_x86_64.whl
| Download URL | prusie-0.3.1-cp310-abi3-macosx_10_12_x86_64.whl |
|---|---|
| Size | 3.1 MB |
| Tags | CPython 3.10 abi3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
6515ee5859bf02156b58eae04ee480b6e15f1fd209dd9a245ce3e2924873b065
|
|
BLAKE2b-256 checksum How to use checksums |
72acc54a44f6a63f828cb489511cc0d3f627cbc2491b7637c8889131321523b1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.
Transparency logSecurity for prusie 0.3.1
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.
Full provenance
All 6 files in this release have been uploaded with provenance metadata.
Attestation for prusie-0.3.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.
Transparency logA 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.