For more details, please refer to our paper.
GHIST is a deep learning-based framework that predicts spatial gene expression at single-cell resolution from histology (H&E-stained) images by leveraging subcellular spatial transcriptomics and synergistic relationships between multiple layers of biological information.
Note: A GPU with 24GB VRAM is strongly recommended for the deep learning component. We ran GHIST on a Linux system with a 24GB NVIDIA GeForce RTX 4090 GPU, Intel(R) Core(TM) i9-13900F CPU @ 5.60GHz with 32 threads, and 32GB RAM.
- Clone repository:
git clone https://github.com/SydneyBioX/GHIST.git
- Create virtual environment:
conda create --name ghist python=3.10
- Activate virtual environment:
conda activate ghist
- Install dependencies:
cd GHIST
pip install -r requirements.txt
Please install the stainlib
package from https://github.com/sebastianffx/stainlib
Typically installation is expected to be completed within a few minutes.
Please check out the examples in tutorials for key use cases of GHIST, including:
Code for creating the output figures may be found in https://github.com/SydneyBioX/GHIST_figure
If GHIST has assisted you with your work, please kindly cite our paper: