Skip to Content
GuidesEvery guide

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_STORE and the machine next to yours stops recomputing what you have already computed.
  • Running on a cluster — the Slurm array recipe, what to set --lease to, 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.

Checking that it repeats

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 methods tell 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