Skip to main content

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

🤖 AI-assisted Analysis

gsMap supports AI-assisted workflows that allow users to run spatial GWAS analysis using modern AI coding agents and Vibe coding environments. To add the gsMap MCP server and SKILLs in Claude Code:

cd gsMap/gsmap_vibe
uv pip install -e .
claude mcp add gsmap -- python -m gsmap_mcp
cp -r gsmap_skill ~/.claude/skills/

📘 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.

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.8.tar.gz (71.9 kB 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.8-py3-none-any.whl (78.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gsmap-1.73.8.tar.gz
  • Upload date:
  • Size: 71.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for gsmap-1.73.8.tar.gz
Algorithm Hash digest
SHA256 e883edb41719276da8472c3fa84d0cd4a70b3a6e5524598d47293a13f087ee8d
MD5 f167f79f6a7e233c3a04e9548f58f06e
BLAKE2b-256 1b6f4ccb95823b7ba81f4952a205e9faa5ddbf87d6f343ac812f5e1bf06bd325

See more details on using hashes here.

Provenance

The following attestation bundles were made for gsmap-1.73.8.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.8-py3-none-any.whl.

File metadata

  • Download URL: gsmap-1.73.8-py3-none-any.whl
  • Upload date:
  • Size: 78.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for gsmap-1.73.8-py3-none-any.whl
Algorithm Hash digest
SHA256 2c2c0eab82ad0cf69d55373b62656a7232c33215580f5fe3abc62a4917e32837
MD5 523d802adc557b741bb66a110ca547d5
BLAKE2b-256 1bde8a95d873f39ddd8dc5e2e2d233673bbbbcf4a60a88da513bd526b98dc9f2

See more details on using hashes here.

Provenance

The following attestation bundles were made for gsmap-1.73.8-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.

Release history Release notifications | RSS feed

This release

1.73.8 This release

2 files

1.73.7

2 files

1.73.6

2 files

1.73.5

2 files

1.73.4

2 files

1.73.3

2 files

1.73.2

2 files

1.73.1

2 files

1.73.0

2 files

1.72.3

2 files

1.71.2

2 files

1.71.1

2 files

1.71

2 files

1.70

2 files

1.67

2 files

1.66

2 files

1.65

2 files

1.64

2 files

1.63

2 files

1.62

2 files

1.60

2 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