singularity { enabled = true autoMounts = true runOptions = '-B path/to20102025_Nanopore/tmp' } env { TMPDIR = 'path/to/20102025_Nanopore/tmp' } process { executor = 'slurm' cache = 'lenient' } process { withLabel: 'process_single' { memory = 100.GB } } process { withLabel: 'process_low' { memory = 100.GB } } process { withLabel: 'process_medium' { memory = 150.GB } } process { withLabel: 'process_high' { memory = 175.GB } } process { withLabel: 'process_high_memory|memory_max' { memory = 175.GB } } process { withName: 'JAFFAL' { time = '48h' // or longer if needed cpus = 12 // adjust based on resources memory = '100 GB' // increase if memory-bound } } process { // Use a JAFFAL image that bundles minimap2 + bpipe to avoid "minimap2: not found". withName: '.*RNA_FUSIONS_JAFFAL:JAFFAL.*' { container = 'docker.io/wdesaint/jaffal_older_bpipe:latest' } } params { max_memory = 200.GB max_cpus = 24 max_time = 48.h }