Skip to main content

PerturbNet

Project description

PerturbNet

PerturbNet is a deep generative model that can predict the distribution of cell states induced by chemical or genetic perturbation. The repository contains the code for the preprint PerturbNet predicts single-cell responses to unseen chemical and genetic perturbations.

System Requirements and Installation

The current version of PerturbNet requires Python 3.7. All required dependencies are listed in requirements.txt. We recommend creating a clean Conda environment using the following command:

conda create -n "PerturbNet" python=3.7

After setting up the environment, you can install the package by running:

pip install PerturbNet

Core Repository Structure

./perturbnet contains the core modules to train and benchmark the PerturbNet framework.

./perturbnet/net2net contains the conditional invertible neural network (cINN) modules in the GitHub repository of Network-to-Network Translation with Conditional Invertible Neural Networks.

./perturbnet/pytorch_scvi contains our adapted modules to decode latent representations to expression profiles based on scVI version 0.7.1.

Tutorial and Reproducibility

The [./notebooks] directory contains Jupyter notebooks demonstrating how to use PerturbNet and includes code to reproduce the results. The required data, toy examples, and model weights can be downloaded from Hugging Face.

Reference

Please consider citing

@article {Yu2022.07.20.500854,
	author = {Yu, Hengshi and Welch, Joshua D},
	title = {PerturbNet predicts single-cell responses to unseen chemical and genetic perturbations},
	elocation-id = {2022.07.20.500854},
	year = {2022},
	doi = {10.1101/2022.07.20.500854},
	publisher = {Cold Spring Harbor Laboratory},
	URL = {https://www.biorxiv.org/content/early/2022/07/22/2022.07.20.500854},
	eprint = {https://www.biorxiv.org/content/early/2022/07/22/2022.07.20.500854.full.pdf},
	journal = {bioRxiv}
}

We appreciate your interest in our work.

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

PerturbNet-0.0.3.tar.gz (99.3 kB view details)

Uploaded Source

Built Distribution

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

PerturbNet-0.0.3-py3-none-any.whl (118.9 kB view details)

Uploaded Python 3

File details

Details for the file PerturbNet-0.0.3.tar.gz.

File metadata

  • Download URL: PerturbNet-0.0.3.tar.gz
  • Upload date:
  • Size: 99.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.7

File hashes

Hashes for PerturbNet-0.0.3.tar.gz
Algorithm Hash digest
SHA256 0729ffa6c38a0b727e4278b8f02abaf81398f7dc3239c03d84b50b8736bdc5a1
MD5 a39969c00f7a1bb62554b1460c3e7a70
BLAKE2b-256 45e2d5abfda3fe76b6d8fbf4ec3ab729725f66d14de9383e1cf62c70d17d9400

See more details on using hashes here.

File details

Details for the file PerturbNet-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: PerturbNet-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 118.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.7

File hashes

Hashes for PerturbNet-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 87c0bc70c8b71e8bf67cd15f6cbc77651e5f366bb538cf9c3ae8d21d8d6d6e8a
MD5 0121cb0816281f7549f8fb42783765b5
BLAKE2b-256 05ae7391f38b05bb6d879007b63bf559887facc7ed5672c9512502df76c2b471

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