Harmoniomics Harmoniomics is in alpha: early, and still changing

NGS data lineage

Harmoniomics records your lab’s work as a lineage: a fixed backbone of fourteen record types joined by five kinds of link, and facets for everything your lab measures along the way.

The backbone

The backbone is the same in every lab and every node. Its set of record types is closed: adding one is a new major version of the standard, never a local change. What varies from lab to lab, such as kit fields, instrument settings, QC metrics and local rules, lives in facets on those records instead. That is what keeps two labs’ lineages comparable: the shape is fixed, the records are extended.

Arrows follow the material and the data. Each link is stored the other way, as the later record pointing back: the specimen is derived_from the subject. The per-sample FASTQ set also points straight back to its library, so a file’s sample is known without passing through the pool.

Material, processes and data

  • Material: subject, specimen, extract, library and pool. Each step is its own record because each is where your lab makes a decision, uses a reagent lot, and can go wrong independently of the others. A portion of something is another record of the same type, derived_from the original: an aliquot of a specimen is a specimen, so any depth of splitting is one kind of link.
  • Processes: a sequencing run is one execution of an instrument; an analysis run is one execution of a pipeline or tool, one per invocation rather than per internal step. A run states what it used from the moment it starts, so a run that failed before producing anything still says what was on it.
  • Data: a data file is a reference to one file, and a data file set is a group of files made together, such as a run’s raw folder or one sample’s FASTQ pair. Harmoniomics never stores file contents, only where they are. A set can be registered alone; files are added when something must attach to one of them.

What attaches to it

Supporting records are drawn plain: they are not in the lineage, they attach to it, either as something a step used or as a group a record is part of.
  • Project: an administrative grouping, such as a study, a grant or a customer order. It answers “whose samples are these”.
  • Context: a scientific grouping, such as a cohort, a family, a clinical test order or a sampling campaign. A member’s role, such as proband, is recorded on its link.
  • Protocol: a documented procedure and its version: an SOP, or a pipeline such as nf-core/sarek 3.4.0.
  • Reagent: a kit lot, not a kit type. The question is never “did we use this kit” but “did lot A1 correlate with failures”.
  • Actor: a person or an instrument that performed a step.

The five links

LinkStored from → toRead asFor example
derived_fromchild → parentthis came from thatEXT-0042-P derived_from SPEC-0042-P
part_ofmember → group or setthis belongs to thatLIB-0042-P part_of POOL-20260113
produced_byoutput → runthat run made thisBCL-20260113 produced_by RUN-20260113
usedstep → what it usedthat step consumed or relied on thisEXT-0042-P used KIT-QIAAMP-LOT-A1
same_asrecord → recordthese are one real thinga specimen registered twice

A same_as link is an assertion, never a merge. It records who asserted it, when, how, and with what confidence, and the two records stay separate. A merge could not be undone if the assertion later proved wrong, and two departments may disagree.

What a record holds

A record holds only who it is:

  • An internal ID: opaque and permanent, with no meaning of its own.
  • A name: harmoniomics://{institution}/{department}/{type}/{local ID}, where the local ID is whatever your LIMS already calls it.
  • External identifiers: what other systems call it, such as a BioSample accession, a tube barcode, or where a file is stored. One can be added whenever it arrives, for example an accession that comes back from an archive weeks later.

Everything else, from the specimen type to the Q30 of a run or the coverage of a sample, is a facet.

Facets

A facet attaches a block of fields to a record, or to a link, validated as one unit against a schema your department registers. The fields are yours: your names, your units, your codes, exactly as your LIMS or pipeline writes them. Mapping them to shared concepts comes afterwards, and never changes what was recorded.

Subject

SUBJ-0042-P

Facet Enrolment

schema clinical/enrolment v3 · written by lims-export 2.4

family_role
proband

mapped to a concept harmoniomics-concept:family_role

date_of_birth
withheld

patient data

enrolment_site
Ward 4

stored

Sequencing

RUN-20260113

Facet RunMetrics

schema core-lab/run-metrics v1 · written by bcl-qc 0.9

instrument_model
NovaSeq 6000

mapped to a concept harmoniomics-concept:instrument_model

percent_q30
92.4

stored

cluster_density_k
2,310

stored

File set

FASTQ-0042-P

Facet QcSummary

schema core-lab/qc-summary v2 · written by MultiQC 1.21

percent_duplication
11.2

mapped to a concept harmoniomics-concept:percent_duplicate_reads

mean_coverage
34.1

mapped to a concept harmoniomics-concept:mean_coverage

report_path
qc/0042-P.html

stored

  • Every facet says what it is. It names its schema and version, and what wrote it (a LIMS export, MultiQC, your own script), so anyone can check it, including a system that has never seen your facet before.
  • Stored whole, indexed where it matters. Every field is kept as written. The fields you will filter, group or compare across samples, those mapped to a concept or registered for the index, are also indexed one value at a time, which is what makes them searchable across departments.
  • Patient data stays out of reach. Where samples come from people, a field your schema marks as patient data is never indexed, never a search criterion, and withheld from every read.
  • Corrected as a whole. Re-running a tool corrects its facet; what it said before stays in the record’s history.
  • No facet is part of the standard. One becomes shared only when two independent labs need the same shape to work together.

To see which facets your departments attach to each record type, open the Facets view of Explore in your node’s web interface.

© 2026 Harmoniomics. All rights reserved.