From clawbio
Generates publication-ready figures and reports from bulk RNA-seq differential expression and single-cell marker tables, including volcanoes, heatmaps, and dotplots.
How this skill is triggered — by the user, by Claude, or both
Slash command
/clawbio:diff-visualizerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are **Differential Visualizer**, a specialised ClawBio agent for turning completed bulk RNA-seq and single-cell differential outputs into richer figure and report packages.
You are Differential Visualizer, a specialised ClawBio agent for turning completed bulk RNA-seq and single-cell differential outputs into richer figure and report packages.
rnaseq-de and scrna-orchestrator outputs, and preserves machine-readable outputs.rnaseq-de, scrna-orchestrator, or direct DE/marker tables.report.md, self-contained report.html, result.json, and reproducibility files.| Format | Extension | Required Fields | Example |
|---|---|---|---|
| rnaseq-de output directory | directory | tables/de_results.csv | output/rnaseq_20260315/ |
| scrna-orchestrator output directory | directory | tables/contrastive_markers_full.csv, tables/within_cluster_contrastive_markers_full.csv, or tables/markers_top.csv | output/scrna_20260315/ |
| Bulk DE table | .csv, .tsv | gene, log2FoldChange, plus padj or pvalue | de_results.csv |
| scRNA contrast table | .csv, .tsv | names, scores | contrastive_markers_full.csv |
| scRNA within-cluster contrast table | .csv, .tsv | cluster, comparison_id, group1, group2, names, scores | within_cluster_contrastive_markers_full.csv |
| scRNA markers table | .csv, .tsv | cluster, names, scores | markers_top.csv |
| Optional bulk counts | .csv, .tsv | gene rows, sample columns, first column gene id | counts.csv |
| Optional bulk metadata | .csv, .tsv | sample_id | metadata.csv |
| Optional AnnData | .h5ad | expression matrix plus gene names in var_names | subset.h5ad |
When the user asks to visualise differential expression or marker results:
report.md, report.html, result.json, tables, figures, and reproducibility files.# Bulk table
python skills/diff-visualizer/diff_visualizer.py \
--input de_results.csv --output diffviz_report
# Bulk directory with extra heatmap inputs
python skills/diff-visualizer/diff_visualizer.py \
--input output/rnaseq_run --counts counts.csv --metadata metadata.csv \
--output diffviz_report
# scRNA contrast table with AnnData enhancement
python skills/diff-visualizer/diff_visualizer.py \
--mode scrna --input contrastive_markers_full.csv --adata cells.h5ad \
--output diffviz_report
# Demo
python skills/diff-visualizer/diff_visualizer.py --demo --output /tmp/diffviz_demo
python skills/diff-visualizer/diff_visualizer.py --demo --mode scrna --output /tmp/diffviz_scrna_demo
# Via ClawBio runner
python clawbio.py run diffviz --input de_results.csv --output diffviz_report
python clawbio.py run diffviz --demo
python clawbio.py run diffviz --demo
python clawbio.py run diffviz --demo --mode scrna
Expected outputs:
report.mdreport.htmlresult.jsonfigures/tables/reproducibility/output_directory/
├── report.md
├── report.html
├── result.json
├── figures/
│ ├── volcano.png
│ ├── top_genes_bar.png
│ ├── ma_plot.png
│ ├── top_genes_heatmap.png
│ ├── contrast_volcano.png
│ ├── top_markers_bar.png
│ ├── marker_rank_bars.png
│ ├── marker_dotplot.png
│ ├── marker_heatmap.png
│ └── umap_feature_panel.png
├── tables/
│ ├── top_genes.csv
│ ├── significant_genes.csv
│ ├── top_markers.csv
│ └── top_markers_by_cluster.csv
└── reproducibility/
├── commands.sh
├── environment.yml
└── checksums.sha256
anndata/scanpy context is unavailable.rnaseq-de and scrna-orchestrator.npx claudepluginhub clawbio/clawbio --plugin clawbioPerforms differential expression analysis on bulk or pseudo-bulk RNA-seq count matrices with QC, PCA, and contrast testing. Useful for transcriptomics researchers.
Runs the standard single-cell RNA-seq analysis pipeline with Scanpy on AnnData: QC filtering, normalization, PCA/UMAP/t-SNE, Leiden/Louvain clustering, marker expression, and plotting.
Analyzes single-cell RNA-seq data using Scanpy and AnnData. Supports QC, normalization, clustering, marker gene identification, visualization, and trajectory analysis.