/biomedical-engineering-technical:biomed-clinical-data-ml-and-bioinformaticsfrom biomedical-engineering-technical
Covers clinical data standards (HL7 v2, FHIR, OMOP CDM), clinical ML pitfalls (prevalence, calibration, validation ladder), and bioinformatics (alignment, variant calling, expression/single-cell analysis).
Ships in biomedical-engineering-technical. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Part 2 of 5 of the Biomedical Engineering reference (plugin
biomedical-engineering-technical), covering §3–§5. Sibling skills:biomed-signals-and-medical-imaging(§0–§2),biomed-structural-systems-biology-and-pharmacology(§6–§9),biomed-biomechanics-devices-and-biostatistics(§10–§15),biomed-reference(§16–§20). Section numbers are shared across the set; a reference written as §N →skillpoints into that sibling skill.Currency: The physics, physiology and mathematics are stable; tool and pipeline recommendations shift slowly.
Scope note. This is the engineering and science. Regulatory pathways, quality systems, and lifecycle process are deliberately excluded — they're a separate subject and they'd swamp the technical content.
⚠️ GOTCHA boxes mark where a silent wrong answer is produced — which in this domain is the dangerous failure mode, not a crash.
The three technical facts that recur everywhere below:
- ⚠️ Biological signals are non-stationary, and most DSP assumes stationarity. Every windowing choice is an assumption about how long the physiology holds still (§1 →
biomed-signals-and-medical-imaging).- ⚠️ Prevalence governs predictive value. Sensitivity and specificity are properties of a test; PPV is a property of a test in a population. Confusing them is the single most common quantitative error in the field (§4.1).
- ⚠️ Biological variability is the signal's competitor. Between-subject variance usually exceeds the effect you're measuring, which is why normalization, within-subject designs, and mixed-effects models dominate (§15 →
biomed-biomechanics-devices-and-biostatistics).
[Technical view only — what the formats are and where they break.]
| Standard | Structure |
|---|---|
| HL7 v2 | ⚠️ Pipe-delimited segments (MSH, PID, OBR, OBX). 1989. Still runs most hospitals |
| FHIR | REST + JSON/XML, resource-oriented (Patient, Observation, Condition…) |
| DICOM | §2.2 → biomed-signals-and-medical-imaging |
| OMOP CDM | ⚠️ Relational common data model for observational research — person, visit_occurrence, condition_occurrence, measurement, drug_exposure |
| CDISC SDTM/ADaM | Trial submission tabulations |
| SNOMED CT | ⚠️ ~350k concepts, polyhierarchy, post-coordination |
| LOINC | Lab/observation codes — 6-part name (component, property, time, system, scale, method) |
| RxNorm | Drug normalization across brand/generic/ingredient |
| UCUM | ⚠️ Unit codes. Use them. |
⚠️ The technical failure modes:
Sensitivity and specificity are properties of a test. PPV is a property of a test in a population.
PPV = (Sens × Prev) / (Sens × Prev + (1−Spec) × (1−Prev))
Worked — a genuinely good test in a screening setting:
Sens 95%, Spec 95%, Prevalence 1%
PPV = (0.95 × 0.01) / (0.95×0.01 + 0.05×0.99)
= 0.0095 / (0.0095 + 0.0495) = 16.1% ⚠️
⚠️ 84% of positives are false, with a 95/95 test. Move prevalence to 20% (a referral population) and PPV becomes 82.6%. Same test. Nothing changed but the population.
⚠️ Consequences: accuracy is meaningless at low prevalence (99% by always saying no); AUROC is prevalence-independent and therefore hides this; use AUPRC for imbalanced problems, whose baseline is the prevalence itself.
Discrimination (AUROC) asks whether ranking is correct. Calibration asks whether "70%" means 70%. For decision support, calibration is what the clinician acts on.
(1/N)Σ(p_i − y_i)².Decision curve analysis — net benefit across threshold probabilities. ⚠️ The metric that actually answers "is this useful," and it's underused.
Internal (CV, holdout) ⚠️ necessary, never sufficient
Temporal (train past, test future) catches drift and leakage
External (different sites/scanners) ⚠️ where performance typically drops
Prospective (real workflow, real time)
Outcome trial ⚠️ does it change outcomes, not just AUROC?
⚠️ Group-aware splitting is mandatory: split by patient, not by image or record. A patient with 40 slices in both train and test leaks.
Reporting: TRIPOD+AI, CONSORT-AI, SPIRIT-AI, STARD-AI.
Pairwise, dynamic programming: Needleman–Wunsch (global, O(mn)),
Smith–Waterman (local — ⚠️ the difference is a zero floor in the recurrence and
traceback from the maximum cell), with affine gap penalties (gap_open +
k·gap_extend) via Gotoh's three-matrix formulation, because a single long indel is
biologically far more likely than many separate ones.
Substitution matrices: BLOSUM62 (protein, from blocks of aligned segments — ⚠️ the default for most protein searches), PAM series, and simple match/mismatch for DNA.
Heuristic search: BLAST — seed with exact word matches, extend, evaluate. ⚠️ E-value = expected number of hits this good by chance in a database this size, so it depends on database size — the same alignment gets a different E-value in a bigger database.
Read alignment at scale: BWA-MEM, Bowtie2, minimap2 (⚠️ long reads) —
all built on the FM-index / Burrows-Wheeler transform, giving O(m) substring search
in a compressed index. This data structure is why resequencing became tractable.
FASTQ → QC/trim → align (BAM) → mark duplicates → base recalibration
→ call variants (VCF) → filter → annotate → interpret
Callers: GATK HaplotypeCaller (⚠️ local reassembly rather than pure pileup), DeepVariant (CNN over pileup images), FreeBayes, Strelka2. Structural variants: Manta, DELLY, and long reads, which are far better at them.
⚠️ The technical difficulties:
Formats: FASTQ (⚠️ Phred quality Q = −10 log₁₀ P(error); Q30 = 1 in 1000),
SAM/BAM/CRAM, VCF, BED, GFF/GTF.
Bulk RNA-seq: quantify (Salmon/kallisto — ⚠️ pseudoalignment, dramatically faster), then differential expression with DESeq2 or edgeR — ⚠️ which model counts as negative binomial, because RNA-seq is overdispersed relative to Poisson. ⚠️ Normalization matters more than the test: TPM within-sample, but median-of-ratios or TMM across samples — RPKM/FPKM are not comparable between samples.
Single-cell: QC (⚠️ MAD-based filtering on counts, genes, and mitochondrial fraction) → normalize → HVG selection → PCA → neighbourhood graph → Leiden clustering → UMAP.
⚠️ GOTCHA — UMAP and t-SNE distances are not meaningful. Cluster sizes, inter-cluster distances, and apparent density are artifacts of the embedding. Use them to visualize, never to quantify. Conclusions must come from the graph or the expression, not the picture.
Batch effects are pervasive: Harmony, scVI, Combat. ⚠️ Over-correction merges real biology; under-correction leaves batch as the dominant axis. There is no automatic answer.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
clinical-data, clinical-ml, bioinformatics, genomics, healthcare-ai
Other plugins' skills for the same job
5 skills in this plugin
/biomed-biomechanics-devices-and-biostatisticsUse when working on the physical or experimental side: biomechanics of tissue and gait, biomaterials and biocompatibility, tissue engineering and scaffolds, neural interfaces and prosthetics (recording, the signal chain, prosthetic control), lab automation and instrumentation, and the biostatistics that determine whether a result holds up — study design, multiple comparisons, survival analysis and effect sizes./biomed-referenceUse when correcting a common biomedical misconception, checking a physiological or instrument value, finding the textbook canon, or needing the core equations, a method picker, and a debugging checklist for a pipeline producing implausible output. Companion to the other biomedical-engineering skills./biomed-signals-and-medical-imagingUse when working with physiological signals or medical images: the signals and their frequency bands (ECG, EEG, EMG, PPG), the filtering constraints specific to this domain, detection and feature extraction; and medical imaging — modality physics for CT, MRI, ultrasound, PET and X-ray, the DICOM internals that produce silent errors, reconstruction, and registration and segmentation. Includes the router for the whole biomedical-engineering reference./biomed-structural-systems-biology-and-pharmacologyUse when modelling biological structure or dynamics: structural biology including protein structure determination and prediction, systems biology and network modelling, pharmacokinetics and pharmacodynamics including compartment models, clearance and dose-response, and physiological models of the cardiovascular, respiratory and metabolic systems.npx claudepluginhub the-vibey-project/vibey --plugin biomedical-engineering-technical