↓ Skip to main content

7. FAQ

Why is otter not found?
#

Check the installation directory and PATH:

command -v otter
printf '%s\n' "$PATH"

A source-built binary may still report compatibility-era xdxtools symbols. Check ./otter --help before deploying it.

Why does the installer return 404?
#

Verify the canonical repository and authenticate when assets are private:

https://github.com/otterlab-bio/otter

Use GITHUB_TOKEN, GH_TOKEN, or GITHUB_PAT only through the installer’s supported environment interface. Never commit tokens or put them in URLs.

Why are submodules empty?
#

git submodule sync --recursive
git submodule update --init --recursive
git submodule status --recursive

Can I replace Snakemake with Craftmake immediately?
#

Mostly. OTTER records one executor per run snapshot. craftmake is the default and executes canonical v1 snapshots; snakemake remains available as the compatibility executor and is selected with --executor snakemake. A single snapshot cannot be executed by both.

Why did FASTQ pairing fail?
#

Check:

  • R1/R2 suffixes match --suffix1 and --suffix2.
  • Filename-derived sample IDs match pdata sampleid exactly.
  • Every sample has both mates.
  • Duplicate sample IDs are removed.

Why did SLURM submission fail?
#

Inspect site availability and the requested envelope:

sinfo
squeue -u "$(whoami)"

# what the run actually asked for
sed -n '/^execution:/,/^samples:/p' \
  my_project/runs/<run-id>/run.yaml

# re-plan without submitting
otter run \
  --config my_project/runs/<run-id>/run.yaml \
  --executor craftmake --phase step1 --dry-run --foreground

Use the dry-run to distinguish a workflow/configuration problem from a scheduler submission problem. Compare partition, account/QOS, CPU, memory, and checker settings with your cluster policy.

Remember that the envelope is fixed in the snapshot, so the run-time --slurm-partition, --slurm-cores, and --stepN-* flags are refused. If the envelope is wrong, edit resources: in project.yaml or the site profile and resolve a new run; do not retry the same snapshot with a different flag.

Why did methx report an HDF5 error?
#

Release binaries statically include the HDF5 runtime and should not need HDF5_DIR or LD_LIBRARY_PATH. Verify the binary first:

methx --version
file "$(command -v methx)"
ldd "$(command -v methx)" | grep -E 'hdf5|not found' || true

If the failure occurs during a source build, follow the native build instructions in methx/docs/BUILD.md. For native Methrix loading, convert the custom HDF5 output with methx/scripts/export_methrix_hdf5.R; do not call the custom file a native Methrix HDF5 directory.

How do I inspect or resume a background run?
#

A run always executes from a snapshot, so name the snapshot rather than a legacy configuration file:

otter task list --all
otter task status <task-id>
otter task logs <task-id> --follow

# without --foreground, Otter submits a background task and prints its task ID
otter run \
  --config my_project/runs/<run-id>/run.yaml \
  --executor craftmake --phase step1 --backend local

Recovery uses the run identity in the snapshot. Craftmake keys one row per phase-scoped run, so resume against the same snapshot and phase:

craftmake resume \
  --state my_project/runs/<run-id>/state/state.sqlite \
  --run <run-id>--step1 --gate

See chapter 6 for the full controller sequence and the --gate requirement.

Why do docs still mention FastQC, Bismark, Methrix, or rMATS?
#

Those are external tools, formats, standards, or scientific domains. They are not historical product names and should remain unchanged where they describe the actual compatibility contract.

Back to the manual · Documentation hub