Skip to content
Data
Skill

/scrna-meta-analysis

Conduct rigorous cross-study meta-analysis of scRNA-seq data from ENCODE, integrating multiple single-cell transcriptomic datasets for a tissue/cell type. Use when the user wants to answer "what cell types exist in my tissue and what genes define them?" by combining scRNA-seq

From plugin
encode-toolkit
2047 skills7 agents10 commands1 MCP

Claude Code

$ npx -y skills add ammawla/encode-toolkit --skill scrna-meta-analysis --agent claude-code

SKILL.md

scrna-meta-analysis.SKILL.md
name: scrna-meta-analysis
description: Conduct rigorous cross-study meta-analysis of scRNA-seq data from ENCODE, integrating multiple single-cell transcriptomic datasets for a tissue/cell type. Use when the user wants to answer "what cell types exist in my tissue and what genes define them?" by combining scRNA-seq data across donors, labs, and platforms. Follows the Mawla et al. 2019 framework for assessing cross-study reproducibility, TIN-based quality filtering, and detection-limit-aware interpretation. Handles batch correction (Harmony/Seurat), dropout awareness, cross-contamination artifacts, and platform-specific biases. Use this skill for ANY scRNA-seq integration task, cross-dataset comparison, cell atlas construction, or reproducibility assessment involving ENCODE single-cell data.

Cross-Study Meta-Analysis of scRNA-seq Data

When to Use

  • User wants to perform meta-analysis across multiple single-cell RNA-seq datasets
  • User asks about "scRNA-seq meta-analysis", "dataset integration", "batch correction", or "cross-study comparison"
  • User needs to harmonize cell type annotations across studies from different labs
  • User wants to build reference atlases or identify conserved cell populations across datasets
  • Example queries: "integrate 5 scRNA-seq datasets from different labs", "harmonize cell type labels across studies", "meta-analyze single-cell data for pancreas"

Integrate multiple ENCODE scRNA-seq datasets for a tissue/cell type into a unified cell atlas with reproducibility-aware quality assessment.

Scientific Rationale

**The question**: "What cell types and transcriptional programs are present in my tissue, and which findings are reproducible across studies?"

Unlike bulk genomic assays (ChIP-seq, ATAC-seq) where signal detection is largely binary, single-cell transcriptomics operates at or below the limit of detection for most genes. This means that **heterogeneous detection is the norm, not the exception** — and distinguishing true biological heterogeneity from technical dropout is the central challenge of any scRNA-seq meta-analysis.

The Core Problem (Mawla et al. 2019)

Mawla, van der Meulen & Huising (2019, Diabetes) conducted a landmark meta-analysis of five independent human pancreatic islet scRNA-seq studies and revealed:

1. **Sparse overlap in reported heterogeneity**: Not a single gene was highlighted as heterogeneously expressed across all five studies. Only 24 genes (1.2% of the top 2,000 variable genes per study) emerged as common drivers of beta-cell clustering across all five datasets.

2. **Detection is abundance-dependent**: Only 0.005–0.83% of genes are detected in ALL single cells in any study. The fraction of cells with detectable expression strongly correlates with transcript abundance — more abundant genes are detected in more cells.

3. **Quality gap with bulk RNA-seq**: TIN (Transcript Integrity Number) scores reveal that even highly abundant transcripts in scRNA-seq have lower coverage quality than bulk RNA-seq. Over half of genes in single-cell libraries have TIN scores <20, compared to uniformly high TIN scores in bulk.

4. **Cross-contamination from ambient RNA**: Species-mixing experiments (Macosko et al. 2015) showed 0.26–2.44% of reads in each single cell map to the wrong species. For highly abundant transcripts (INS, GCG), this ambient contamination alone can explain cross-detection between cell types.

5. **Known heterogeneity markers underdetected**: Established beta-cell heterogeneity markers (NPY, TH, UCN3, DKK3) were not independently identified by any "unbiased" scRNA-seq approach.

**Therefore: a meta-analysis of scRNA-seq data must prioritize reproducibility across studies and explicitly account for detection limits, rather than treating all zero values as biological absence.**

Literature Support

  • **Mawla, van der Meulen & Huising 2019** (Diabetes): Foundational cross-study meta-analysis framework. Introduced TIN-based quality assessment for scRNA-seq, demonstrated detection-limit artifacts, and proposed guidance for when to use single-cell vs bulk approaches. [DOI](https://doi.org/10.2337/dbi18-0019)
  • **Tran et al. 2020** (Genome Biology, 854 citations): Benchmarked 14 batch-correction methods across 5 scenarios. Recommends Harmony first (fastest), then LIGER and Seurat 3 as alternatives. Evaluated using kBET, LISI, ASW, and ARI metrics. [DOI](https://doi.org/10.1186/s13059-019-1850-9)
  • **Luecken & Theis 2019** (Molecular Systems Biology, 1,631 citations): Current best practices for scRNA-seq analysis — QC, normalization, batch correction, feature selection, dimensionality reduction, clustering, and differential expression. The standard reference for any scRNA-seq workflow. [DOI](https://doi.org/10.15252/msb.20188746)
  • **Andreatta et al. 2023** (Nature Communications): STACAS — semi-supervised integration that leverages prior cell type knowledge. Outperforms unsupervised methods when partial cell type labels are available. Particularly relevant when integrating across studies where some cell types are shared but not all. [DOI](https://doi.org/10.1038/s41467-024-45062-7)
  • **Zappia et al. 2025** (Nature Methods): Benchmarked feature selection methods for integration. Confirms highly variable gene selection is effective; provides guidance on number of features, batch-aware selection, and interaction with integration models. [DOI](https://doi.org/10.1038/s41592-025-02625-w)
  • **Stuart et al. 2019** (Cell, 8,400+ citations): Seurat v3 — CCA-based anchor identification for cross-dataset integration. The most widely used integration framework. [DOI](https://doi.org/10.1016/j.cell.2019.05.031)
  • **Korsunsky et al. 2019** (Nature Methods, 3,200+ citations): Harmony — fast, scalable iterative soft clustering for batch correction. Works in PCA space, preserving biological variance while removing batch effects. [DOI](https://doi.org/10.1038/s41592-019-0619-0)
  • **Macosko et al. 2015** (Cell): Drop-seq — ori
Read more
@ammawla
Ships withencode-toolkit

Search ENCODE, cross-reference 14 databases, run 7 analysis pipelines, and generate publication-ready methods — all from natural language in Claude Code.

2047 skills7 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
20
Star history of ammawla/encode-toolkit on GitHub, a chart by star-history.com

Other skills on encode-toolkit.

batch-analysis

batch-analysis

Guide for multi-experiment batch operations: QC screening, batch download, comparison, and report generation across many ENCODE…

cellxgene-context

cellxgene-context

Guide for integrating CellxGene Census single-cell data with ENCODE bulk experiments. Use when users need cell-type-specific…

cite-encode

cite-encode

Generate proper ENCODE citations for publications, grants, and presentations. Use when the user needs to cite ENCODE data, create…

clinvar-annotation

clinvar-annotation

Guide for annotating ENCODE regulatory variants with ClinVar clinical significance. Use when users need to check if variants in…

More skills from other plugins.

context-loader
Auto-invoked

context-loader

Search memories from earlier Pi sessions in this repository. Use it when earlier work may already explain the code, error,…

mem08d69k
@mem0ai@mem0aiInstall Skill
analyzing-ai-citations

analyzing-ai-citations

Answer AI citation and answer engine optimization (AEO) questions in PostHog: whether AI answer engines (ChatGPT, Claude, and an…

posthog2w41k
@posthog@posthogInstall Skill

Questions about scrna-meta-analysis.

Which coding agents can use scrna-meta-analysis?
scrna-meta-analysis installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.