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.

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

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)

Source distribution for perturbvi 0.3.2
File Size Uploaded
perturbvi-0.3.2.tar.gz 40.2 kB Details

Built distribution (wheel)

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

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}

Release history Release notifications | RSS feed

This release

0.3.2 This release

2 release files

0.3.1

2 release files

0.3.0

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