GitPedia

GsMap

Integrating GWAS and spatial transcriptomics for spatially resolved mapping of cells associated with human complex traits.

From JianYang-LabยทUpdated June 26, 2026ยทView on GitHubยท

`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. The project is written primarily in Python, distributed under the MIT License license, first published in 2023. Key topics include: bioinformatics-tool, gwas, spatial-data, spatial-data-analysis, spatial-transcriptomics.

Latest release: v1.73.7โ€” gsMap v1.73.7
February 12, 2026View Changelog โ†’

gsMap

VersionPyPI version PythonStatusProject Status Maintenance
ActivityGitHub commits Last CommitQualitycodecov Ruff
CI/CDDocs testCommunityGitHub stars GitHub forks
DownloadsDownloadsLicenseLicense: MIT DOI
PlatformLinuxContributeIssues 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:

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

Install using conda:

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

Install from source:

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

Verify the installation by running the following command:

bash
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:

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

<!-- Badge links -->

Contributors

Showing top 6 contributors by commit count.

View all contributors on GitHub โ†’

This article is auto-generated from JianYang-Lab/gsMap via the GitHub API.Last fetched: 6/27/2026