Newer
Older
// SPDX-FileCopyrightText: 2022 Laurent Modolo <laurent.modolo@ens-lyon.fr>
//
// SPDX-License-Identifier: AGPL-3.0-or-later
manifest {
homePage = 'https://gitbio.ens-lyon.fr/LBMC/nextflow'
description = 'pipeline to '
mainScript = 'main.nf'
version = '0.0.0'
}
report {
enabled = true
file = "$baseDir/../results/report.html"
}
profiles {
docker {
docker.temp = "auto"
docker.enabled = true
process {
withLabel: big_mem_mono_cpus {
cpus = 1
}
withLabel: big_mem_multi_cpus {
cpus = 4
}
withLabel: small_mem_mono_cpus {
cpus = 1
memory = '2GB'
}
withLabel: small_mem_multi_cpus {
cpus = 4
memory = '2GB'
}
charliecloud.enabled = true
charliecloud.cacheDir = "./bin/"
process {
errorStrategy = 'finish'
memory = '16GB'
withLabel: big_mem_mono_cpus {
cpus = 1
}
withLabel: big_mem_multi_cpus {
cpus = 4
}
withLabel: small_mem_mono_cpus {
cpus = 1
memory = '2GB'
}
withLabel: small_mem_multi_cpus {
cpus = 4
memory = '2GB'
}
}
}
singularity {
singularity.enabled = true
singularity.cacheDir = "./bin/"
process {
withLabel: big_mem_mono_cpus {
cpus = 1
}
withLabel: big_mem_multi_cpus {
cpus = 4
}
withLabel: small_mem_mono_cpus {
cpus = 1
memory = '2GB'
}
withLabel: small_mem_multi_cpus {
cpus = 4
memory = '2GB'
}
charliecloud.enabled = true
charliecloud.cacheDir = "/Xnfs/abc/charliecloud"
charliecloud.runOptions = "--bind /scratch:/scratch --bind /Xnfs:/Xnfs --bind /home:/home"
errorStrategy = { sleep(Math.pow(2, task.attempt) * 200 as long); return 'retry' }
maxRetries = 3
withLabel: big_mem_mono_cpus {
cpus = 1
}
withLabel: big_mem_multi_cpus {
cpus = 32
time = "24h"
}
withLabel: small_mem_mono_cpus {
cpus = 1
memory = "16GB"
}
withLabel: small_mem_multi_cpus {
cpus = 32
memory = "16GB"
time = "24h"
}
}
}
ccin2p3 {
singularity.enabled = true
singularity.cacheDir = "$baseDir/../bin/"
singularity.runOptions = "--bind /pbs,/sps,/scratch,/tmp"
withLabel: big_mem_mono_cpus {
scratch = true
stageInMode = "copy"
stageOutMode = "rsync"
clusterOptions = "--licenses=sps"
}
withLabel: big_mem_multi_cpus {
scratch = true
stageInMode = "copy"
stageOutMode = "rsync"
clusterOptions = "--licenses=sps"
withLabel: small_mem_mono_cpus {
scratch = true
stageInMode = "copy"
stageOutMode = "rsync"
clusterOptions = "--licenses=sps"
}
withLabel: small_mem_multi_cpus {
scratch = true
stageInMode = "copy"
stageOutMode = "rsync"
clusterOptions = "--licenses=sps"