Skip to Content
ConceptsWhy it works this way

Why Ligase works this way

These pages explain the reasoning rather than the usage. Nothing here is needed to run a pipeline — the guides are for that — but everything here is needed to predict what Ligase will refuse, and why.

The one idea underneath all of it: biological data carries dimensions — organism, reference build, coordinate system, sample set — and connecting two steps whose dimensions disagree is the shape of nearly every silent failure in computational biology. Ligase puts those dimensions in the type system, where a mismatch is a build error rather than a plausible number.

Start here

  • Types and dimensions — why a file path is not enough to know whether two files belong together, and what a dimension actually is. Read this one first.
  • Pipelines and the graph — how a graph is built from functions nobody has called, which is what makes checking before computing possible at all.

What gets run, and what does not

What a step is allowed to be

  • What a curated step is — why ligase.steps is a library with an entrance exam rather than a bag of wrappers, and what the criterion has already kept out.

Dimensions beyond the genome

Each of these is a dimension that earned its place because its mismatch is a documented silent failure, not because the file format was convenient to parse.

  • Identifier spaces — why the space a gene list’s names live in is a dimension, and why there is no alias table.
  • Assembled data — why the evidence sources a knowledge graph was built from are a dimension, read off the graph rather than asked for.
  • What a molecule’s name means — why two compound sets standardised differently are two different sets of names for the same substances.
  • Where the data came from — the fetch at the top of nearly every pipeline, pinned or recorded, and replayable either way.
  • Recording a live answer — what a recorded query promises that a live one cannot.

Answering for a result afterwards

  • How was this produced? — why the record of how a result was made cannot be recomputed, and what is written down while it still can be.
  • A number in a paper — provenance answers how a result was produced; a claim asks what is behind the number you published.
  • What a result rests on — why the engine reports an assumption instead of refusing the run or quietly fixing it.

The one part that interprets

  • Resistance interpretation — the one component that interprets rather than checks, and why its rules are hashed by content instead of named by version.
Last updated on