added pipeline-specific config

kevbrick-patch-1
Mei Wu 3 years ago
parent 735100ed0b
commit 79a79f7d8d

@ -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 {

@ -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' ) }
}
}

@ -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" }
}
Loading…
Cancel
Save