anthropics avatar

Single Cell Rna Qc

Scverse-based quality control for single-cell RNA-seq files that uses MAD-based filtering and generates before-and-after plots.

CCM score
75 of 100
skills.sh installs
2.6K
GitHub stars
36.7K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the standard QC workflow: metric calculation, MAD-based outlier filtering, gene filtering, and before/after visualization
  • Accepts .h5ad (AnnData) and .h5 (10X Genomics Cell Ranger) inputs, with scripts/qc_analysis.py as the one-command entry point
  • Exposes adjustable MAD thresholds, a hard mitochondrial cutoff, and species-specific gene patterns for mitochondrial, ribosomal, and hemoglobin genes
  • Provides reusable functions in qc_core.py and qc_plotting.py for custom workflows that need partial steps or subset-specific thresholds

Install

$ npx -y skills add anthropics/knowledge-work-plugins --skill single-cell-rna-qc -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Single-Cell RNA-seq Quality Control

Automated QC workflow for single-cell RNA-seq data following scverse best practices.

When to Use This Skill

Use when users:

  • Request quality control or QC on single-cell RNA-seq data
  • Want to filter low-quality cells or assess data quality
  • Need QC visualizations or metrics
  • Ask to follow scverse/scanpy best practices
  • Request MAD-based filtering or outlier detection

Supported input formats:

  • .h5ad files (AnnData format from scanpy/Python workflows)
  • .h5 files (10X Genomics Cell Ranger output)

Default recommendation: Use Approach 1 (complete pipeline) unless the user has specific custom requirements or explicitly requests non-standard filtering logic.

Approach 1: Complete QC Pipeline (Recommended for Standard Workflows)

For standard QC following scverse best practices, use the convenience script scripts/qc_analysis.py:

python3 scripts/qc_analysis.py input.h5ad
# or for 10X Genomics .h5 files:
python3 scripts/qc_analysis.py raw_feature_bc_matrix.h5

The script automatically detects the file format and loads it appropriately.

Details

Repository
github.com/anthropics/knowledge-work-plugins
Categories
Data Science & Analytics, Research & Academic
First seen
May 16, 2026

More from anthropics/knowledge-work-plugins

All 174

Similar to Single Cell Rna Qc

More Data Science & Analytics