1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-12-21 18:28:18 +00:00

added pipeline-specific config

This commit is contained in:
Mei Wu 2021-09-28 10:38:15 +02:00
parent 735100ed0b
commit 79a79f7d8d
3 changed files with 25 additions and 10 deletions

View file

@ -20,16 +20,7 @@ params {
process {
executor = 'slurm'
clusterOptions = { "-A $params.priority ${params.clusterOptions ?: ''}" }
withName:'PICARD_MARKDUPLICATES' {
cpus = { check_max( 13 * task.attempt, 'cpus' ) }
memory = { check_max( 130.GB * task.attempt, 'memory' ) }
}
withName:'DEEPVARIANT' {
cpus = { check_max( 16 * task.attempt, 'cpus' ) }
memory = { check_max( 80.GB * task.attempt, 'memory' ) }
}
clusterOptions = { "-A $params.priority ${params.clusterOptions ?: ''}" }
}
profiles {

View file

@ -0,0 +1,11 @@
process {
withName:'PICARD_MARKDUPLICATES' {
cpus = { check_max( 13 * task.attempt, 'cpus' ) }
memory = { check_max( 130.GB * task.attempt, 'memory' ) }
}
withName:'DEEPVARIANT' {
cpus = { check_max( 16 * task.attempt, 'cpus' ) }
memory = { check_max( 80.GB * task.attempt, 'memory' ) }
}
}

View file

@ -0,0 +1,13 @@
/*
* -------------------------------------------------
* nfcore/raredisease custom profile Nextflow config file
* -------------------------------------------------
* Config options for custom environments.
* Cluster-specific config options should be saved
* in the conf/pipeline/raredisease folder and imported
* under a profile name here.
*/
profiles {
hasta { includeConfig "${params.custom_config_base}/conf/pipeline/raredisease/hasta.config" }
}