openscientist-io/openscientist/genomics
Claude Code and agent skill by openscientist-io/openscientist
- community
Checking that the SKILL.md file is still in the repository.
Genomics and transcriptomics analysis strategies
Install
npx vskill@latest install openscientist-io/openscientist/genomicsSKILL.md
Genomics and Transcriptomics Analysis
When to Use This Skill
- When data contains gene expression measurements (RNA-seq, microarray)
- When analyzing differential gene expression
- When performing pathway or gene set enrichment analysis
- When interpreting genetic variants or mutations
Core Concepts
Gene Expression Data Types
RNA-seq counts:
- Raw read counts per gene
- Requires normalization (TPM, RPKM, DESeq2)
- Suitable for differential expression analysis
Microarray intensities:
- Probe fluorescence intensities
- Log-transformed, background-corrected
- Legacy platform, less common now
Single-cell RNA-seq:
- Expression per cell (not bulk tissue)
- High sparsity (many zeros)
- Specialized analysis methods
- ⚠️ For differential expression across conditions, aggregate to the sample level
(pseudobulk) — cells are not independent replicates (see below)
Gene Nomenclature
Human genes:
- Official symbols: HUGO Gene Nomenclature Committee (HGNC)
- Example: TP53 (tumor protein p53)
- Italicized in publications
Mouse genes:
- Similar to human but capitalization differs
- Example: Tp53 (first letter capital, rest lowercase)
Protein names:
- Not italicized
- Example: p53 protein
Always verify gene symbols - aliases and outdated names are common.
Differential Expression Analysis
Workflow
Volcano Plot
Visualize differential expression:
Single-Cell Differential Expression: Beware Pseudoreplication
⚠️ The most common and most consequential error in single-cell DE. A typical single-cell experiment has many cells (tens of thousands) but few biological samples (a handful of patients or animals per condition). Cells from the same donor are not independent — they share genetic background, batch, dissociation and technical effects. The unit of replication is the sample/donor, not the cell.
Running a per-cell test (t-test, Wilcoxon, naive rank_genes_groups) and treating each cell as a replicate silently inflates the effective n from ~6 samples to ~60,000 cells. This collapses the variance estimate and produces enormous false-positive rates — naive cell-level tests call hundreds of "significant" genes even when comparing two random splits of the same population, with highly expressed genes flagged most often (Squair et al. 2021; Zimmerman et al. 2021).
Fix 1 — Pseudobulk (recommended default)
When: Comparing a given cell type across conditions in a multi-sample design. This is the field-standard default and the top performer for FDR control in benchmarks (Squair et al. 2021; Murphy & Skene 2022; Junttila et al. 2022).
Sum raw counts across all cells of one cell type within each sample, then run a bulk DE tool (DESeq2/edgeR/limma-voom) on the resulting sample-level matrix. The statistics then reduce to the bulk RNA-seq workflow above, with an honest n.
muscat (R/Bioconductor; Crowell et al. 2020) implements this aggregation-based workflow across all cell types at once if you prefer a turnkey tool.
Fix 2 — Mixed-effects model (random intercept per donor)
When: You want to retain cell-level resolution, have a continuous/complex design, or aggregation would discard needed structure. A (generalized) linear mixed model with a random intercept per sample models the within-donor correlation directly (Zimmerman et al. 2021).
Tradeoffs: heavier compute, convergence/fitting fragility, and sensitivity to the assumed count distribution. In benchmarks weighing both sensitivity and specificity, pseudobulk generally matches or beats mixed models (Murphy & Skene 2022) — so prefer pseudobulk unless you have a specific reason.
A note on metacells
Metacells (MetaCell, SEACells; Baran et al. 2019; Persad et al. 2023) pool transcriptionally similar cells within a sample to denoise sparse data and resolve fine-grained states. They are a within-sample representation tool and do not create independent biological replicates. Condition-level DE run on metacells still pseudoreplicates — you must still aggregate to the sample level (pseudobulk) or use donor random effects.
Replication
Power for condition-level DE scales with the number of independent samples, not the number of cells per sample. Aim for ≥3 samples per condition (more is better); adding cells per donor does not buy replication (Zimmerman et al. 2021; Heumos et al. 2023).
Gene Set Enrichment
Simple Pathway Enrichment
When: You have a list of significant genes and want to know which pathways are affected
Gene Ontology (GO) Terms
Common GO categories:
- Biological Process (BP): What the gene does (e.g., "cell cycle", "apoptosis")
- Molecular Function (MF): Biochemical activity (e.g., "kinase activity")
- Cellular Component (CC): Where it acts (e.g., "nucleus", "mitochondrion")
Resources:
- Gene Ontology: http://geneontology.org/
- Enrichr: https://maayanlab.cloud/Enrichr/ (web-based enrichment)
- DAVID: https://david.ncifcrf.gov/
KEGG Pathway Enrichment
KEGG = Kyoto Encyclopedia of Genes and Genomes
Provides curated pathway maps for:
- Metabolic pathways
- Signaling pathways
- Disease pathways
Example pathways:
- hsa04110: Cell cycle
- hsa04210: Apoptosis
- hsa04151: PI3K-Akt signaling
Common Analysis Patterns
Pattern 1: Transcription Factor Activity
Observation: Many genes upregulated
Hypothesis: Shared transcription factor (TF)
Test:
Interpretation: Enrichment suggests TF is active/inactive in condition
Pattern 2: Pathway Coordination
Observation: Genes in same pathway all up/down together
Interpretation: Pathway-level regulation (not individual genes)
Example:
Pattern 3: Compensatory Response
Observation: Opposite regulation of related pathways
Example:
Correlation Analysis
Co-expression Networks
When: Identify genes that change together
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/domain/genomics/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/openscientist-io/openscientist/genomics)