Find more details and tutorials on the Documentation of PAST.
PAST software is build on a variational graph convolutional auto-encoder designed for spatial transcriptomics which integrates prior information with Bayesian neural network, captures spatial information with self-attention mechanism and enables scalable application with ripple walk sampler strategy. PAST could effectively characterize spatial domains and facilitate various downstream analysis through integrating spatial information and reference from various sources. Besides, PAST also enable time and memory-efficient application on large datasets while preserving global spatial patterns for better performance. Importantly, PAST could also facilitate accurate annotation of spatial domains and thus provide biological insights.
PAST is available on PyPI here and can be installed via
pip install bio-past
You can also install PAST from GitHub via
git clone https://github.com/lizhen18THU/PAST.git
cd PAST
python setup.py install
numba
numpy
pandas
scipy
scikit-learn
scanpy
torch
These dependencies will be automatically installed along with PAST. To implement the mclust algorithm with python, the rpy2 package and the mclust package is needed. See rpy2 and mclust for detail.
Li, Z., Chen, X., Zhang, X., Chen, S., & Jiang, R. (2022). PAST: latent feature extraction with a Prior-based self-Attention framework for Spatial Transcriptomics. bioRxiv, 2022.11.09.515447. doi:10.1101/2022.11.09.515447