MIT License

项目介绍

scverse/pertpy 是一个托管在 GitHub 上的开源项目,主要使用 Python 编写,采用 MIT License 许可证,目前获得 357 个 Star、70 次 Fork。

仓库全名
scverse/pertpy
开源许可证
MIT License
Star 数
357
Fork 数
70
未关闭 Issue
17

README 摘要

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. Please read…

完整内容见 GitHub 原始 README 或本页 。

常见问题

pertpy 用什么语言开发?

主要使用 Python 编写,采用 MIT License 许可证,目前有 357 个 Star。

pertpy 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 pertpy 的源码?

可以直接克隆仓库:git clone https://github.com/scverse/pertpy.git,默认分支为 main;安装与运行步骤见仓库 README。

pertpy 最近还在维护吗?

仓库最近一次更新为 3 天前,当前有 17 个未关闭 Issue;Star 数为 357,可作为社区活跃度的参考。

关于

Single-cell perturbation analysis

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
502
价值分
234
活跃状态
活跃

语言占比

Python

Release

README

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.

Please read our associated manuscript “Pertpy: an end-to-end framework for perturbation analysis”.

fig1

Documentation

Please read the documentation for installation instructions, 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

JAX backed tools

pip install 'pertpy[jax]'

Required by scCODA, CINEMA-OT, scGen, MLPClassifierSpace, the "wasserstein" distance metric and the mixture model of GuideAssignment. tascCODA pulls it in via pertpy[tcoda]. Everything else works without it.

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{Heumos2025,
  author    = {Heumos, Lukas and Ji, Yuge and May, Lilly and Green, Tessa D. and Peidli, Stefan and Zhang, Xinyue and Wu, Xichen and Ostner, Johannes 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 Pinto, Gonçalo and Bahrami, Mojtaba and Gold, Ilan and Rybakov, Sergei and Namsaraeva, Altana and Moinfar, Amir Ali 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},
  journal   = {Nature Methods},
  year      = {2025},
  publisher = {Springer Nature},
  doi       = {10.1038/s41592-025-02909-7},
  url       = {https://doi.org/10.1038/s41592-025-02909-7},
  issn      = {1548-7105}
}

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.

评论

暂无评论