agentsclimarketplace

Rare disease rnaseq

Skill BioTender-max/awesome-bio-agent-skills/skills/clawbio/rare-disease-rnaseq

A curated collection of AI agent skills for biomedical research, covering genomics, proteomics, single-cell analysis, clinical AI, and protein design.

Install
npx -y skills add BioTender-max/awesome-bio-agent-skills --skill rare-disease-rnaseq

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.

What its author says it does

Copied from the file, not written here

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.

SKILL.md

4.8 KB, as published. Nobody here has run it

🩸 Rare-Disease Blood RNA-seq Outlier Detection

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.

When To Use

  • A WGS-negative or WGS-VUS rare-disease patient with a paired blood RNA-seq sample
  • A clinical bioinformatician triaging candidate diagnoses before MDT review
  • A population-biobank team building an ancestry-matched control reference for outlier calling (e.g. Qatar Biobank for Sidra paediatric cases)

Method

Per-gene robust outlier scoring on log2(CPM+1):

  1. Library-size normalise (CPM), log-transform
  2. For each gene: compute median and MAD across the control panel
  3. For each case-gene cell: modified z = 0.6745 (x βˆ’ median) / MAD
  4. Flag |z| β‰₯ threshold (default 3) and gene in disease panel
  5. Rank by |z|, separate down-outliers (haploinsufficiency-consistent) from up-outliers

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.

Input Contract

  • Counts matrix (.csv or .tsv): rows = genes (HGNC symbol), columns = sample IDs
  • Cases file (.txt): one case sample ID per line
  • Controls file (.txt): one control sample ID per line (typically n β‰₯ 50)
  • Disease panel (optional, .csv with gene and mechanism columns): defaults to a built-in 50-gene haploinsufficient panel

Output Structure

rdoutlier_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

Demo

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.

Production Path (Sidra / QBB Reference)

ComponentDemoProduction
Aligner + quantifiernone (synthetic counts)STAR + featureCounts (or Salmon)
Outlier algorithmrobust per-gene z-scoreOUTRIDER autoencoder + FRASER2 splicing
Control panel100 synthetic samplesQBB nβ‰ˆ12K PAXgene blood RNA-seq
Confounder correctionnoneDROP pipeline (RIN, batch, hidden factors)
Disease panel50 haploinsufficient genesClinGen haploinsufficient + PanelApp
Return-of-result loopreport.mdSidra MDT reflex from WGS-negative referrals

Safety

  • Local-only processing, no network calls in core pipeline
  • Compatible with secure research environments (Genomics England RE pattern; Sidra clinical genomics environment)
  • Disclaimer required on every report

Disclaimer

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.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.