↓ Skip to main content

Documentation

OTTER turns FASTQ inputs and sample metadata into validated workflow projects, then runs them locally or on SLURM. The manual is task-oriented: read it in order for a first run, or jump to the chapter you need.

Start here
#

NeedRead
Install a release or build from sourceInstallation
Prepare FASTQ files and sample metadataData preparation
Run a first workflowQuick start
Choose an assayAnalysis modes
Look up a commandCLI reference

Installation
#

Releases ship native binaries for Linux and macOS on both amd64 and arm64. The shell installer detects the platform, downloads the matching asset, and verifies it against the published checksums.

bash <(curl -fsSL https://raw.githubusercontent.com/otterlab-bio/otter/main/scripts/install.sh)

On Intel macOS the installer places the binaries only, because the pinned Bismark environment has no osx-64 build. The container image is an alternative:

docker run --rm -it -p 2222:2222 ghcr.io/otterlab-bio/holt-run:latest otter --version

Data preparation
#

otter create scans a directory of FASTQ files, pairs the reads by sample name, and reads one row per sample from a phenotype table. Pairing rules, the pdata format, and the sample-naming contract are documented in Data preparation.

Quick start
#

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-v19

otter config validate --config my_project/project.yaml --schema v1
otter config resolve --project my_project/project.yaml --backend local \
  --reference-root /shared/otter/references

otter run --config my_project/runs/<run-id>/run.yaml \
  --executor craftmake --phase step1 --backend local --foreground

otter build chains init, create, validation, and resolution into one step and stops before execution.

A reference is always selected as <id>@<release>. create verifies that selection against the registry and writes the resolved identity to references.lock.yaml; config resolve then writes the immutable otter.run/v1 snapshot that the executor consumes. The registry root is a deployment input, so supply it with --reference-root, with OTTER_REFERENCE_ROOT, or through a site profile.

Analysis modes
#

ModeInputWhat it produces
RRBSBisulfite FASTQ pairsCpG matrices after host removal
WGBSBisulfite FASTQ pairsGenome-wide methylation matrices
RNA-seqRNA FASTQ pairsExpression matrices and splicing calls
BS-PDXBisulfite FASTQ pairsGraft-only methylation matrices
RNA-PDXRNA FASTQ pairsGraft-only expression matrices

Each mode fixes its phase order, resource envelope, and operator set when the run is resolved. See Analysis modes.

Reproducing the evaluation
#

The benchmark corpus, the Xengsort comparison tables, and the cluster run records are archived in the manuscript repository and on Hugging Face:

There are no articles to list here yet.