Agent skill · Data & Analytics

bio-machine-learning-atlas-mapping

Maps query single-cell data to reference atlases using scArches transfer learning with scVI and scANVI models. Transfers cell type labels without retraining on combined data. Use when annotating new single-cell datasets using pre-trained reference models.

BioTender-maxgithub.com/BioTender-maxGitHub ↗
claude-codeships scriptsNOASSERTION
Install
npx skills add BioTender-max/awesome-bio-agent-skills --skill atlas-mapping --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 3
SKILL.md size: 6 KB
Bundled scripts: yes
Path: skills/bioskills/atlas-mapping/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 135
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

## Version Compatibility Reference examples tested with: anndata 0.10+, scanpy 1.10+, scvi-tools 1.1+ Before using code patterns, verify installed versions match. If versions differ: - Python: `pip show <package>` then `help(module.function)` to check signatures If code throws ImportError, AttributeError, or TypeError, introspect the installed package and adapt the example to match the actual API rather than retrying. # Transfer Learning for Single-Cell Data **"Map my scRNA-seq data onto a reference atlas"** → Transfer cell type labels from a pre-trained reference model to query cells using architectural surgery (scArches) without retraining. - Python: `scvi.model.SCVI.load_query_data()` → `get_latent_representation()` → `scanpy.tl.ingest()` ## scVI Reference Mapping (scArches) **Goal:** Map query single-cell data onto a pre-trained reference model to obtain a shared latent embedding. **Approach:** Load a pre-trained scVI model, prepare query data with matching gene sets, then perform surgical fine-tuning that updates only query-specific parameters. ```python import scvi import scanpy as sc # Load pre-trained reference model adata_ref = sc.read_h5ad('reference.h5ad') # Model must h

What's inside
Steps it walks through
  1. Version Compatibility
  2. scVI Reference Mapping (scArches)
  3. scANVI for Label Transfer
  4. Prediction Confidence
  5. Joint Embedding Visualization
  6. Pre-trained Reference Atlases
  7. Training Parameters
  8. Related Skills
Ships with 2 files
  • examples/scarches_annotation.py
  • usage-guide.md
More from awesome-bio-agent-skills
All skills →
About this skill
What does the bio-machine-learning-atlas-mapping skill do?

Maps query single-cell data to reference atlases using scArches transfer learning with scVI and scANVI models. Transfers cell type labels without retraining on combined data. Use when annotating new single-cell datasets using pre-trained reference models.

How do I install it?

Run `npx skills add BioTender-max/awesome-bio-agent-skills --skill atlas-mapping --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From BioTender-max/awesome-bio-agent-skills, a repository with 135 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going