Skip to content

Latest commit

 

History

History
56 lines (39 loc) · 2.19 KB

File metadata and controls

56 lines (39 loc) · 2.19 KB

CellGRN

Introduction

CellGRN is a framework that shifts the paradigm from global fitting to cell-specific reconstruction. CellGRN adopts a two-step strategy: it first leverages a global regulatory backbone from a global modeling strategy, and subsequently reconstructs cell-specific regulatory weights by projecting individual cell states onto this backbone.

CellGRN-sparse is an accelerated version of CellGRN, which skipped the step of cell-specific GRN output and optimized with sparse matrix and block computation.

All datasets can be downloaded from FigShare or baidu Net Dist(https://pan.baidu.com/s/1mkpBOzyyuOHvmTPC4sMGBg?pwd=4r8v)

Overview of CellGRN and CellGRN-sparse


Workflow

Pakcage dependencies

  • Python >=3.8, scanpy, scikit-learn,pyranges,umap-learn, anndata,pandas, numpy, scipy, jupyter
  • Visualization requires extra matplotlib, seaborn and R>=3.5.

Installation

If you have not installed python dependencies above, we recommend to use conda in install CellGRN in an independent environment. The conda tool (miniconda) can be installed from anaconda website.

  • Step1: create a conda environment.
conda env create -f cellgrn_env.yml -n cellgrn
conda activate cellgrn
  1. Install cellgrn package.
git clone https://github.com/xxx/cellgrn
# set dir to folder
cd cellgrn
pip install .
  1. Test the installation in python
import cellgrn

Tutorial

A demo code for CellGRN and CellGRN-sparse tutorial

Repository structure

Reference

Reconstructing cell-specific GRN to decipher regulatory heterogeneity from single-cell multi-omics. (submited)