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

Uploaded Python 3

File details

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

File metadata

  • Download URL: PerturbNet-0.0.3b0.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.3b0.tar.gz
Algorithm Hash digest
SHA256 33977ab1681b79eded065f8828a0edefe378e9068066076220d3fcac9a49b48f
MD5 b27da1966e50663cfa5a5cc8b5bc7929
BLAKE2b-256 9c2c7ceee6f631cefa706029021e5ffce14f4331305aca37eda2310eea457df4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PerturbNet-0.0.3b0-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.3b0-py3-none-any.whl
Algorithm Hash digest
SHA256 eebb66169f015c02531815036573707f25399cd328a01d504a79c2ac2c4e76c5
MD5 e175a3ecdd13958c510f5c3c82fc9f0c
BLAKE2b-256 0ed5fdb3ae9cfcebfc8b605ec055f3e1751fd3f5eea076641e6a0ea67aa9129a

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