Skip to content

ROBIN Quickstart

What this page covers

Run robin workflow after installation: what ROBIN expects from MinKNOW/BAMs, how to stage reference + panel BEDs, example commands, and panels.
For disclaimer, default admin password, and startup order, see What happens at startup. For the web UI, see Using ROBIN. For every flag, see CLI reference and the README.


What ROBIN expects from sequencing

ROBIN consumes aligned BAMs from Oxford Nanopore (usually written in real time by MinKNOW):

Expectation Notes
Basecalling HAC is sufficient; SUP not required.
Methylation Enable 5mC / 5hmC modified-base calling in CpG contexts only in MinKNOW if your analyses need methylation. Do not use all-context calling.
Alignment Done in MinKNOW — ROBIN does not realign reads.
BAM rollover Read-count–based chunks. Each BAM must be ≤ 50,000 reads; we recommend ~50,000 reads per file. Do not rely on time-only (e.g. hourly) rollover — see README — BAM read limit.
POD5 / FASTQ Not required; you can turn them off if you only need BAM.

Memory on smaller machines

On ≤ 64 GB RAM, restart between long runs or after moving the flow cell. Dorado can retain GPU/host memory; restarting Dorado or the instrument after a run reduces OOM risk.


Reference and panel BEDs (one command)

Use robin utils sequencing-files to gather panel BED + GRCh38 reference in one folder for MinKNOW and for robin workflow --reference. Run after installation when you need a single consistent reference path.

robin utils sequencing-files --panel rCNS2 --output-dir ~/references/robin_ref
Option Purpose
-p / --panel Required. Same names as --target-panel (built-in panels such as rCNS2, AML; run robin utils sequencing-files --help for the list on your install).
-r / --reference Reference FASTA: either an HTTPS URL to download, or a local path to .fa / .fa.gz. If omitted, ROBIN uses the default NCBI GRCh38 no-alt analysis set (UCSC-style contig names) — a large download; use -r to point at an existing file if you already have GRCh38.
-o / --output-dir Output folder (default: ./reference_files in the current directory).
-y / --yes Skip the confirmation prompt (for scripts).

Use the same reference file for MinKNOW alignment and robin workflow --reference.

Other robin utils commands

Command Purpose
robin utils update-models Models / classification assets (Installation).
robin utils update-clinvar ClinVar resources for annotation.
robin utils mgmt Summarise MGMT CpG methylation from existing mgmt_sorted.bam outputs.

Run robin utils --help for the full list.


Run a workflow

Typical invocation:

robin workflow <data_folder> --work-dir <output_folder> \
  -w target,cnv,fusion,mgmt,sturgeon,nanodx,pannanodx,random_forest \
  --reference ~/references/hg38_simple.fa \
  --center <center_id>
Argument Meaning
<data_folder> Directory watched for incoming BAMs
--work-dir Root for outputs
-w Comma-separated analysis types
--reference Reference FASTA (needed for most steps)
--center Site label (e.g. Sherwood, Auckland)
--target-panel Panel name, e.g. rCNS2

Examples

# Broad workflow with a fixed panel
robin workflow ~/data/bam_files \
  --work-dir ~/results \
  -w target,cnv,fusion,mgmt,sturgeon,nanodx,pannanodx,random_forest \
  --reference ~/references/hg38_simple.fa \
  --center Sherwood \
  --target-panel rCNS2

# Smaller selection
robin workflow ~/data/bam_files \
  --work-dir ~/results \
  -w mgmt,sturgeon \
  --reference ~/references/hg38_simple.fa \
  --center Auckland \
  --target-panel AML

# More logging
robin workflow ~/data/bam_files \
  --work-dir ~/results \
  -w mgmt,cnv,sturgeon \
  --reference ~/references/hg38_simple.fa \
  --center New_York \
  --target-panel rCNS2 \
  --verbose \
  --log-level INFO

Point --reference at the same GRCh38 file you use in MinKNOW—for example from your sequencing-files output.


Commands you’ll use often

list-job-types

robin list-job-types

Examples include preprocessing, bed_conversion, mgmt, cnv, target, fusion, sturgeon, nanodx, pannanodx, random_forest (see live output for your version).

workflow

robin workflow /path/to/directory -w "<workflow_plan>" [OPTIONS]

Required: -w / --workflow, and --center.

Useful: --work-dir, --reference, --verbose, --log-level, --no-process-existing, --deduplicate-jobs, --use-ray / --no-use-ray, --with-gui / --no-gui — full list: robin workflow --help.


Panel management

Built-in panels include rCNS2 and AML. Custom panels are registered from BED (at least four columns: chr, start, end, gene name(s)).

robin list-panels
robin add-panel /path/to/panel.bed MyCustomPanel
robin add-panel /path/to/panel.bed MyCustomPanel --validate-only
robin remove-panel MyCustomPanel
robin remove-panel MyCustomPanel --force

You cannot reuse reserved names: rCNS2, AML.


Behaviour and limits

  • CNV — Heuristic; review visually before clinical use.
  • Stop with Ctrl+C — Graceful shutdown is attempted but not guaranteed.
  • Issues — GitHub issues.

Performance (brief)

Batched processing on heavy paths; optional LJ_BAM_THREADS; non-blocking GUI when NiceGUI is enabled.

License

Research use; see LICENSE in the repository. ROBIN integrates tools such as Sturgeon, Rapid-CNS2, Readfish, and others—see the repo for attribution.


Next steps