jianyang-lab/gsmap/gsmap-skill

Claude Code and agent skill by jianyang-lab/gsmap

Trust tier 2
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Install

npx vskill@latest install jianyang-lab/gsmap/gsmap-skill

SKILL.md

gsMap Spatial GWAS Analysis

This skill runs gsMap to perform spatial GWAS enrichment analysis by integrating spatial transcriptomics with GWAS summary statistics.

Always prefer MCP tools instead of manually writing gsMap shell commands.


WHEN TO USE THIS SKILL

Use this skill when the user asks about:

  • spatial GWAS enrichment
  • integrating GWAS with spatial transcriptomics
  • identifying trait-relevant cells
  • identifying spatial regions associated with traits
  • running gsMap analysis
  • spatial LDSC analysis using spatial transcriptomics

Example requests:

Run gsMap on this dataset Analyze spatial GWAS enrichment Perform spatial transcriptomics GWAS analysis Identify trait-relevant spatial regions


DEFAULT WORKFLOW

Use the MCP tool:

gsmap_quick_mode

This tool automatically runs the full gsMap pipeline:

  1. latent spatial representation learning
  2. gene spatial score calculation
  3. LD score generation
  4. spatial LDSC enrichment analysis

Always prefer gsmap_quick_mode unless the user explicitly requests step-by-step control of the pipeline.


STEP-BY-STEP PIPELINE TOOLS

Use these tools only when the user requests detailed control of the gsMap pipeline.

Pipeline order:

  1. gsmap_find_latent_representation
  2. gsmap_latent_to_gene
  3. gsmap_generate_ldscore
  4. gsmap_spatial_ldsc

Typical workflow:

latent representation → gene spatial scores → LD scores → spatial LDSC enrichment


PASSING ADDITIONAL CLI PARAMETERS

Many gsMap tools support additional CLI parameters.

If the user specifies additional flags or hyperparameters, pass them using the args parameter.

Example:

gsmap_find_latent_representation( workdir="output", sample_name="sample1", hdf5_path="data.h5ad", args=\[ "--annotation","cell_type", "--data_layer","count", "--epochs","200", "--n_neighbors","15" \] )


DATA REQUIREMENTS

gsMap requires the following inputs:

  • spatial transcriptomics dataset (.h5ad)
  • GWAS summary statistics
  • gsMap reference resource
  • homolog mapping file

If required resources are missing, download them using:

download_gsmap_resource_data

If the user wants to run a demo analysis or view example inputs, use:

download_example_dataset


GWAS SUMMARY STATISTICS FORMAT

Expected GWAS columns:

SNP A1 A2 Z N

If the input GWAS file uses different column names, run:

gsmap_format_sumstats

Additional column mappings can be passed using args.


DOCUMENTATION LOOKUP

If parameters, flags, GWAS formatting options, or tool usage are unclear, search the documentation using:

search_gsmap_docs

Examples:

search_gsmap_docs("format_sumstats usage") search_gsmap_docs("find_latent_representation parameters")

Use documentation lookup only when necessary. Prefer running MCP tools directly when the workflow is clear.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
213
Repository forks
17
7-day trend score
27

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 25 Mar 2026, 7 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/jianyang-lab/gsmap/gsmap-skill/badge)](https://verified-skill.com/skills/jianyang-lab/gsmap/gsmap-skill)

Something wrong with this skill or its page? Tell us.