adl.seqcore · ADL 0.5.1 SeqCore LIMS
Every result traces back to the tube.
Laboratory information management for next-generation sequencing labs — tracking requisitions from specimen receipt and chain of custody through library QC, flow-cell runs, checksummed bioinformatics analysis, and director sign-out, with every quality gate enforced on the Kalos server.
requisition → specimen (chain of custody) → library (QC) → loading → run → analysis → report
Why SeqCore LIMS Exists
In a clinical, academic core, or biopharma sequencing laboratory, a sample never stays a single database row. A patient or study requisition arrives as a physical specimen tube, accumulates chain-of-custody transfers, becomes a DNA/RNA library with concentration and fragment-size QC metrics, joins a multiplexed pool on a flow-cell lane, produces gigabases of reads on a calibrated sequencer, runs through a versioned bioinformatics pipeline, and culminates in a reviewed, director-signed report.
In traditional custom-coded LIMS software, the hand-off rules between those stages sprawl across frontend form checks, controller middleware, and database triggers — making it easy for a rushed script or API client to bypass a quality gate.
SeqCore LIMS declares that entire laboratory domain — 10 resources, 5 RBAC roles, lifecycle state machines, cross-resource AEL guards, scheduled calibration tasks, and full change auditing — in a single ADL 0.5.1 suite executed directly by the Kalos C++ runtime against PostgreSQL. Nothing is mocked in the browser: every table, state transition, audit event, and refusal message comes live from /api/v1/seqcore/*.
Inside the Two-Week Demonstration Dataset
When you open a bench (no registration required — one click signs you into a real Kalos JWT session for that role), you step into two weeks of realistic, non-PHI laboratory activity seeded across 10 hospital, clinic, university, and biopharma clients:
- 12 Requisitions & 14 Specimens: Including routine exomes, STAT tumor panels, hereditary panels, RNA panels, and research whole-genome sequencing. One specimen was rejected at receipt due to an unlabeled tube (blocking downstream library prep), and one newly arrived saliva tube (
SP-20513) awaits accessioning. - Libraries & Flow-Cell Runs: Seven completed runs (six above the 75% Q30 quality floor, plus
FC884204at 72% Q30, automatically flagged for director review), one failed run (FC884207— clogged flow cell in cycle 31), one active run (FC884208), and one planned run (FC884209) ready for technologist loading. - Checksummed Analyses & Staged Reports: Secondary analyses record immutable pipeline versions (e.g.,
germline-dna 4.2.1) and SHA-256 output digests. Ten reports span the full sign-out lifecycle: 4 released, 2 signed, 3 reviewed & awaiting director signature, and 1 draft. - Instrument Calibration: One backup sequencer has a lapsed calibration date, allowing technologists to test the server’s refusal when attempting to start a run on out-of-calibration hardware.
How ADL Enforces Inspection Readiness
When an inspector pulls a single accession such as A26-1101, five predictable audit questions are answered directly by structural invariants in the ADL model rather than user convention:
- Chain of custody (
custodyIsAppendOnly): Every receipt, freezer placement, aliquot, or disposal is recorded as an append-onlycustodyrecord — updates and deletes are disallowed at the permission and validation layer. - Reagent & hardware provenance: Library prep kit lots (
KL-2612) and sequencer calibration dates (SEQ-02) are first-class foreign-key references checked before a run can transition fromplannedtorunning. - Immutable bioinformatics provenance (
pipelineVersionIsWrittenOnce): Once an analysis record is created, itspipelineandpipelineVersionfields are locked against modification using AELfieldChanged()guards, paired with a SHA-256 checksum of the VCF/BAM output. - Two-person sign-out (
reportstate machine): Analysts may transition a report fromdraft→reviewed, but onlydirector(oradmin) holds the transition guard forreviewed→signed. Once signed,signedReportsAreFrozenprevents any mutation to clinical findings. - Automatic audit trail (
features: { audit: true }): Every create, update, and state transition across all ten resources records the authenticated actor, UTC timestamp, and before/after field values automatically in Kalos.
Zero Sign-Up · Live Kalos Sessions
Sit at a Bench and Try It Live
Each card below signs directly into a real role-scoped JWT session on the production Kalos backend so you can test role queues, transitions, and server refusals immediately.
accessioner as accessioner1 Accessioning Bench
One specimen sits at receipt waiting to be accepted or rejected (with a mandatory rejection reason). Record chain-of-custody transfers and release director-signed reports.
Launch accessioner1 bench ↗technologist as tech1 Sequencing Technologist
Work library prep, pool passing libraries onto planned flow cell FC884209, try loading a failed-QC library to see the server refusal, or inspect a lapsed backup sequencer.
Launch tech1 bench ↗analyst as analyst1 Bioinformatics Analyst
Monitor a running secondary analysis pipeline with SHA-256 output checksums and complete analyst review on a draft report so it advances to the director's queue.
Launch analyst1 bench ↗director as director1 Laboratory Director
Sign three reviewed clinical & research reports, evaluate flagged flow cell FC884204 (72% Q30), and triage an overdue STAT oncology requisition.
Launch director1 bench ↗Production Interface Walkthrough
Inside SeqCore LIMS — Screen by Screen
Captured directly from the live Kalos deployment. Click any screenshot to inspect full resolution or jump straight to that screen in the running application.
Declarative Server Enforcement
What the Kalos Server Refuses — Whoever Asks
These invariants live in the ADL domain definition, not in client-side UI JavaScript. Every REST request is checked by Kalos before touching PostgreSQL, and any violation returns a structured error naming the rule.
| Attempted Operation | Enforced ADL Rule / Guard | Regulatory Alignment |
|---|---|---|
| Prepare a library from a specimen that was not accepted | rejectedSpecimensGoNoFurther | 42 CFR 493.1242 |
| Reject a specimen without recording why | specimen.reject requires rejectReason | 42 CFR 493.1283 |
| Load a library that failed QC onto a sequencing run | failedQcNeverReachesARun | Domain invariant |
| Add a library to a run after the run has started | loadOnlyPlannedRuns | Domain invariant |
| Start a run on an instrument out of calibration or in maintenance | noRunOnAnOutOfCalibrationInstrument | 42 CFR 493.1255 |
| Start bioinformatics analysis on a run that has not completed | analysisNeedsACompletedRun | Domain invariant |
| Sign a report while its underlying analysis is incomplete | signOnlyCompletedAnalyses | 42 CFR 493.1291 |
| Edit or overwrite an existing chain-of-custody entry | custodyIsAppendOnly | Domain invariant |
| Alter an analysis pipeline version or edit a signed report | pipelineVersionIsWrittenOnce · signedReportsAreFrozen | Domain invariant |
Domain Footprint
ADL Suite Inventory
Resources (10)
clientrequisitionspecimencustodyinstrumentlibraryrunloadinganalysisreport RBAC Roles (5)
accessionertechnologistanalystdirectoradmin Declarative Views (3)
turnaroundBoardrunQualityreportsAwaitingSignature