Skip to main content

Spatial Deconvolution method with Platform Effect Removal

Project description

SDePER

OS PyPI - Python Version GitHub release (latest by date) PyPI Conda Version Docker Image Version (latest by date) Read the Docs (version) DOI

SDePER (Spatial Deconvolution method with Platform Effect Removal) is a hybrid machine learning and regression method to deconvolve Spatial barcoding-based transcriptomic data using reference single-cell RNA sequencing data, considering platform effects removal, sparsity of cell types per capture spot and across-spots spatial correlation in cell type compositions. SDePER is also able to impute cell type compositions and gene expression at unmeasured locations in a tissue map with enhanced resolution.

Quick Start

SDePER currently supports only Linux operating systems such as Ubuntu, and is compatible with Python 3.9.x and 3.10.x releases (3.11+ not yet supported).

SDePER can be installed via conda

conda create -n sdeper-env -c bioconda -c conda-forge python=3.9.12 sdeper

or pip

conda create -n sdeper-env python=3.9.12
conda activate sdeper-env
pip install sdeper

SDePER supports an out-of-the-box feature, meaning that users only need to provide the required four input files for cell type deconvolution. The package manages all aspects of file reading, preprocessing, cell type-specific marker gene identification, and more internally. The required files are:

  1. raw nUMI counts of spatial transcriptomics data (spots × genes): spatial.csv
  2. raw nUMI counts of reference scRNA-seq data (cells × genes): scrna_ref.csv
  3. cell type annotations for all cells in scRNA-seq data (cells × 1): scrna_anno.csv
  4. adjacency matrix of spots in spatial transcriptomics data (spots × spots; optional): adjacency.csv

To start cell type deconvolution using all default settings by running

runDeconvolution -q spatial.csv -r scrna_ref.csv -c scrna_anno.csv -a adjacency.csv

Homepage: https://az7jh2.github.io/SDePER/.

Full Documentation for SDePER is available here.

Example data and Analysis using SDePER are summarized in this page. All related materials can be found in the Analysis repository.

Citation

If you use SDePER, please cite:

Yunqing Liu, Ningshan Li, Ji Qi et al. SDePER: a hybrid machine learning and regression method for cell-type deconvolution of spatial barcoding-based transcriptomic data. Genome Biology 25, 271 (2024). https://doi.org/10.1186/s13059-024-03416-2

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

sdeper-2.0.0.tar.gz (92.6 kB view details)

Uploaded Source

Built Distribution

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

sdeper-2.0.0-py3-none-any.whl (97.5 kB view details)

Uploaded Python 3

File details

Details for the file sdeper-2.0.0.tar.gz.

File metadata

  • Download URL: sdeper-2.0.0.tar.gz
  • Upload date:
  • Size: 92.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for sdeper-2.0.0.tar.gz
Algorithm Hash digest
SHA256 ad532426bb59480b865a471b8176d8d8c71ed8347cbef9635b81b8173507f56f
MD5 837157f8bcbf0064b7b14a350eba961b
BLAKE2b-256 96a17cae897b89faf57eb2dade1931d54c0cf158d39b45138ea20e03e2663081

See more details on using hashes here.

Provenance

The following attestation bundles were made for sdeper-2.0.0.tar.gz:

Publisher: publish-to-pypi.yml on az7jh2/SDePER

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sdeper-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: sdeper-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 97.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for sdeper-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 93da38211f1b783c8649094f71b7ef480ff2d7be8189fadfab2fc88f5d0ea649
MD5 284f17bb6b9817a4d0485fbe4fdda5f8
BLAKE2b-256 fa1d711566929dd8ff2f0dc1ddd793f1c4c0c81be1811fac13a3b3f6b448dc04

See more details on using hashes here.

Provenance

The following attestation bundles were made for sdeper-2.0.0-py3-none-any.whl:

Publisher: publish-to-pypi.yml on az7jh2/SDePER

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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