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:
parent
735100ed0b
commit
79a79f7d8d
3 changed files with 25 additions and 10 deletions
|
@ -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 {
|
||||
|
|
11
conf/pipeline/raredisease/hasta.config
Normal file
11
conf/pipeline/raredisease/hasta.config
Normal 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' ) }
|
||||
}
|
||||
}
|
13
pipeline/raredisease.config
Normal file
13
pipeline/raredisease.config
Normal 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" }
|
||||
}
|
Loading…
Reference in a new issue