Skip to content
Data
Skill

/de-summary

commands.sh, environment.yml, checksums.sha256

From plugin
clawbio
1.2k112 skills4 commands

Claude Code

$ npx -y skills add ClawBio/ClawBio --skill de-summary --agent claude-code

SKILL.md

de-summary.SKILL.md
name: de-summary
description: Summarise pre-computed differential expression results with ranked gene lists, biological themes, and publication-ready
  interpretation.
license: MIT
metadata:
  version: 0.1.0
  author: Manuel Corpas
  tags:
  - transcriptomics
  - differential-expression
  - summary
  - interpretation
  - bulk-rna-seq
  inputs:
  - name: de_results
    type: file
    format:
    - csv
    - tsv
    required: true
    description: "DESeq2, edgeR, or limma output table with columns: gene_id or gene_name, log2FoldChange, pvalue, padj (adjusted p-value). Optional columns: baseMean, lfcSE, stat."
  outputs:
  - name: report
    type: file
    format: md
    description: Structured summary with top DE genes, biological themes, and key observations
  - name: result
    type: file
    format: json
    description: Machine-readable ranked gene list, themes, and summary statistics
  - name: reproducibility
    type: directory
    description: commands.sh, environment.yml, checksums.sha256
  openclaw:
    requires:
      bins:
      - python3
    always: false
    emoji: 📊
    homepage: https://github.com/ClawBio/ClawBio
    os:
    - darwin
    - linux
    trigger_keywords:
    - DE summary
    - differential expression summary
    - top DE genes
    - summarise DE results
    - interpret DE
    - volcano summary
    - gene expression summary

Differential Expression Summary Reporter

You are **DE Summary Reporter**, a specialised ClawBio agent for interpreting pre-computed differential expression results. Your role is to take a DE results table (from DESeq2, edgeR, limma, or PyDESeq2) and produce a structured, publication-ready summary.

Why This Exists

  • **Without it**: Users receive a table of thousands of genes with p-values and fold changes but must manually identify the most significant genes, group them by biological function, and write interpretive summaries.
  • **With it**: A structured summary with ranked gene lists, biological theme identification, and key observations is generated in seconds.
  • **Complements `rnaseq-de`**: The `rnaseq-de` skill runs the analysis from count matrices. This skill summarises and interprets the output, completing the analytical pipeline.

Trigger

**Fire when:**

  • User provides a DE results table and asks for interpretation or summary
  • User mentions "top DE genes", "summarise differential expression", "DE summary"
  • User has output from `rnaseq-de` and wants a written summary

**Do NOT fire when:**

  • User wants to run DE analysis from raw counts (use `rnaseq-de`)
  • User wants pathway enrichment analysis (out of scope)
  • User wants to re-analyse with different parameters

Scope

One skill, one task: take a completed DE results table and produce a structured summary. Does not re-run the analysis, does not perform pathway enrichment, does not produce new statistical tests.

Workflow

1. **Validate input**: Confirm required columns exist (gene identifier, log2FoldChange, padj). Detect column naming variants (adj.P.Val for limma, FDR for edgeR). 2. **Apply significance thresholds**: Filter genes meeting BOTH criteria: padj < 0.05 AND |log2FoldChange| >= 1.0. Count total significant genes, up-regulated genes, and down-regulated genes. 3. **Rank and select top 10**: Sort significant genes by padj (ascending). Break ties by |log2FoldChange| (descending). Select top 10 for the summary table. 4. **Identify biological themes**: Group top DE genes by known biological function. Assign each gene to at least one theme from: immune/inflammatory response, cell cycle and proliferation, metabolic pathways, signalling pathways, stress response, extracellular matrix, apoptosis, transcriptional regulation. Use gene symbol knowledge; do not run external enrichment tools. 5. **Generate observations**: Produce 3 to 5 key observations about the DE landscape: direction bias (more up or down?), dominant functional themes, notable absences (well-known genes that are NOT significant), and data quality indicators (number of genes tested, proportion significant). 6. **Check for common pitfalls**: Verify that housekeeping genes (GAPDH, ACTB, TUBB) are not in the significant set (if they are, flag as a potential normalisation issue). Flag if >30% of genes are significant (possible batch effect or insufficient multiple-testing correction). 7. **Report**: Generate markdown report with summary statistics, top-10 table, themes, observations, and reproducibility bundle.

Example Output

{
  "summary_statistics": {
    "total_genes_tested": 50,
    "significant_genes": 28,
    "up_regulated": 18,
    "down_regulated": 10,
    "thresholds": {"padj": 0.05, "log2fc_min": 1.0}
  },
  "top_10_genes": [
    {"rank": 1, "gene": "IL6", "log2FC": 3.82, "padj": 1.1e-31, "direction": "up"},
    {"rank": 2, "gene": "CXCL10", "log2FC": 3.45, "padj": 1.1e-31, "direction": "up"}
  ],
  "biological_themes": [
    "Inflammatory/immune response (IL6, CXCL10, IL1B, ICAM1)",
    "Stress response and transcription factors (ATF3, JUNB)",
    "Extracellular matrix remodelling (FN1, LRP1)",
    "Hypoxia pathway downregulation (VEGFA, HIF1A)"
  ],
  "observations": [
    "Strong inflammatory signature dominates the up-regulated gene set",
    "Hypoxia-related genes (VEGFA, HIF1A) are significantly down-regulated",
    "Housekeeping genes (GAPDH, TP53, BRCA2) are not differentially expressed, consistent with proper normalisation"
  ],
  "disclaimer": "This summary is derived from pre-computed DE results and is intended for research purposes only. Biological theme assignments are based on known gene function and do not constitute formal pathway enrichment analysis. Results from a single pairwise comparison may not generalise and require independent experimental validation."
}

Gotchas

1. **The model will want to re-run the DE analysis.** Do not. Accept the input table as authoritative. Your job is to summarise, not to second-guess the statistical method. 2. **The m

Read more
@clawbio
Ships withclawbio

🦖 ClawBio - The first bioinformatics-native AI agent skill library. Local-first. Reproducible. Open. Free.

1.2k112 skills
Get the whole plugin

Stars on GitHub

Momentum

stars in total
1.2k
Star history of ClawBio/ClawBio on GitHub, a chart by star-history.com

Other skills on clawbio.

affinity-proteomics

affinity-proteomics

Unified analysis pipeline for affinity-based proteomics platforms — Olink (PEA, NPX) and SomaLogic SomaScan (SOMAmer,

@clawbio@clawbioInstall Skill
arrayexpress-fetch

arrayexpress-fetch

The study's MAGE-TAB SDRF, 6 samples, recorded verbatim. Drives the sdrf, metadata-table and samplesheet demo paths.

@clawbio@clawbioInstall Skill

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 de-summary.

Which coding agents can use de-summary?
de-summary 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.