otter
Project, configuration, workflow, and task control
OTTER turns FASTQ files and sample metadata into validated projects, then runs them locally or on Slurm from an immutable snapshot.
Phases in the snapshot
step1
slurmstep2-check
slurmstep3-report
localExecutor, backend, phase order, and the CPU and memory envelope are fixed at resolve time.
Each layer isolates one failure mode of the R and Snakemake prototype: solver deadlocks, lock contention, host-library drift, and record-level correctness.
Project, configuration, workflow, and task control
Native Local and Slurm executor with a single-writer state store
Rattler-first runtime environments, built once per tool set
Seven compiled domain operators over shared BAM primitives
Seven operator binaries now cover every computational step, and five execution invariants hold across local and cluster runs.
Quality control, host–graft classification, mate repair, quantification, splicing orchestration, QC aggregation, and methylation matrices run as binaries. Each operator is checked against its reference implementation on identical inputs.
fastqcx · xenofilx · pairbam · seq2mat · matsrun · qctb · methx
craftmake serialises controller writes through one SQLite connection with a rollback journal. On Lustre, 256 overlapping transactions completed with zero lost records.
Each genome selection is written as id@release, checked against a SHA-256 manifest, and bound into the run snapshot. A rerun cannot silently pick up a different index.
enva resolves the upstream toolchain with rattler and reuses one minimal environment, instead of re-solving dependencies at every step.
Release assets are statically linked on Linux, so the toolchain no longer depends on the host glibc version that broke dynamic builds on CentOS 7.
Backend and resource envelopes are recorded when the snapshot is resolved, so the same run.yaml drives a laptop and a cluster without edits.
Numbers come from matched runs on identical inputs and cluster allocations, not from synthetic microbenchmarks.
n = 3 paired repeats where stated. Full gradients are reported in Supplementary Tables S11 and S12.
Fourteen human fractions from 0.1% to 99%, three replicates each, read at fragment level. Usable recall counts only pairs that also pass a human alignment, which is the number that reaches downstream analysis.
| Human fraction | OTTER | Xengsort | Δ (pp) | OTTER mapped PPV | Xengsort mapped PPV |
|---|---|---|---|---|---|
| 0.1% | 92.13 | 92.60 | -0.47 | 93.29 | 94.17 |
| 0.5% | 92.62 | 93.20 | -0.58 | 98.60 | 98.81 |
| 1% | 92.59 | 93.21 | -0.61 | 99.30 | 99.40 |
| 2% | 92.67 | 93.24 | -0.57 | 99.65 | 99.70 |
| 5% | 92.69 | 93.25 | -0.56 | 99.86 | 99.88 |
| 10% | 92.65 | 93.23 | -0.58 | 99.94 | 99.94 |
| 25% | 92.65 | 93.24 | -0.59 | 99.98 | 99.98 |
| 50% | 92.62 | 93.21 | -0.59 | 99.99 | 99.99 |
| 60% | 92.61 | 93.21 | -0.59 | 99.99 | 100.00 |
| 70% | 92.61 | 93.20 | -0.59 | 100.00 | 100.00 |
| 80% | 92.60 | 93.20 | -0.60 | 100.00 | 100.00 |
| 90% | 92.59 | 93.19 | -0.60 | 100.00 | 100.00 |
| 95% | 92.59 | 93.19 | -0.60 | 100.00 | 100.00 |
| 99% | 92.60 | 93.20 | -0.60 | 100.00 | 100.00 |
3 replicates per fraction
| Human fraction | OTTER | Xengsort | Δ (pp) | OTTER mapped PPV | Xengsort mapped PPV |
|---|---|---|---|---|---|
| 0.1% | 54.03 | 52.97 | +1.07 | 40.82 | 42.73 |
| 0.5% | 52.92 | 52.23 | +0.69 | 77.22 | 78.67 |
| 1% | 51.61 | 50.91 | +0.70 | 86.71 | 87.68 |
| 2% | 52.23 | 51.60 | +0.63 | 93.17 | 93.69 |
| 5% | 52.01 | 51.33 | +0.68 | 97.16 | 97.39 |
| 10% | 51.98 | 51.30 | +0.68 | 98.64 | 98.75 |
| 25% | 52.00 | 51.34 | +0.66 | 99.54 | 99.58 |
| 50% | 52.09 | 51.43 | +0.66 | 99.85 | 99.86 |
| 60% | 52.00 | 51.34 | +0.66 | 99.89 | 99.90 |
| 70% | 52.02 | 51.37 | +0.65 | 99.93 | 99.94 |
| 80% | 52.01 | 51.36 | +0.65 | 99.96 | 99.96 |
| 90% | 52.02 | 51.37 | +0.65 | 99.98 | 99.98 |
| 95% | 52.02 | 51.37 | +0.65 | 99.99 | 99.99 |
| 99% | 52.02 | 51.37 | +0.65 | 100.00 | 100.00 |
3 replicates per fraction
Detects your platform, downloads the matching release asset, and verifies it against the published checksums.
bash <(curl -fsSL https://raw.githubusercontent.com/otterlab-bio/otter/main/scripts/install.sh)otter init my_project
otter create --output my_project --fastq /data/fastq --mode RRBS \
--pdata /data/samples.csv --jobid demo_rrbs \
--reference-root /shared/otter/references \
--reference-primary hg19@GRCh37.p13-gencode-v19The holt-run image follows the newest stable release and installs every tool from the release checksums.
docker run --rm -it -p 2222:2222 ghcr.io/otterlab-bio/holt-run:latest otter --versionWrites a simulated reference registry, authors each scenario, and resolves every phase with --dry-run. It executes no tool.
https://colab.research.google.com/github/otterlab-bio/otter/blob/main/notebooks/otter-colab-walkthrough.ipynbEach component is released and versioned on its own. The workflow pins them through the release manifest rather than through a loose environment.
Project, configuration, workflow, and task control plane
GoNative workflow compiler and Local/Slurm executor
GoRattler-first environment lifecycle manager
RustFASTQ quality control with FastQC-compatible summaries
GoStrand-aware host–graft read classification
GoPaired-end BAM filtering that keeps read-name groups intact
GoHTSeq counts to traceable expression matrices
GorMATS pairwise splicing orchestration
GoVersioned QC summary reporting
GoBismark coverage to versioned HDF5 methylation matrices
RustShared BAM and BGZF primitives
GoContainerised workbench with SSH and JupyterLab
ShellThe manual is task-oriented: installation, data preparation, a first run, and the five analysis modes.
Installation, FASTQ pairing rules, the CLI reference, and the migration path for legacy projects.
Open the manualA fifteen-minute Colab that authors every scenario and resolves every phase.
Run the notebook