Skip to main content

Genetically informed spatial mapping of cells for complex traits

Project description

gsMap

Version PyPI version Python Status Project Status Maintenance
Activity GitHub commits Last Commit Quality codecov Ruff
CI/CD Docs test Community GitHub stars GitHub forks
Downloads Downloads License License: MIT DOI
Platform Linux Contribute Issues PRs Welcome

Introduction

gsMap (genetically informed spatial mapping of cells for complex traits) integrates spatial transcriptomics (ST) data with genome-wide association study (GWAS) summary statistics to map cells to human complex traits, including diseases, in a spatially resolved manner.

Key Features

  • Spatially-aware High-Resolution Trait Mapping
  • Spatial Region Identification
  • Putative Causal Genes Identification

Model Architecture

🛠️ Installation

Install using pip:

conda create -n gsMap python>=3.10
conda activate gsMap
pip install gsMap

Install using conda:

conda create -n gsMap python>=3.10
conda activate gsMap
conda install bioconda::gsmap

Install from source:

git clone https://github.com/JianYang-Lab/gsMap
cd gsMap
pip install -e .

Verify the installation by running the following command:

gsmap --help

📘 Usage

Please check out the documentation and tutorials at gsMap Documentation.

🌐 Online Visualization

To visualize the traits-cell association spatial maps, please refer to gsMap Visualization.

📖 Citation

Song, L., Chen, W., Hou, J., Guo, M. & Yang, J. Spatially resolved mapping of cells associated with human complex traits. Nature (2025).

Please cite the paper and give us a STAR if you find gsMap useful for your research.

✨ Research Highlight

gsMap was highlighted in Nature Methods.
gsMap was highlighted in Nature Review Genetics.

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

gsmap-1.73.6.tar.gz (10.0 MB view details)

Uploaded Source

Built Distribution

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

gsmap-1.73.6-py3-none-any.whl (77.8 kB view details)

Uploaded Python 3

File details

Details for the file gsmap-1.73.6.tar.gz.

File metadata

  • Download URL: gsmap-1.73.6.tar.gz
  • Upload date:
  • Size: 10.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for gsmap-1.73.6.tar.gz
Algorithm Hash digest
SHA256 c5fcfef42f10c831d9561738956edf27e1fe9e1e8761f7026bc72e1d11f1f00d
MD5 16ad87fb73772b506b9a0b4eed10feb4
BLAKE2b-256 0674a3e36601d9686eb1794f09ee7cb9710332ea8df85fdd573cfc6c9489b6f1

See more details on using hashes here.

Provenance

The following attestation bundles were made for gsmap-1.73.6.tar.gz:

Publisher: release.yml on JianYang-Lab/gsMap

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

File details

Details for the file gsmap-1.73.6-py3-none-any.whl.

File metadata

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

File hashes

Hashes for gsmap-1.73.6-py3-none-any.whl
Algorithm Hash digest
SHA256 cb403c20ba8deae0c55159ab4f57e0cad1e37ff67b08780da3526a55e957164d
MD5 2afc794177468631f41b532f6c470726
BLAKE2b-256 8e027fc1df259c02d81a06a1d3b7753215182b7cd9184a0f20419fd3e174e494

See more details on using hashes here.

Provenance

The following attestation bundles were made for gsmap-1.73.6-py3-none-any.whl:

Publisher: release.yml on JianYang-Lab/gsMap

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