Skip to main content

SPACEL: characterizing spatial transcriptome architectures by deep-learning

Project description

Documentation Status

SPACEL: characterizing spatial transcriptome architectures by deep-learning

SPACEL (SPatial Architecture Characterization by dEep Learning) is a Python package of deep-learning-based methods for ST data analysis. SPACEL consists of three modules:

  • Spoint embedded a multiple-layer perceptron with a probabilistic model to deconvolute cell type composition for each spot on single ST slice.
  • Splane employs a graph convolutional network approach and an adversarial learning algorithm to identify uniform spatial domains that are transcriptomically and spatially coherent across multiple ST slices.
  • Scube automatically transforms the spatial coordinate systems of consecutive slices and stacks them together to construct a three-dimensional (3D) alignment of the tissue.

Getting started

Read the documentation for more information.

Requirements

To install SPACEL, you need to install PyTorch with GPU support first. If you don't need GPU acceleration, you can just skip the installation for cudnn and cudatoolkit.

  • Create conda environment for SPACEL:
conda env create -f environment.yml

or

conda create -n SPACEL -c conda-forge -c default cudatoolkit=10.2 python=3.8 r-base r-fitdistrplus

You must choose correct PyTorch, cudnn and cudatoolkit version dependent on your graphic driver version.

  • Test if PyTorch for GPU available:
python
>>> import torch
>>> torch.cuda.is_available()

If these command line have not return True, please check your gpu driver version and cudatoolkit version. For more detail, look at CUDA Toolkit Major Component Versions.

Note: If you want to run 3D expression GPR model in Scube, you need to install the Open3D python library first.

Installation

  • Install SPACEL:
pip install SPACEL

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

SPACEL-1.0.1.tar.gz (36.2 kB view details)

Uploaded Source

File details

Details for the file SPACEL-1.0.1.tar.gz.

File metadata

  • Download URL: SPACEL-1.0.1.tar.gz
  • Upload date:
  • Size: 36.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for SPACEL-1.0.1.tar.gz
Algorithm Hash digest
SHA256 f4307522a3783650fe5251372268d68cca9e44c4929cc19f4707d5540dcf0d03
MD5 cbb925ae9b3101c5fa7758dfa03f9ed4
BLAKE2b-256 4f5b2faf4a1d3a3dc5b0fa4646b23a754132c2747d167a00e6faa7bd36e8ac35

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page