executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself โ your human partner chose inline execution, or no subagent tool is available
rare-disease-rnaseqBlood RNA-seq expression-outlier detection for rare-disease diagnostics. Cases scored against a control reference panel; outliers ranked and filtered by a haploinsufficient disease-gene panel.
Independent GitHub snapshot ยท Automated classification ยท Original documentation governs
name: rare-disease-rnaseq description: Blood RNA-seq expression-outlier detection for rare-disease diagnostics. Cases scored against a control reference panel; outliers ranked and filtered by a haploinsufficient disease-gene panel. license: MIT metadata: openclaw: requires: bins: - python3 env: null config: null always: false emoji: ๐ฉธ homepage: https://github.com/ClawBio/ClawBio os: - darwin - linux install: - kind: uv package: pandas bins: null - kind: uv package: numpy bins: null - kind: uv package: matplotlib bins: null tags:
Reproduces the diagnostic principle of the Genomics England NGRL paper (Blood-based RNA-Seq of 5,412 individuals, medRxiv 2026.03.19.26348811). For each case sample, scores per-gene expression against a control reference panel and flags candidates falling in a curated dosage-sensitive disease-gene panel.
Per-gene robust outlier scoring on log2(CPM+1):
This implements the diagnostic principle of OUTRIDER (per-gene outlier vs control panel) without the autoencoder, so it runs in seconds with no R/Bioconductor stack. For clinical-grade calls swap to the full DROP pipeline (gagneurlab/drop) which adds OUTRIDER's denoising autoencoder, FRASER2 splicing outliers, and confounder correction. The skill's I/O contract is the same so the upgrade is drop-in.
.csv or .tsv): rows = genes (HGNC symbol), columns = sample IDs.txt): one case sample ID per line.txt): one control sample ID per line (typically n โฅ 50).csv with gene and mechanism columns): defaults to a built-in 50-gene haploinsufficient panelrdoutlier_report/
โโโ report.md # per-case candidate diagnoses + clinical narrative
โโโ result.json # standard ClawBio envelope
โโโ figures/
โ โโโ case_outlier_heatmap.png # z-scores across cases ร top genes
โโโ tables/
โ โโโ outlier_calls.csv # all flagged outliers with z-score, direction, mechanism
โ โโโ per_gene_stats.csv # control median + MAD per gene
โโโ reproducibility/
โโโ commands.sh
โโโ environment.yml
โโโ checksums.sha256
python clawbio.py run rdoutlier --demo
Generates 100 synthetic Gulf-ancestry control samples + 2 cases with injected outliers (FBN1 down, NF1 up) across a 200-gene panel. Demonstrates the diagnostic loop end-to-end in seconds.
| Component | Demo | Production |
|---|---|---|
| Aligner + quantifier | none (synthetic counts) | STAR + featureCounts (or Salmon) |
| Outlier algorithm | robust per-gene z-score | OUTRIDER autoencoder + FRASER2 splicing |
| Control panel | 100 synthetic samples | QBB nโ12K PAXgene blood RNA-seq |
| Confounder correction | none | DROP pipeline (RIN, batch, hidden factors) |
| Disease panel | 50 haploinsufficient genes | ClinGen haploinsufficient + PanelApp |
| Return-of-result loop | report.md | Sidra MDT reflex from WGS-negative referrals |
ClawBio is a research and educational tool. It is not a medical device and does not provide clinical diagnoses. Consult a healthcare professional before making any medical decisions.