1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-11-22 08:29:54 +00:00

Update computerome.config

Added a way to use `--project` to provide project information to the scheduler. Inspired by the uppmax config
This commit is contained in:
Marc Trunjer Kusk Nielsen 2021-09-10 15:10:19 +02:00 committed by GitHub
parent 463df26c72
commit 84f94d92c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,17 +3,19 @@ params {
config_profile_description = 'Computerome 2.0 cluster profile provided by nf-core/configs.' config_profile_description = 'Computerome 2.0 cluster profile provided by nf-core/configs.'
config_profile_contact = 'Marc Trunjer Kusk Nielsen (@marcmtk)' config_profile_contact = 'Marc Trunjer Kusk Nielsen (@marcmtk)'
config_profile_url = 'https://www.computerome.dk/' config_profile_url = 'https://www.computerome.dk/'
project = null
} }
singularity { singularity {
enabled = true enabled = true
autoMounts = true autoMounts = true
cacheDir = './scratch' cacheDir = { "/home/projects/$params.project/scratch" }
} }
process { process {
beforeScript = 'module load tools singularity/3.8.0' beforeScript = { "module load tools singularity/3.8.0; export _JAVA_OPTIONS=-Djava.io.tmpdir=/home/projects/$params.project/scratch" }
executor = 'pbs' executor = 'pbs'
clusterOptions = { "-A $params.project -W group_list=$params.project" }
} }
params { params {