otter handles workflow orchestration; each component repository below implements one part of the domain computation.
craftmake#
Native workflow compiler and Local/SLURM executor for immutable otter.run/v1 snapshots. It owns DAG compilation, SQLite state, caching, recovery, cancellation, and reports.
craftmake doctor --backend local
craftmake plan --config run.yaml --phase step1 --catalog workflows/craftmake is the default executor for canonical v1 snapshots. snakemake remains available as the compatibility executor for existing Snakemake-based workflows, selected with --executor snakemake.
enva#
Rattler-first environment lifecycle manager:
enva create --core
enva create --core --snakemake # optional legacy compatibility
enva create --core --extra # optional analysis dependencies
enva list --detailed
enva run otter-core -- <command>
enva validate --allBismark 3.1.0 and Bowtie2 2.5.5 are provided by the otter-core
environment; the installer verifies the pinned versions after environment
creation. The maintained methylation rules invoke them through
enva run otter-core -- ... rather than any user-global installation.
enva does not adopt an external conda, mamba, or micromamba environment automatically. Either configure that environment for compatibility or move its dependencies into an enva environment.
fastqcx#
FASTQ QC reporter that writes HTML to stdout and FastQC-compatible summary files for MultiQC and qctb:
fastqcx --fastq sample.fastq.gz --summary qc/sample > reports/sample.htmlxenofilx#
Graft/host classifier for PDX BAM inputs, including reference-based NM recalculation and bisulfite-aware scoring:
xenofilx run --graft graft.bam --host host.bam --output filteredpairbam and bamdriver#
pairbam filters paired-end BAM records. bamdriver provides the shared BAM/BGZF, sort, index, FASTA, and alignment helpers:
pairbam --coord-sort input_R1.bam input_R2.bam filteredseq2mat#
Converts HTSeq count files into TSV count/normalized matrices and a versioned manifest:
seq2mat --htseq_dir ./htseq --output_dir ./matrixmatsrun#
Generates and runs every pairwise rMATS contrast from grouped BAM files, pdata, SeqKit statistics, and GTF annotations:
matsrun run --root ./bam --pdata samples.xlsx \
--seqlengthQC ./qc --gtf hg38.gtfqctb#
Aggregates workflow QC into Excel or TSV from legacy configuration or immutable run snapshots:
qctb --config-dir runs/<run-id> --output qc_summary.xlsxmethx#
Converts Bismark coverage to custom HDF5 plus QC/annotation outputs. Use the standalone R exporter when native methrix::load_HDF5_methrix() loading is required:
source("methx/scripts/export_methrix_hdf5.R")