scCube is a python package coupled with an interactive website for reproducible, paired, and platform-diverse simulation of spatially-resolved transcriptomic data
For scSpace, the python version need is over 3.8. If you have installed Python3.6 or Python3.7, consider installing Anaconda, and then you can create a new environment.
conda create -n sccube python=3.8
conda activate sccube
The version of pytorch should be suitable to the CUDA version of your machine. You can find the appropriate version on the PyTorch website. Here is an example with CUDA11.6:
pip install torch --extra-index-url https://download.pytorch.org/whl/cu116
cd scCube-release
pip install -r requirements.txt
python setup.py build
python setup.py install
To use scCube we require five formatted .csv files as input (i.e. read in by pandas). We have included two test datasets
in the tutorial/demo_data folder of this repository as examples to show how to use scCube.
If you generate spot-based ST data, please refer to:
If you generate image-based ST data, please refer to:
For more details about the format of input and the description of parameters, see the Tutorial Handbook.
TODO:
scCube was developed by Jie Liao and Jingyang Qian. Should you have any questions, please contact Jingyang Qian at qianjingyang@zju.edu.cn.
