Perturbation Analysis in the scverse ecosystem.
Project description
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.
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
or conda-forge:
conda install -c conda-forge 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 requires either the "de" extra for the "pydeseq2" solver:
pip install 'pertpy[de]'
or, edger, statmod, and rpy2 for the "edger" solver:
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pertpy-1.0.0.tar.gz
.
File metadata
- Download URL: pertpy-1.0.0.tar.gz
- Upload date:
- Size: 4.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
5bf4dc648e30856a5c70c8ee11869750126e8e9342c8b3cb1ad2140350e109ab
|
|
MD5 |
c92770e20832c21b59a369eadd1fcae3
|
|
BLAKE2b-256 |
c00630a0a873d2f4471b1db53fe3d9a68da3a22907da3fa9a60f36ea4f77edff
|
Provenance
The following attestation bundles were made for pertpy-1.0.0.tar.gz
:
Publisher:
release.yml
on scverse/pertpy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1
-
Predicate type:
https://docs.pypi.org/attestations/publish/v1
-
Subject name:
pertpy-1.0.0.tar.gz
-
Subject digest:
5bf4dc648e30856a5c70c8ee11869750126e8e9342c8b3cb1ad2140350e109ab
- Sigstore transparency entry: 227297120
- Sigstore integration time:
-
Permalink:
scverse/pertpy@512c0e0f3eb25f2df915e5a4fcbeb7dcbddbd6e4
-
Branch / Tag:
refs/tags/1.0.0
- Owner: https://github.com/scverse
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com
-
Runner Environment:
github-hosted
-
Publication workflow:
release.yml@512c0e0f3eb25f2df915e5a4fcbeb7dcbddbd6e4
-
Trigger Event:
release
-
Statement type:
File details
Details for the file pertpy-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: pertpy-1.0.0-py3-none-any.whl
- Upload date:
- Size: 216.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
8a6dd8cf51483f6dea6cdd35421b8189019461619e03dcefbd00cea816072ed8
|
|
MD5 |
7af92bf4579d142566228a6acf41f9c1
|
|
BLAKE2b-256 |
0786eec490a06248ce4c53ff919d89a7d963837bc59f475de551aac27cde3745
|
Provenance
The following attestation bundles were made for pertpy-1.0.0-py3-none-any.whl
:
Publisher:
release.yml
on scverse/pertpy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1
-
Predicate type:
https://docs.pypi.org/attestations/publish/v1
-
Subject name:
pertpy-1.0.0-py3-none-any.whl
-
Subject digest:
8a6dd8cf51483f6dea6cdd35421b8189019461619e03dcefbd00cea816072ed8
- Sigstore transparency entry: 227297132
- Sigstore integration time:
-
Permalink:
scverse/pertpy@512c0e0f3eb25f2df915e5a4fcbeb7dcbddbd6e4
-
Branch / Tag:
refs/tags/1.0.0
- Owner: https://github.com/scverse
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com
-
Runner Environment:
github-hosted
-
Publication workflow:
release.yml@512c0e0f3eb25f2df915e5a4fcbeb7dcbddbd6e4
-
Trigger Event:
release
-
Statement type: