profiles {
    standard {
        includeConfig "${baseDir}/conf/conda.config"
    }

    docker {
        docker.enabled = true
        docker.runOptions = '-u $(id -u):$(id -g) -v ${HOME}/.cache:/.cache -v ${HOME}/.config:/.config'
        includeConfig "${baseDir}/conf/docker.config"
    }

    singularity {
        singularity.enabled = true
        singularity.autoMounts = true
        singularity.cacheDir = "${singularity_cache}"
        includeConfig "${baseDir}/conf/docker.config"
    }

    slurm {
        singularity.enabled = true
        singularity.autoMounts = true
        singularity.cacheDir = "${singularity_cache}"
        includeConfig "${baseDir}/conf/slurm.config"
        includeConfig "${baseDir}/conf/docker.config"
    }

    awsbatch {
        docker.enabled = true
        docker.runOptions = '-u $(id -u):$(id -g)'
        includeConfig "${baseDir}/conf/aws.config"
        includeConfig "${baseDir}/conf/docker.config"
    }
}
