You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
a spatial deconvolution method based on deep learning frameworks, which converts bulk transcriptomes into spatially resolved single-cell expression profiles
Bulk2Space is a two-step spatial deconvolution method based on deep learning frameworks, which converts bulk transcriptomes into spatially resolved single-cell expression profiles.
Requirements and Installation
Create and activate Python environment
For Bulk2Space, 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.
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:
cd bulk2space-main
pip install -r requirements.txt
Install Bulk2Space
python setup.py build
python setup.py install
Quick Start
To use Bulk2Space we require five formatted .csv files as input (i.e. read in by pandas). We have included two test datasets
in the tutorial/data/example_data folder of this repository as examples to show how to use Bulk2Space.
If you choose the spot-based data (10x Genomics, ST, or Slide-seq, etc) as spatial reference, please refer to:
Liao, J., Qian, J., Fang, Y. et al. De novo analysis of bulk RNA-seq data at spatially resolved single-cell resolution. Nat Commun 13, 6498 (2022). https://doi.org/10.1038/s41467-022-34271-z
About
a spatial deconvolution method based on deep learning frameworks, which converts bulk transcriptomes into spatially resolved single-cell expression profiles