process {
  withLabel: lowmem { memory = 13.Gb }
  withLabel: lowcpu { cpus = 4 }
  withLabel: midmem { memory = 13.Gb }
  withLabel: midcpu { cpus = 4 }
  withLabel: highmem { memory = 13.Gb }
  withLabel: highcpu { cpus = 4 }
  withLabel: veryhighmem { memory = 13.Gb }
  withLabel: lowdisk {
    disk = {process.disk ? process.disk : null}
  }
  withLabel: middisk {
    disk = {process.disk ? process.disk : null}
  }
  withLabel: highdisk {
    disk = {process.disk ? process.disk : null}
  }
  withLabel: veryhighdisk {
    disk = {process.disk ? process.disk : null}
  }
}

env.NUMBA_CACHE_DIR = '/tmp'

trace {
    enabled = true
    overwrite = true
}
dag {
  overwrite = true
}

process.maxForks = 1
