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.7.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.7-py3-none-any.whl (78.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gsmap-1.73.7.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.7.tar.gz
Algorithm Hash digest
SHA256 4d1bd7893d4afc616ae8e0d784c0a23615ecb90b999d059effaa931da98f3d1d
MD5 5313173cc60781023f47fba7fe4754ed
BLAKE2b-256 59cdf459d3b910c532cf6f4598c293fee12813d41564de395a7b1844dec526a8

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: gsmap-1.73.7-py3-none-any.whl
  • Upload date:
  • Size: 78.0 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 5bbaaf7b04a41c2fbdbcafc32b58fa0758af0456831baf25e1b0b4e9e2b5be4e
MD5 f5e9e173fa6d26024498f296c68f321f
BLAKE2b-256 8178cf67d367a9a69d157b0f51f85e2e5735840d5b0289f148eb14d9922bb82e

See more details on using hashes here.

Provenance

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