Skip to content
Data
Skill

/wes-clinical-report-en

Professional clinical report with interpretation, tables, and disclaimer

From plugin
clawbio
1.1k97 skills4 commands
Install
$ npx -y skills add ClawBio/ClawBio --skill wes-clinical-report-en --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/wes-clinical-report-en

Context preview

The summary Claude sees to decide when to auto-load this skill.

Professional clinical report with interpretation, tables, and disclaimer

SKILL.md

wes-clinical-report-en.SKILL.md
name: wes-clinical-report-en
description: Generates professional clinical PDF reports in English from WES (Whole Exome Sequencing) data with clinical interpretation
  summary, pharmacogenomic alerts, and follow-up recommendations.
license: PROPRIETARY
metadata:
  version: 1.0.0
  author: Manuel Corpas
  tags:
  - WES
  - exome
  - clinical-report
  - english
  - pharmacogenomics
  - PDF
  - ANNOVAR
  inputs:
  - name: WES markdown report
    format: markdown (.md)
    required: true
    description: Structured WES report with sections 1-7 (Exome Summary through Methods)
  - name: Logo left
    format: image (JPG/PNG)
    required: false
    description: Left institutional logo for cover and header
  - name: Logo right
    format: image (JPG/PNG)
    required: false
    description: Right institutional logo for cover and header
  outputs:
  - name: Clinical PDF report
    format: PDF (A4)
    description: Professional clinical report with interpretation, tables, and disclaimer
  openclaw:
    requires:
      bins:
      - python3
    always: false
    emoji: 🧬
    homepage: https://github.com/ClawBio/ClawBio
    os:
    - darwin
    - linux
    min_python: '3.9'
    dependencies:
    - reportlab
    - pandas
    private: true
    trigger_keywords:
    - WES clinical report
    - exome PDF report english
    - clinical report english
    - Novogene report english
    - WES report PDF

WES Clinical Report (English)

Skill for generating professional clinical PDF reports in English from whole exome sequencing (WES) data. Designed for Novogene WES data (GATK + ANNOVAR pipeline) but adaptable to any WES pipeline with equivalent annotations.

Trigger

**Fire this skill when the user says any of:**

  • "generate WES clinical report in English"
  • "English exome PDF report"
  • "WES report PDF"
  • "clinical report from exome data"
  • "Novogene report English"
  • "exome clinical PDF"

**Do NOT fire when:**

  • User asks for a Spanish report (use `wes-clinical-report-es`)
  • User asks for variant annotation only (use `variant-annotation`)
  • User asks for ACMG classification only (use `clinical-variant-reporter`)

Scope

One skill, one task: convert WES markdown reports into professional English-language clinical PDFs with interpretation.

Workflow

1. Parse WES markdown report (structured sections 1-7) 2. Extract KPI metrics from Exome Summary 3. Extract pathogenic variants, PGx alerts, rare damaging variants 4. Build interpretive summary paragraph 5. Render all sections as styled PDF with clinical tables 6. Add ancestry estimation (section 8) if data available 7. Add limitations section (section 9) 8. Add disclaimer and report metadata 9. Output PDF to specified directory

Capabilities

1. **Clinical interpretation summary**: key findings, high-risk PGx alerts, prioritised rare variants, clinical follow-up recommendations. 2. **Clinically significant variants**: ClinVar P/LP, ACMG SF v3.2, cancer predisposition panel, conflicting variants. 3. **Pharmacogenomics**: CPIC star alleles, clinical effects, affected medications with contextualised high-risk alerts. 4. **Fitness and nutrition traits**: genotypes with evidence grades (Corpas et al. 2021). 5. **Rare damaging variant prioritisation**: REVEL, CADD, gnomAD AF. 6. **Disease and pathway context**: OMIM, GWAS, COSMIC, KEGG. 7. **Institutional logos**: configurable left/right logos on cover and header.

Example Output

Page 1 (cover):
  [Logo Left]                    [Logo Right]
  +---------------------------------------------+
  |  Whole Exome Sequencing Report  [SampleN]   |
  |  Platform / Reference / Date                |
  +---------------------------------------------+
  [KPIs: Total SNPs | Missense | Stopgain | Rare Damaging | ClinVar]

  Results Interpretation
  (auto-generated clinical summary paragraph)

Pages 2+:
  1. Exome Summary
  2. Clinically Significant Variants
  3. Pharmacogenomics
  4. Fitness and Nutrition Traits
  5. Prioritised Rare Damaging Variants
  6. Disease and Pathway Context
  7. Methods
  8. Ancestry Estimation
  9. Limitations
  [Disclaimer]

Usage

# Generate reports for all samples
python skills/wes-clinical-report-en/wes_clinical_report_en.py \
  --report-dir /path/to/REPORTS/ \
  --output-dir /path/to/PDF-EN/ \
  --logo-left /path/to/logo_left.jpg \
  --logo-right /path/to/logo_right.jpg

# Generate report for a single sample
python skills/wes-clinical-report-en/wes_clinical_report_en.py \
  --report-dir /path/to/REPORTS/ \
  --output-dir /path/to/PDF-EN/ \
  --samples Sample3

# Demo with default Novogene data
python skills/wes-clinical-report-en/wes_clinical_report_en.py --demo

Input format

The skill consumes WES reports in markdown format generated by the analysis pipeline (scripts 02-12 in `ANALYSIS/SCRIPTS/`). Each markdown report must follow this structure:

# Whole Exome Sequencing Report: SampleN
> **Project** ... | **Platform** ... | ...
## 1. Exome Summary
## 2. Clinically Significant Variants
## 3. Pharmacogenomics
## 4. Fitness and Nutrition Traits
## 5. Prioritised Rare Damaging Variants
## 6. Disease and Pathway Context
## 7. Methods

Gotchas

1. **Logo paths must exist**: if logo files are missing, the report still generates but without institutional branding. The script silently skips missing logos. 2. **Table truncation**: tables with more than 20 rows are truncated in the PDF with a note to consult TSV files. Do not assume all data is visible in the PDF. 3. **Ancestry data is optional**: section 8 requires `ancestry_results.json` in the ancestry output directory. If absent, the section shows "No ancestry data available." 4. **ClinVar classifications are time-sensitive**: the report reflects ClinVar state at annotation time. Do not treat classifications as permanent. 5. **PGx star alleles from SNVs only**: CYP2D6 CNV analysis is not included. Do not claim complete metaboliser phenotyping.

S

Read more
Ships withclawbio

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

Get the whole plugin