Skip to main content

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.

Metadata

Release files for scSLAT 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for scSLAT 0.3.0
File Size Uploaded
scslat-0.3.0.tar.gz 32.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for scSLAT 0.3.0
File Interpreter ABI Platform
scslat-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 68.8 kB

Release files / scslat-0.3.0.tar.gz

Download URL scslat-0.3.0.tar.gz
Size 32.1 kB
Tags Source
SHA-256 checksum
How to use checksums
40eccf5307e830798a98605f5f8b6ce397022fa7c3d013ab53861419b0b1cbca
BLAKE2b-256 checksum
How to use checksums
e1233bc6a48b592b72b661f17ab2a56889ca9383955fff79b481d6092c97b89b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release files / scslat-0.3.0-py3-none-any.whl

Download URL scslat-0.3.0-py3-none-any.whl
Size 36.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
63b07846196f11bf67d866f21081ac0a0cc90cb74de2243cc9bd3aa620a4f598
BLAKE2b-256 checksum
How to use checksums
60ffea0404dc5ad55d54f9f22eae42473291cf53ce68cd814933c031ec458073
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page