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.3b1.tar.gz (99.0 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.3b1-py3-none-any.whl (119.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: PerturbNet-0.0.3b1.tar.gz
  • Upload date:
  • Size: 99.0 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.3b1.tar.gz
Algorithm Hash digest
SHA256 c46854e70e94174c5d5a2d1b7bbfa8ed463be6cd7116d0c08dc25ddd35e6f2ad
MD5 7a4068b529deb2acf6655c23849a56af
BLAKE2b-256 ed1cbe43f38dc08c21dc750339e5d8ccb5b8ec9cf679f777134d9a1ae627695f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PerturbNet-0.0.3b1-py3-none-any.whl
  • Upload date:
  • Size: 119.1 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.3b1-py3-none-any.whl
Algorithm Hash digest
SHA256 6fd0cf1d2fd5fa2000fee482dddc66852855a7aa8b315fff18e2a88de06a0887
MD5 6bd34b795d4dd7731107fe24c7168a09
BLAKE2b-256 5d614429653919a865466802a2c683842795499a33775dccf7aef83acf4dbe03

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