Skip to main content

Perturbation Analysis in the scverse ecosystem.

Project description

Build codecov License PyPI Python Version Read the Docs Test PyPI

pertpy - Perturbation Analysis in Python

Pertpy is a scverse ecosystem framework for analyzing large-scale single-cell perturbation experiments. It provides tools for harmonizing perturbation datasets, automating metadata annotation, calculating perturbation distances, and efficiently analyzing how cells respond to various stimuli like genetic modifications, drug treatments, and environmental changes.

fig1

Documentation

Please read the documentation for installation, tutorials, use cases, and more.

Installation

We recommend installing and running pertpy on a recent version of Linux (e.g. Ubuntu 24.04 LTS). No particular hardware beyond a standard laptop is required.

You can install pertpy in less than a minute via pip from PyPI:

pip install pertpy

Differential gene expression

If you want to use the differential gene expression interface, please install pertpy by running:

pip install 'pertpy[de]'

tascCODA

if you want to use tascCODA, please install pertpy as follows:

pip install 'pertpy[tcoda]'

milo

milo further requires edger, statmod, and rpy2 to be installed:

BiocManager::install("edgeR")
BiocManager::install("statmod")
pip install rpy2

Citation

@article {Heumos2024.08.04.606516,
    author = {Heumos, Lukas and Ji, Yuge and May, Lilly and Green, Tessa and Zhang, Xinyue and Wu, Xichen and Ostner, Johannes and Peidli, Stefan and Schumacher, Antonia and Hrovatin, Karin and Müller, Michaela and Chong, Faye and Sturm, Gregor and Tejada, Alejandro and Dann, Emma and Dong, Mingze and Bahrami, Mojtaba and Gold, Ilan and Rybakov, Sergei and Namsaraeva, Altana and Moinfar, Amir and Zheng, Zihe and Roellin, Eljas and Mekki, Isra and Sander, Chris and Lotfollahi, Mohammad and Schiller, Herbert B. and Theis, Fabian J.},
    title = {Pertpy: an end-to-end framework for perturbation analysis},
    elocation-id = {2024.08.04.606516},
    year = {2024},
    doi = {10.1101/2024.08.04.606516},
    publisher = {Cold Spring Harbor Laboratory},
    URL = {https://www.biorxiv.org/content/early/2024/08/07/2024.08.04.606516},
    eprint = {https://www.biorxiv.org/content/early/2024/08/07/2024.08.04.606516.full.pdf},
    journal = {bioRxiv}
}

pertpy is part of the scverse® project (website, governance) and is fiscally sponsored by NumFOCUS. If you like scverse® and want to support our mission, please consider making a tax-deductible donation to help the project pay for developer time, professional services, travel, workshops, and a variety of other needs.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pertpy-0.11.4.tar.gz (4.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pertpy-0.11.4-py3-none-any.whl (215.0 kB view details)

Uploaded Python 3

File details

Details for the file pertpy-0.11.4.tar.gz.

File metadata

  • Download URL: pertpy-0.11.4.tar.gz
  • Upload date:
  • Size: 4.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pertpy-0.11.4.tar.gz
Algorithm Hash digest
SHA256 8c35433578c2c866c6b79b04004debeb5fdb2f0e3048cfcb9eb56868daf0f8ef
MD5 e46d678bdf0e57560b60fe37cd367a67
BLAKE2b-256 2e9816d1e6ffb8a3bd1f9e3fb75dcc39e7fbdc7cf3fb6164b06083c57b2afe26

See more details on using hashes here.

File details

Details for the file pertpy-0.11.4-py3-none-any.whl.

File metadata

  • Download URL: pertpy-0.11.4-py3-none-any.whl
  • Upload date:
  • Size: 215.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pertpy-0.11.4-py3-none-any.whl
Algorithm Hash digest
SHA256 912f854c4768e91b6f592d830a34b0c4ef4e3cbb427d48a9b355200f0e0132e2
MD5 1fdfb595660e6cc1c3a298056ed1ee8b
BLAKE2b-256 3ea719b3357b563dae3413db19f2fff695484e45f4b59196ea1e1de571a40721

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page