The deconvATAC package provides code used in our benchmarking study for deconvoluting spatialATAC data via deconvolution tools designed for spatial transcriptomics. In our study, we benchmark five top-performing spatial transcriptomics deconvolution methods. deconvATAC additionally provides a framework for simulating spatial multi-modal data from dissociated single-cell data, as well as metrics for evaluating the performance of deconvolution.
Please refer to the documentation.
Data used in this study is available on Zenodo
conda create -n deconvATAC python=3.9 r-base=4.3.0
conda activate deconvATAC
First, clone the directory:
git clone https://github.com/theislab/deconvATAC.git
Install the package:
cd deconvATAC
pip install .
Note
If you encounter issues with glibc
during the installation you can try to install it using conda:
conda create -n deconvATAC python=3.9 r-base=4.3.0 gcc_linux-64 gxx_linux-64
You can install the dependencies needed for the python-based deconvolution methods with:
pip install .[cell2location] # note: for zsh shell, please use brackets: '.[cell2location]'
pip install .[tangram]
pip install .[destvi]
For installing RCTD, please use the following
conda install bioconda::r-spacexr
In your R terminal, install
if (!require("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("S4Vectors")
BiocManager::install("SingleCellExperiment")
For SpatialDWLS, the Giotto package needs to be installed. Please follow the installation guidelines in the Giotto documentation for installation of the package.
Spatial transcriptomics deconvolution methods generalize well to spatial chromatin accessibility data
Sarah Ouologuem, Laura D Martens, Anna C Schaar, Maiia Shulman, Julien Gagneur, Fabian J Theis
Bioinformatics, Volume 41, Issue Supplement_1, July 2025, Pages i314–i322 doi: 10.1093/bioinformatics/btaf268.