/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
$ npx -y skills add ammawla/encode-toolkit --skill scrna-meta-analysis --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/scrna-meta-analysis
Context preview
The summary Claude sees to decide when to auto-load this skill.
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
SKILL.md
scrna-meta-analysis.SKILL.mdname: 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
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
Showing the first part of this file.
Search ENCODE, cross-reference 14 databases, run 7 analysis pipelines, and generate publication-ready methods — all from natural language in Claude Code.
Repo: ammawla/encode-toolkit
Other skills on encode-toolkit.
- /accessibility-aggregation
Build comprehensive chromatin accessibility maps by aggregating ATAC-seq and DNase-seq narrowPeak data across multiple ENCODE experiments, donors, and labs. Use when the user wants to answer "where is chromatin accessible in my tissue?" by combining peak calls into a union peak
Open skill - /batch-analysis
Guide for multi-experiment batch operations: QC screening, batch download, comparison, and report generation across many ENCODE experiments simultaneously. Use when users need to process 5+ experiments together, create experiment comparison tables, perform batch quality checks,
Open skill - /bioinformatics-installer
Install bioinformatics tools for ENCODE data analysis. Covers CLI tools (BWA, STAR, samtools, MACS2), R/Bioconductor packages (DESeq2, Seurat, ChIPseeker), Python packages (Scanpy, deeptools), and Nextflow pipeline infrastructure. Generates conda environments, R install scripts,
Open skill - /cellxgene-context
Guide for integrating CellxGene Census single-cell data with ENCODE bulk experiments. Use when users need cell-type-specific expression context for ENCODE regulatory data, want to deconvolve bulk ENCODE signals, or validate regulatory elements at single-cell resolution. Trigger
Open skill - /cite-encode
Generate proper ENCODE citations for publications, grants, and presentations. Use when the user needs to cite ENCODE data, create bibliography entries, write acknowledgment sections, or ensure compliance with ENCODE data use policy.
Open skill - /clinvar-annotation
Guide for annotating ENCODE regulatory variants with ClinVar clinical significance. Use when users need to check if variants in ENCODE peaks have clinical associations, find pathogenic variants in regulatory regions, or assess variant clinical impact. Trigger on: ClinVar,
Open skill

