mirror of
https://github.com/MillironX/nf-configs.git
synced 2024-11-21 16:16:04 +00:00
added pipeline-specific config
This commit is contained in:
parent
735100ed0b
commit
79a79f7d8d
3 changed files with 25 additions and 10 deletions
|
@ -21,15 +21,6 @@ params {
|
||||||
process {
|
process {
|
||||||
executor = 'slurm'
|
executor = 'slurm'
|
||||||
clusterOptions = { "-A $params.priority ${params.clusterOptions ?: ''}" }
|
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' ) }
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
profiles {
|
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