Skip to content

Commit

Permalink
Add scicore profile config
Browse files Browse the repository at this point in the history
  • Loading branch information
Marta2906 authored Nov 11, 2024
1 parent 8f5482d commit 6a97f69
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions conf/scicore.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
params {
config_profile_description = 'Generic profile for sciCORE provided by nf-core/configs'
config_profile_contact = 'Marta Pla Díaz (@Marta2906)'
config_profile_url = 'https://scicore.unibas.ch/'
max_memory = 2.TB
max_cpus = 128
max_time = 14.d
igenomes_base = '/scicore/data/managed/igenomes/latest'
}

// Perform work directory cleanup after successful run
cleanup = true

process {
resourceLimits = [
memory: 2.TB,
cpus: 128,
time : 14.d
]
executor = 'slurm'
queue = { task.memory > 1.TB ? 'bigmem' : 'scicore' }
clusterOptions = { task.time <= 30.m ? '--qos=30min' : task.time <= 6.h ? '--qos=6hours' : task.time <= 1.d ? '--qos=1day' : task.time <= 7.d ? '--qos=1week' : '--qos=2week' }
maxRetries = 2
scratch = '$TMPDIR'
}

singularity {
enabled = true
autoMounts = true
}

executor {
queueSize = 64
}

profiles {
debug {
cleanup = false
}
schuen0002 {
cacheDir = '/scicore/home/schuen0002/GROUP/NEXTFLOW_SINGULARITY'
}
}

0 comments on commit 6a97f69

Please sign in to comment.