Guides
One task per page, each with an example you can run. The order below is roughly the order a pipeline gets built in, but the pages do not depend on each other — go to the one that matches what you are doing.
If you have not installed Ligase yet, start here — about five minutes, with no aligner needed.
Before there is a pipeline
- Inspecting files you have — what Ligase makes of a file, where it read each dimension from, and whether two files agree. No pipeline, nothing executed, nothing cached.
- Declaring dimensions — declare what a file cannot say about itself, check what was inferred and from where, and read the errors when two inputs disagree.
Building and running one
- Building a pipeline — write steps, connect them, fan out over samples, and have the graph type-checked before any of it runs.
- Steps you do not have to write — the four curated steps that ship with the package: two aligners, a sort and a caller.
- Running a pipeline — say how each step produces its output, run it in parallel, read the report, and find the files afterwards.
- Fetching your inputs — declare where the data comes from, pin it by digest, and have it verified before any step runs.
- Recording a live query — ask an API once, then replay every later run from the record, with no network and no API key.
Scaling it out
- Pointing a lab at a bucket — set
LIGASE_STOREand the machine next to yours stops recomputing what you have already computed. - Running on a cluster — the Slurm array recipe,
what to set
--leaseto, and the three mistakes worth knowing about.
Comparing things that look comparable
Each of these is a join that succeeds and means nothing until the dimension is right.
- Crossing identifier spaces — including what to do about the identifiers that do not cross.
- Comparing ranked lists — why reordering the rows changes the result when rank is the output.
- Comparing knowledge graphs — watch two assemblies that disagree refuse to join before anything runs.
- Comparing compound sets — standardise one set so the join is honest rather than merely permitted.
Checking that it repeats
- Checking that a step repeats — why an unchanged
result can have changed bytes, and what
ligase audittells you. - Declaring a stochastic step — how the engine refuses a sampling step that forgot its seed.
- Fixing a noticed line — your run succeeded and printed
noticed. What that means and why it is not an error.
Answering for it
- Writing up a pipeline — generate the methods paragraph, package a reproducibility bundle, verify one on another machine.
- Binding a number you published — declare the numbers your
paper states, and let
ligase methodstell you which of them the pipeline still stands behind.
The worked domain example
- Interpreting resistance — HIV-1 variant calls to a drug-by-drug report, and choosing the mixture threshold deliberately.
Last updated on