Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

deepspot-m

Skill by K-Dense-AI

Generates virtual spatial transcriptomics from H&E histology tiles with DeepSpot-M. Aimed at researchers who want predicted log1p-CPM expression for queried genes across tiles and slides.

  • Score 94
  • 59k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install deepspot-m

Built from the published package, never by AI.

git clone --depth 1 https://github.com/K-Dense-AI/scientific-agent-skills /tmp/scientific-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/scientific-agent-skills/skills/deepspot-m ~/.claude/skills/deepspot-m

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install deepspot-m in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

DeepSpot-M is a skill for predicting transcriptome-wide spatial gene expression from H&E histology. It maps a 224x224 tile at about 20x to predicted log1p-CPM values for queried genes, laid out on the tile grid. The released model covers a panel of about 19,000 protein-coding genes, queried by HGNC symbol.

A LoRA-adapted Midnight pathology backbone tokenises each tile, and a cross-attention gene decoder lets gene queries attend to the patch tokens. Gene embeddings come from five frozen sources: Evo 2, Orthrus, ProtT5, scGPT and Apertus. The skill covers installation, gated model access, tile checks and a whole-slide workflow with histolab tiling. It suits noncommercial research, since outputs are model predictions and not clinical or diagnostic results.

Written from the project's SKILL.md and checked against it.

What it can do

  • Tile-level gene predictionRuns predict_genes on a batch of tiles and returns log1p-CPM values for a gene list.
  • Gene panel lookupChecks gene symbols against the released ~19k protein-coding panel via model.gene_names.
  • Embedding source selectionChooses one of five gene embedding sources and can switch with model.set_source.
  • Tile size validationChecks that tiles are 224x224 RGB at about 20x before inference.
  • Whole-slide workflowDescribes tiling a slide, batching predictions and joining results by tile ID.
  • AnnData exportAssembles a tiles-by-genes matrix that can be saved as H5AD.

What you need

  • Python 3.10 or newer, with PyTorch
  • Approved Hugging Face access to the gated weights
  • CUDA is optional for GPU use
  • Optional histolab 0.7.0 in a separate Python 3.10 or 3.11 environment with OpenSlide
  • AnnData, for H5AD export

Try asking

  • Predict expression of EPCAM and CD3D for this 224x224 H&E tile.
  • Check that my histology tiles are 224x224 at about 20x before inference.
  • Build a tiles-by-genes matrix for a whole slide and save it as H5AD.

Good to know

  • Weights are gated, and access is limited to eligible academic or nonprofit researchers.
  • Research use only, not clinical or diagnostic use.
  • Tiles must be 224x224 at about 20x; other sizes are rejected.
  • CUDA, real-slide tiling and biological accuracy were not tested in the source review.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/deepspot-m/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: Read Write Edit Bash

  • SKILL.md10 KB
  • references/api.md7 KB
  • references/whole_slide.md11 KB

Alternatives to deepspot-m

All alternatives →

Compare with literature-search-arxiv, alphafold-database-fetch-and-analyze or quickgo-database

deepspot-m: common questions

What input does DeepSpot-M take?

It takes a 224x224 RGB H&E tile at roughly 20x, about 0.5 microns per pixel. The source says pixel size alone does not verify magnification.

Can DeepSpot-M be used for clinical decisions?

No. The source says it is for research use only, not clinical or diagnostic use. Outputs are predictions, not measured transcript counts.

Which genes can be queried?

Genes in the released panel of about 19,000 protein-coding genes, exposed as model.gene_names. Genes outside that panel cannot be queried in this release.

How do I install deepspot-m?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is deepspot-m free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is deepspot-m safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to deepspot-m?

Similar skills: literature-search-arxiv, alphafold-database-fetch-and-analyze, quickgo-database, peloton.

deepspot-m Install

Add to stack

Loading.