Agent skill

bio-single-cell-batch-integration

Integrate multiple scRNA-seq samples/batches using Harmony, scVI, Seurat anchors, and fastMNN. Remove technical variation while preserving biological differences. Use when integrating multiple scRNA-seq batches or datasets.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill batch-integration --agent claude-code

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

Facts
Files in the skill folder: 2
SKILL.md size: 8 KB
Bundled scripts: none
Path: skills/analysis/batch-integration/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

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

From the SKILL.md

# Batch Integration Integrate multiple scRNA-seq datasets to remove batch effects while preserving biological variation. ## Tool Comparison | Tool | Speed | Scalability | Best For | |------|-------|-------------|----------| | Harmony | Fast | Good | Quick integration, most use cases | | scVI | Moderate | Excellent | Large datasets, deep learning | | Seurat CCA/RPCA | Moderate | Good | Conserved biology across batches | | fastMNN | Fast | Good | MNN-based correction | ## Harmony (R/Python) ### R with Seurat ```r library(Seurat) library(harmony) # Merge datasets first merged <- merge(sample1, y = list(sample2, sample3), add.cell.ids = c('S1', 'S2', 'S3')) # Standard preprocessing merged <- NormalizeData(merged) merged <- FindVariableFeatures(merged) merged <- ScaleData(merged) merged <- RunPCA(merged) # Run Harmony on PCA embeddings merged <- RunHarmony(merged, group.by.vars = 'orig.ident', dims.use = 1:30) # Use harmony embeddings for downstream merged <- RunUMAP(merged, reduction = 'harmony', dims = 1:30) merged <- FindNeighbors(merged, reduction = 'harmony', dims = 1:30) merged <- FindClusters(merged, resolution = 0.5) ``` ### Multiple Batch Variables ```r # Correct for both sampl

What's inside
Steps it walks through
  1. Tool Comparison
  2. Harmony (R/Python)
  3. R with Seurat
  4. Multiple Batch Variables
  5. Python with Scanpy
  6. scVI (Python)
  7. scVI with Covariates
  8. scANVI (with cell type labels)
  9. Seurat Integration (R)
  10. CCA-based Integration
  11. RPCA (Faster for Large Datasets)
  12. Seurat v5 Integration
  13. fastMNN (R)
  14. Evaluate Integration
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the bio-single-cell-batch-integration skill do?

Integrate multiple scRNA-seq samples/batches using Harmony, scVI, Seurat anchors, and fastMNN. Remove technical variation while preserving biological differences. Use when integrating multiple scRNA-seq batches or datasets.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill batch-integration --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 majiayu000/claude-skill-registry, a repository with 534 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