single-cell-rna-qc

Automate quality control for single-cell RNA-seq data with MAD-based filtering.

Updated Feb 6, 2026
One-click install
npx skills add https://github.com/lohasle/knowledge-work-plugins --skill single-cell-rna-qc-lohasle
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: single-cell-rna-qc
Source: https://github.com/lohasle/knowledge-work-plugins/tree/main/bio-research/skills/single-cell-rna-qc
Command: npx skills add https://github.com/lohasle/knowledge-work-plugins --skill single-cell-rna-qc-lohasle

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires anndata, scanpy, scipy, matplotlib, seaborn, numpy, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the quality control process for single-cell RNA-seq data, ensuring high-quality datasets for downstream analysis by identifying and filtering low-quality cells.

Core Features & Use Cases

  • Automated QC Pipeline: Runs a comprehensive QC workflow using scverse best practices, including metric calculation, MAD-based filtering, and visualization.
  • Flexible Approaches: Offers a complete pipeline script for standard use and modular functions for custom analysis.
  • Use Case: When you receive raw single-cell RNA-seq data (e.g., .h5ad or .h5 files) and need to prepare it for further analysis, this Skill will automatically assess cell quality, remove low-quality cells, and generate informative plots.

Quick Start

Use the single-cell rna qc skill to perform a complete QC pipeline on the file 'my_data.h5ad'.

Frequently Asked Questions about single-cell-rna-qc

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I perform automated quality control on single-cell RNA-seq data?

Automated quality control on single-cell RNA-seq data calculates QC metrics, applies MAD-based filtering for outlier detection, removes low-quality cells and genes, and generates visualizations. This process uses scverse best practices to prepare datasets for downstream analysis.

Can I use scanpy to filter low-quality cells in .h5ad files?

Yes, you can use scanpy to filter low-quality cells in .h5ad files. The automated pipeline supports both .h5ad and .h5 file formats, calculating QC metrics and applying MAD-based filtering to identify and remove outliers.

What is MAD-based filtering for single-cell RNA-seq outlier detection?

MAD-based filtering for single-cell RNA-seq outlier detection is a statistical method using the median absolute deviation to identify low-quality cells. It automatically flags data points that deviate significantly from typical values, ensuring robust dataset cleaning.

Does this single-cell RNA-seq QC pipeline support custom analysis approaches?

Yes, the single-cell RNA-seq QC pipeline supports custom analysis approaches. It provides a complete pipeline script for standard automated workflows, alongside modular functions that allow you to build custom quality control logic using scanpy and anndata.

What visualizations are generated during single-cell RNA-seq data preprocessing?

Visualizations generated during single-cell RNA-seq data preprocessing include comprehensive plots created with matplotlib and seaborn. These visual outputs help assess cell quality, evaluate filtering thresholds, and verify the removal of low-quality cells and genes.

Why do I need to remove low-quality cells before single-cell RNA-seq analysis?

You need to remove low-quality cells before single-cell RNA-seq analysis to ensure high-quality datasets for downstream processing. Low-quality cells introduce noise and technical artifacts that can skew biological interpretations and compromise analytical results.