Decoding Single-Cell Omics of Perturbation Responses Using DeSCOPE
DeSCOPE is a single-cell perturbation prediction framework designed for scRNA-seq, scATAC-seq, and general single-cell–level perturbation modeling. It is built on a conditional Variational Autoencoder (cVAE) architecture, in which perturbed genes are represented by embeddings derived from the ESM2 protein language model and used as conditioning information to model cellular responses to genetic perturbations. Through this design, DeSCOPE delivers strong predictive performance in challenging scenarios, including unseen genes and unseen cell types.
Installation
Environment Setup
Step 1: Set up a python environment
We recommend creating a virtual Python environment with Anaconda:
- Required version:
python >= 3.10
conda create -n descope python=3.10
conda activate descope
Step 2: Install pytorch
Install PyTorch based on your system configuration. Refer to PyTorch installation instructions.
For the exact command, for example:
- You may choose any version to install, but make sure the PyTorch version is not too old.
- We recommend
torch ≥ 2.6.
# Installation Example: torch v2.7.1
# CUDA 11.8
pip install torch==2.7.1 torchvision==0.22.1 torchaudio==2.7.1 --index-url https://download.pytorch.org/whl/cu118
# CUDA 12.6
pip install torch==2.7.1 torchvision==0.22.1 torchaudio==2.7.1 --index-url https://download.pytorch.org/whl/cu126
# CUDA 12.8
pip install torch==2.7.1 torchvision==0.22.1 torchaudio==2.7.1 --index-url https://download.pytorch.org/whl/cu128
Step 3: Install deepspeed (optional)
Install DeepSpeed based on your system configuration. Refer to DeepSpeed installation instructions.
For the exact command, for example:
pip install deepspeed
Step 4: Install descope and dependencies
To install descope, run:
pip install descopex
Or install from github:
git clone https://github.com/Peg-Wu/DeSCOPE.git
cd DeSCOPE
pip install [-e] .
Check if installation was successful:
import descope
descope.welcome()
Datasets Zoo
scRNA-seq
| Paper | Dataset | Download Link |
|---|---|---|
| Replogle et al., 2022 | K562_GWPS (61.3GB) | download |
| Replogle et al., 2022 | K562_ESSENTIAL (9.9GB) | download |
| Replogle et al., 2022 | RPE1 (8.1GB) | download |
| Nadig et al., 2025 | HEPG2 (5.2GB) | download |
| Nadig et al., 2025 | JURKAT (8.7GB) | download |
| Norman et al., 2019 | Norman_K562 | download |
| Ours | PC-9 | download |
- The H1 dataset was obtained from the Virtual Cell Challenge 2025. (download)
- NOTE: ESM2 gene embeddings can also be obtained from here.
scATAC-seq
- Cell-by-cCRE / Cell-by-peak: Human-scATAC-Corpus
Acknowledgements
We sincerely thank the authors of following open-source projects:
Metadata
Release files for descopex 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| descopex-1.0.0.tar.gz | 13.6 MB | Without provenance | Details for descopex-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| descopex-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for descopex-1.0.0-py3-none-any.whl |
Total release size: 13.7 MB
Release files / descopex-1.0.0.tar.gz
| Download URL | descopex-1.0.0.tar.gz |
|---|---|
| Size | 13.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2732502ace5ba978423ecaeac8218584750638ecc9e64c096cd3cf9bcc7fc4a6
|
|
BLAKE2b-256 checksum How to use checksums |
33b324165c076cb462924dcb970e1bcb50884c6cc035327009f06032ffdb752d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.0
|
Release files / descopex-1.0.0-py3-none-any.whl
| Download URL | descopex-1.0.0-py3-none-any.whl |
|---|---|
| Size | 40.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
32c503f4cd4cc7092f487327a16ab970b768b7e72020281ce8eff700762b8215
|
|
BLAKE2b-256 checksum How to use checksums |
fd63cbdbb3be9232dfbabc62d49978134ef897054a948daea7d137f5902afcb9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.0
|
Security for descopex 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.