/*
 * -------------------------------------------------------------
 *  Nextflow config file for use with Singularity on CFC at QBIC
 * -------------------------------------------------------------
 * Defines basic usage limits and singularity image id.
 */

/*
*To be improved by process specific configuration asap, once our CFC cluster has the extra options removed - till then, task.attempt in NextFlow is not supported there.
*/

singularity {
    enabled = true
}

process {
    beforeScript = 'module load qbic/singularity_slurm/2.5.2'
    executor = 'slurm'
}

params {
  max_memory = 50.GB
  max_cpus = 20
  max_time = 140.h
}
