Inferensys

Glossary

Quality Control (QC)

The initial filtering step in single-cell RNA sequencing analysis that removes low-quality cells based on metrics like total counts, number of genes detected, and mitochondrial read fraction.
Analytics team reviewing AI metrics dashboard on large monitor, KPIs visible, modern data-driven office setup.
DATA PREPROCESSING

What is Quality Control (QC)?

Quality Control (QC) is the initial computational filtering step in single-cell analysis pipelines that removes low-quality, damaged, or empty cells from a dataset based on quantitative metrics, ensuring that downstream biological interpretation is driven by viable cellular data rather than technical artifacts.

Quality Control (QC) is the systematic removal of failed or empty cell barcodes from a count matrix by applying threshold-based filters to key quality metrics. The primary indicators assessed are library size (total UMI counts per barcode), the number of detected genes (features), and the mitochondrial read fraction, which serves as a proxy for cell membrane damage and cytoplasmic RNA leakage.

Effective QC requires dataset-specific thresholding, as optimal cutoffs vary by tissue type and protocol. Barcodes with abnormally high total counts often represent doublets, while those with elevated mitochondrial percentages indicate dying cells. This filtering directly precedes normalization and highly variable gene selection, forming the critical foundation for accurate cell type annotation and differential expression testing.

SINGLE-CELL QUALITY CONTROL

Core QC Metrics

The initial computational filter that distinguishes viable, information-rich cells from empty droplets, dying cells, and doublets. These metrics form the triage protocol for every single-cell experiment.

01

Total UMI Counts (Library Size)

The sum of all Unique Molecular Identifiers detected within a single cell barcode. This metric directly correlates with the cell's capture efficiency and cytoplasmic mRNA content.

  • High counts: May indicate a doublet (two cells captured in one droplet) or a genuinely large, transcriptionally active cell like a hepatocyte.
  • Low counts: Typically represent empty droplets containing only ambient RNA, or damaged cells with ruptured membranes that have leaked their cytoplasm.
  • Filtering strategy: Set an upper and lower threshold based on the distribution. A typical lower bound removes the 5th percentile, while the upper bound removes outliers beyond 3 median absolute deviations (MADs).
  • Example: In a PBMC dataset, viable cells might have 500–5,000 UMIs, while empty droplets cluster below 100 UMIs.
500–5,000
Typical UMI Range (PBMCs)
02

Number of Genes Detected

The count of unique genes with at least one UMI mapped. This metric identifies cells with low-complexity libraries, which are often stressed, dying, or stripped of their mRNA.

  • Low gene count with normal UMI count: Suggests a cell dominated by a few highly-expressed transcripts, often a sign of cell damage or a specialized cell type like a red blood cell precursor.
  • High gene count: Expected for large, complex cells like neurons or dendritic cells.
  • Filtering strategy: Apply a lower threshold (e.g., >200 genes for human cells) to remove debris. An upper threshold can help catch doublets.
  • Relationship to UMIs: These two metrics are strongly correlated. Cells that deviate from this correlation—high UMIs but low genes—are prime candidates for removal.
>200
Minimum Genes (Human)
03

Mitochondrial Read Fraction

The percentage of UMIs mapping to the mitochondrial genome. A high fraction is the canonical "dead cell" signature.

  • Biological basis: When the plasma membrane ruptures during cell death, cytoplasmic mRNA leaks out, but mitochondrial transcripts remain trapped within the organelle. The resulting library is enriched for mitochondrial genes.
  • Thresholds: For most human tissues, cells with >15–20% mitochondrial reads are flagged. However, this threshold is tissue-specific—cardiomyocytes and renal proximal tubule cells naturally have higher mitochondrial content.
  • Low fraction: An abnormally low fraction can indicate a loss of cytoplasm during library preparation, leaving only the nucleus.
  • Example: A stressed hepatocyte sample might show a bimodal distribution, with a healthy peak at 5% and a dying population at 40%.
15–20%
Common Upper Threshold
04

Doublet Scores

A computational prediction of whether a single cell barcode actually contains two or more cells. Doublets confound cell-type identification by creating artificial hybrid transcriptomes.

  • Detection methods: Tools like Scrublet, DoubletFinder, and solo simulate doublets by averaging random cell pairs and then score each real barcode against this synthetic doublet distribution.
  • Impact: Doublets between distinct cell types (e.g., a T cell and a monocyte) create a spurious "intermediate" cluster that can be mistaken for a novel cell state or transitional population.
  • Homotypic doublets: Two cells of the same type are nearly impossible to detect computationally and are often tolerated.
  • Expected rate: Doublet frequency scales roughly linearly with the number of cells loaded. A 10,000-cell 10x Genomics run typically yields 5–8% doublets.
5–8%
Expected Doublet Rate (10k cells)
05

Ribosomal Protein Gene Fraction

The proportion of reads mapping to ribosomal protein genes (e.g., RPL, RPS families). This metric serves as a quality complement to mitochondrial fraction.

  • High ribosomal fraction: Often indicates high translational activity in metabolically active cells, but can also spike in certain stress responses or technical artifacts.
  • Low ribosomal fraction: A sudden drop in ribosomal reads, especially when paired with high mitochondrial reads, is a strong indicator of RNA degradation and cell death.
  • Filtering strategy: This metric is typically used in conjunction with mitochondrial fraction. Cells with low ribosomal AND high mitochondrial content are removed.
  • Tissue specificity: Stem cells and cancer cells often have naturally elevated ribosomal content, requiring adjusted thresholds.
RPL/RPS
Gene Families Monitored
06

Ambient RNA Contamination

Background counts from cell-free mRNA floating in the cell suspension that get encapsulated into droplets alongside—or instead of—a cell. This creates a low-level transcriptional "soup" that contaminates all barcodes.

  • Source: Cells lyse during tissue dissociation, releasing their mRNA into the suspension medium.
  • Detection: Tools like SoupX and CellBender model the ambient RNA profile from empty droplets and subtract it from cell-containing barcodes.
  • Consequence: Without correction, ambient RNA can create false-positive signals for highly-expressed genes (e.g., hemoglobin in blood samples) in cell types that don't actually express them.
  • Correction: This is a post-hoc computational step applied after initial QC filtering, distinct from the per-cell metric thresholds.
SoupX
Common Correction Tool
QUALITY CONTROL IN SINGLE-CELL SEQUENCING

Frequently Asked Questions

Clear answers to the most common questions about filtering and assessing single-cell RNA-seq data quality before downstream analysis.

Quality control (QC) in single-cell RNA sequencing is the initial computational filtering step that identifies and removes low-quality cells from a dataset before biological analysis. The process evaluates each cell barcode against three primary metrics: total UMI counts (library size), number of unique genes detected, and mitochondrial read fraction. Cells with abnormally low counts or genes typically represent empty droplets or damaged membranes, while elevated mitochondrial expression indicates apoptotic or stressed cells with cytoplasmic leakage. QC establishes a clean count matrix where each retained barcode represents a viable, intact single cell, preventing technical artifacts from being misinterpreted as biological signal in downstream clustering and differential expression analyses.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.