User manual
Otter user manual#
OTTER: Orchestrated Transcriptomic, Tumor-xenograft (PDX/CDX), and Epigenomic Reporting Workflow
This manual is organized around the first successful run rather than the internal package layout.
Choose a path#
| Goal | Chapter |
|---|---|
| Install a release or build from source | 1. Installation |
| Prepare FASTQ files and sample metadata | 2. Data preparation |
| Create and run your first project | 3. Quick start |
| Select RRBS, WGBS, RNA-seq, or PDX behavior | 4. Analysis modes |
| Use custom references, SLURM resources, recovery, and canonical snapshots | 5. Advanced usage |
| Understand the companion tools | 6. Component reference |
| Diagnose common failures | 7. FAQ |
| Migrate legacy reference genomes | 8. Reference migration |
| Look up every public command family | 9. CLI reference |
The current execution model#
otter → craftmake → enva → operators → bamdriverTwo executors ship. craftmake is the default for otter build and otter config resolve, and it executes canonical immutable otter.run/v1 snapshots. snakemake is the compatibility executor for existing Snakemake-based workflows; select it with --executor snakemake.
Core command flow#
The default path authors a canonical v1 project, which is what otter run accepts:
otter init my_project
otter create \
--output my_project \
--fastq ./fastq \
--pdata ./samples.csv \
--mode RRBS \
--jobid demo_rrbs \
--reference-root /shared/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
otter run --config my_project/runs/<run-id>/run.yaml \
--executor craftmake --phase step1 --backend local --foregroundotter create writes a resolvable project directly: it locks the declared
references into references.lock.yaml, and config resolve writes the immutable
run.yaml that otter run consumes. A reference selection is always
<id>@<release>, for example hg19@GRCh37.p13-gencode-v19.
otter build chains init, create, validate, and resolve into one command and
stops before execution:
otter build \
--project-root my_project \
--fastq ./fastq \
--pdata ./samples.csv \
--mode RRBS \
--reference-root /shared/references \
--reference-primary hg19@GRCh37.p13-gencode-v19 \
--backend localIt defaults to the craftmake executor; --executor snakemake records the
Snakemake compatibility executor in the snapshot instead.
Legacy authoring has been removed. A pre-existing legacy project (created by an
earlier release, with config/otter.yaml under userspace/<jobid>/) is not
accepted by any executor directly. To run it, migrate into a canonical root and
execute the resulting snapshot:
otter init migrated
otter config migrate \
--input old_project/userspace/demo_rrbs/config/otter.yaml \
--output migrated/project.yaml \
--reference-root "$OTTER_REFERENCE_ROOT" \
--reference-primary hg19@GRCh37.p13-gencode-v19
otter config resolve --project migrated/project.yaml \
--reference-root "$OTTER_REFERENCE_ROOT" --backend local
otter run --config migrated/runs/<run-id>/run.yaml \
--executor snakemake --dry-run --foregroundSee chapter 8 for the migration contract.
Before you begin#
- Linux or macOS for local development; Linux with SLURM is the primary production target.
- Paired FASTQ files and a matching pdata file for
create. - A reference registry release for the selected scenario, addressed as
<id>@<release>(see reference migration). - A site profile when the machine is not the default target; generate one with
otter site generate(see advanced usage). otter-snakemakefor the Snakemake compatibility path.envaand the managed runtime environments when using the release workflow setup.