PerturbVI
PerturbVI infers latent gene programs and their perturbation effects from single-cell Perturb-seq data.
Installation
uv pip install perturbvi
Quick start
Prepare an H5AD with transformed expression in adata.X and a binary
perturbation matrix in adata.obsm["G"].
from pathlib import Path
from perturbvi import fit_screen, load_screen, save_results
result_dir = Path("results")
screen = load_screen("data/screen.h5ad")
fit = fit_screen(
screen,
z_dim=20,
l_dim=1000,
init="pca"
)
save_results(fit, result_dir)
See the tutorials for detailed analysis.
Tutorials
- LUHMES Analysis with PerturbVI: fitting, factor and gene effects, and neuronal GO enrichment.
- Using PerturbVI with Your Data: CSV and AnnData inputs, controls, covariates, and fitting.
- API: function arguments, result matrices, and CLI.
Support
Please report bugs or feature requests in the
issue tracker.
For questions or comments, contact Abdullah Al Nahid (alnahid@usc.edu) or Nicholas Mancuso
(nmancuso@usc.edu).
Other Software
Other software developed by the Mancuso Lab:
- SuShiE: a Bayesian fine-mapping framework for molecular QTL data across multiple ancestries.
- jaxQTL: scalable, count-based large-scale eQTL mapping.
- MA-FOCUS: a Bayesian fine-mapping framework using TWAS statistics across multiple ancestries to identify causal genes for complex traits.
- SuSiE-PCA: scalable Bayesian variable selection for sparse principal component analysis.
- twas_sim: simulation of TWAS statistics.
- traceax: stochastic trace estimation for linear operators.
- FactorGo: scalable variational factor analysis for learning pleiotropic factors from GWAS summary statistics.
- HAMSTA: estimation of heritability explained by local ancestry data from admixture mapping summary statistics.
PerturbVI is distributed under the terms of the MIT license.
Metadata
Release files for perturbvi 0.3.2
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 |
|---|---|---|---|---|
| perturbvi-0.3.2.tar.gz | 40.2 kB | Without provenance | Details for perturbvi-0.3.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| perturbvi-0.3.2-py3-none-any.whl | Python 3 | none | any | Details for perturbvi-0.3.2-py3-none-any.whl |
Total release size: 87.9 kB
Release files / perturbvi-0.3.2.tar.gz
| Download URL | perturbvi-0.3.2.tar.gz |
|---|---|
| Size | 40.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5135db1d6730fdec65a7f9780a632ff9470de6e5240ee18f196774f39545fc65
|
|
BLAKE2b-256 checksum How to use checksums |
406774268147930a4ccee0778b88de3af568cdaa7aca8a456595802e21d1914e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / perturbvi-0.3.2-py3-none-any.whl
| Download URL | perturbvi-0.3.2-py3-none-any.whl |
|---|---|
| Size | 47.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d53cc01c8432c8382d2fd1a8f1ef5008a784c7f25925ce215860ec557d8771fb
|
|
BLAKE2b-256 checksum How to use checksums |
f3a620989988b95fc7fe16e61661355cd1502ff6850d735ef16f3136451ddc0c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for perturbvi 0.3.2
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.