Home

Awesome

scGen predicts single-cell perturbations.

<img align="center" src="/sketch/sketch.png?raw=true">

This repository includes python scripts in code and notebooks in the Jupyter Notebooks folder to reproduce figures from the paper (bioRxiv, 2018) according to the table bellow.

figurenotebook path
Figure 2Jupyter Notebooks/Fig2.ipynb
Figure 3Jupyter Notebooks/Fig3.ipynb
Figure 4Jupyter Notebooks/Fig4.ipynb
Figure 5Jupyter Notebooks/Fig5.ipynb
Figure 6Jupyter Notebooks/Fig6.ipynb
Supplemental Figure 1Jupyter Notebooks/SupplFig1.ipynb
Supplemental Figure 2Jupyter Notebooks/SupplFig2.ipynb
Supplemental Figure 4Jupyter Notebooks/SupplFig4.ipynb
Supplemental Figure 5Jupyter Notebooks/SupplFig5.ipynb
Supplemental Figure 6Jupyter Notebooks/SupplFig6.ipynb
Supplemental Figure 7Jupyter Notebooks/SupplFig7.ipynb
Supplemental Figure 8Jupyter Notebooks/SupplFig8.ipynb
Supplemental Figure 9Jupyter Notebooks/SupplFig9.ipynb
Supplemental Figure 10Jupyter Notebooks/SupplFig10.ipynb
Supplemental Figure 11Jupyter Notebooks/SupplFig11.ipynb
Supplemental Figure 12Jupyter Notebooks/SupplFig12.ipynb

To run the notebooks and scripts you need following packages :

tensorflow, scanpy, numpy, matplotlib, scipy, wget.

Getting Started

cd code/
python DataDownloader.py
python ModelTrainer.py all

Then you can run each notebook and reproduce the results.

All datasets are available in this drive directory.