mirror of
https://github.com/MillironX/nf-configs.git
synced 2024-11-24 09:09:56 +00:00
Merge branches 'master' and 'eva-java-correction' of github.com:jfy133/nf-core-configs into master
This commit is contained in:
commit
d12d98fb2e
1 changed files with 15 additions and 23 deletions
|
@ -6,11 +6,15 @@ params {
|
||||||
config_profile_description = 'nf-core/eager EVA profile provided by nf-core/configs'
|
config_profile_description = 'nf-core/eager EVA profile provided by nf-core/configs'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
env {
|
||||||
|
_JAVA_OPTIONS = "-XX:ParallelGCThreads=1"
|
||||||
|
OPENBLAS_NUM_THREADS = 1
|
||||||
|
OMP_NUM_THREADS = 1
|
||||||
|
}
|
||||||
|
|
||||||
// Specific nf-core/eager process configuration
|
// Specific nf-core/eager process configuration
|
||||||
process {
|
process {
|
||||||
|
|
||||||
beforeScript = 'export _JAVA_OPTIONS="-XX:ParallelGCThreads=1"'
|
|
||||||
|
|
||||||
maxRetries = 2
|
maxRetries = 2
|
||||||
|
|
||||||
// Solution for clusterOptions comes from here: https://github.com/nextflow-io/nextflow/issues/332 + personal toMega conversion
|
// Solution for clusterOptions comes from here: https://github.com/nextflow-io/nextflow/issues/332 + personal toMega conversion
|
||||||
|
@ -192,22 +196,14 @@ process {
|
||||||
withName:get_software_versions {
|
withName:get_software_versions {
|
||||||
cache = false
|
cache = false
|
||||||
clusterOptions = { "-S /bin/bash -V -l h=!(bionode06)" }
|
clusterOptions = { "-S /bin/bash -V -l h=!(bionode06)" }
|
||||||
beforeScript = 'export _JAVA_OPTIONS="-XX:ParallelGCThreads=1 -Xmx512m"; export OPENBLAS_NUM_THREADS=1; export OMP_NUM_THREADS=1'
|
clusterOptions = { "-S /bin/bash -V -l h_vmem=${(task.memory.toMega() * 8)}M" }
|
||||||
clusterOptions = { "-S /bin/bash -V -l h_vmem=${(task.memory.toMega())}M" }
|
|
||||||
errorStrategy = { task.exitStatus in [1,143,137,104,134,139,140] ? 'retry' : 'finish' }
|
errorStrategy = { task.exitStatus in [1,143,137,104,134,139,140] ? 'retry' : 'finish' }
|
||||||
}
|
}
|
||||||
|
|
||||||
withName:eigenstrat_snp_coverage {
|
|
||||||
beforeScript = 'export OPENBLAS_NUM_THREADS=1; export OMP_NUM_THREADS=1'
|
|
||||||
}
|
|
||||||
|
|
||||||
withName:kraken_merge {
|
|
||||||
beforeScript = 'export OPENBLAS_NUM_THREADS=1; export OMP_NUM_THREADS=1'
|
|
||||||
}
|
|
||||||
|
|
||||||
withName:multiqc {
|
withName:multiqc {
|
||||||
beforeScript = 'export OPENBLAS_NUM_THREADS=1; export OMP_NUM_THREADS=1;'
|
clusterOptions = { "-S /bin/bash -V -j y -o output.log -l h_vmem=${task.memory.toGiga() * 2}G" }
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
profiles {
|
profiles {
|
||||||
|
@ -226,8 +222,6 @@ profiles {
|
||||||
|
|
||||||
process {
|
process {
|
||||||
|
|
||||||
beforeScript = 'export _JAVA_OPTIONS="-XX:ParallelGCThreads=1"'
|
|
||||||
|
|
||||||
maxRetries = 2
|
maxRetries = 2
|
||||||
|
|
||||||
// Solution for clusterOptions comes from here: https://github.com/nextflow-io/nextflow/issues/332 + personal toMega conversion
|
// Solution for clusterOptions comes from here: https://github.com/nextflow-io/nextflow/issues/332 + personal toMega conversion
|
||||||
|
@ -404,8 +398,6 @@ profiles {
|
||||||
|
|
||||||
process {
|
process {
|
||||||
|
|
||||||
beforeScript = 'export _JAVA_OPTIONS="-XX:ParallelGCThreads=1"'
|
|
||||||
|
|
||||||
maxRetries = 2
|
maxRetries = 2
|
||||||
|
|
||||||
// Solution for clusterOptions comes from here: https://github.com/nextflow-io/nextflow/issues/332 + personal toMega conversion
|
// Solution for clusterOptions comes from here: https://github.com/nextflow-io/nextflow/issues/332 + personal toMega conversion
|
||||||
|
|
Loading…
Reference in a new issue