Skip to main content

A graph deep learning based tool to align single cell spatial omics data

Project description

stars-badge pypi-badge Downloads build-badge docs-badge license-badge

scSLAT: single cell spatial alignment tools

scSLAT package implements the SLAT (Spatial Linked Alignment Tool) model to align single cell spatial omics data.

Model architecture

Directory structure

.
├── scSLAT/                  # Main Python package
├── env/                     # Extra environment
├── data/                    # Data files
├── evaluation/              # SLAT evaluation pipeline
├── benchmark/               # Benchmark pipeline
├── case/                    # Case studies in paper
├── docs/                    # Documentation files
├── resource/                # Other useful resource
├── pyproject.toml           # Python package metadata
└── README.md

Tutorial

Tutorial of scSLAT is here, if you have any question please open an issue on github

Installation

PyPI

Note Installing scSLAT within a new conda environment is recommended.

Warning Old NVIDIA driver may raise error.

First, we create a clean environment and install scSLAT from PyPI. Then we also need install dependencies for pyg manually via install_pyg_dependencies.

conda create -n scSLAT python=3.11 -y && conda activate scSLAT
pip install scSLAT
install_pyg_dependencies

Docker

You can pull the docker image directly from Docker Hub or refer to the Dockerfile to build it.

docker pull huhansan666666/slat:latest

Development version

For development purpose, clone this repo and install:

git clone git@github.com:gao-lab/SLAT.git && cd SLAT
pip install -e ".[dev,docs]"
install_pyg_dependencies

Reproduce manuscript results

  1. Please follow the env/README.md to install all dependencies. Please checkout the repository to v0.2.1 before install scSLAT.
  2. Download and pre-process data follow the data/README.md.
  3. Whole benchmark and evaluation procedure can be found in /benchmark and /evaluation, respectively.
  4. Every case study is recorded in the /case directory in the form of jupyter notebook.

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

scslat-0.3.0.tar.gz (32.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scslat-0.3.0-py3-none-any.whl (36.6 kB view details)

Uploaded Python 3

File details

Details for the file scslat-0.3.0.tar.gz.

File metadata

  • Download URL: scslat-0.3.0.tar.gz
  • Upload date:
  • Size: 32.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for scslat-0.3.0.tar.gz
Algorithm Hash digest
SHA256 40eccf5307e830798a98605f5f8b6ce397022fa7c3d013ab53861419b0b1cbca
MD5 d4f248c3cc5922c22d6af1c21e23dd64
BLAKE2b-256 e1233bc6a48b592b72b661f17ab2a56889ca9383955fff79b481d6092c97b89b

See more details on using hashes here.

File details

Details for the file scslat-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: scslat-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 36.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for scslat-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 63b07846196f11bf67d866f21081ac0a0cc90cb74de2243cc9bd3aa620a4f598
MD5 94f19376d0dd6554e6ba4df014524a57
BLAKE2b-256 60ffea0404dc5ad55d54f9f22eae42473291cf53ce68cd814933c031ec458073

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