Skip to main content

Documentation PyPI GitHub License Project generated with Hatch

PerturbVI

PerturbVI infers latent gene programs and their perturbation effects from single-cell Perturb-seq data.

[!NOTE] For the preprint, please see:
PerturbVI: A Scalable Latent Factor Model to Infer Genetic Regulatory Modules through CRISPR Perturbation Data.
doi.org/10.0000/perturbvi (placeholder DOI)

[!IMPORTANT] To reproduce the analyses in the preprint:
zenodo.org/records/0000000 (placeholder)

Installation

uv pip install perturbvi

Quick start

Prepare an H5AD file with transformed expression in adata.X and a binary, named perturbation DataFrame in adata.obsm["G"].

from pathlib import Path
from perturbvi import fit_screen, load_screen, save_results

result_dir = Path("results/my_screen")
data = load_screen(
    "data/screen.h5ad",
)
fit = fit_screen(
    data,
    z_dim=12,
    l_dim=100,
)
save_results(
    fit,
    result_dir,
)

This saves the fitted model and labeled result CSVs in result_dir. See the tutorials for plotting and enrichment.

Tutorials

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

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for perturbvi 0.3.0
File Size Uploaded
perturbvi-0.3.0.tar.gz 40.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for perturbvi 0.3.0
File Interpreter ABI Platform
perturbvi-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 89.1 kB

Release files / perturbvi-0.3.0.tar.gz

Download URL perturbvi-0.3.0.tar.gz
Size 40.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b1903d5f412eefa4c2447180e0fb2ca7934d7428ba8d07e8ee3aa5e56178465d
BLAKE2b-256 checksum
How to use checksums
0da7eb5f7699888bccfb78b45b554def53daaab91f96b2e4fa3ea9441e21373d
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.0-py3-none-any.whl

Download URL perturbvi-0.3.0-py3-none-any.whl
Size 48.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
694568404cd5c1584477817c4e0e6d7c72c4ace5b5041a4dacad479fc9dff2b2
BLAKE2b-256 checksum
How to use checksums
8ff8980549543a349e1572b4ac028b6fbc5a8a0b4bafce2ab40a1ae1ea213a70
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 history Release notifications | RSS feed

0.3.2

2 release files

0.3.1

2 release files

This release

0.3.0 This release

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

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