|
|
|
@ -6,11 +6,15 @@ params {
|
|
|
|
|
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
|
|
|
|
|
process {
|
|
|
|
|
|
|
|
|
|
beforeScript = 'export _JAVA_OPTIONS="-XX:ParallelGCThreads=1"'
|
|
|
|
|
|
|
|
|
|
maxRetries = 2
|
|
|
|
|
|
|
|
|
|
// Solution for clusterOptions comes from here: https://github.com/nextflow-io/nextflow/issues/332 + personal toMega conversion
|
|
|
|
@ -69,17 +73,17 @@ process {
|
|
|
|
|
clusterOptions = { "-S /bin/bash -V -l h_vmem=${(task.memory.toGiga() * 2)}G" }
|
|
|
|
|
errorStrategy = { task.exitStatus in [1,143,137,104,134,139,140] ? 'retry' : 'finish' }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
withName: fastqc_after_clipping {
|
|
|
|
|
clusterOptions = { "-S /bin/bash -V -l h_vmem=${(task.memory.toGiga() * 2)}G" }
|
|
|
|
|
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: adapter_removal {
|
|
|
|
|
clusterOptions = { "-S /bin/bash -V -l h_vmem=${(task.memory.toGiga() * 2)}G" }
|
|
|
|
|
errorStrategy = { task.exitStatus in [1,143,137,104,134,139,140] ? 'retry' : 'finish' }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
withName: bwa {
|
|
|
|
|
clusterOptions = { "-S /bin/bash -V -l h_vmem=${(task.memory.toGiga())}G,h=!(bionode01|bionode02|bionode03|bionode04|bionode05|bionode06)" }
|
|
|
|
|
}
|
|
|
|
@ -188,26 +192,18 @@ process {
|
|
|
|
|
clusterOptions = { "-S /bin/bash -V -l h_vmem=${(task.memory.toGiga() * 2)}G" }
|
|
|
|
|
errorStrategy = { task.exitStatus in [1,143,137,104,134,139,140] ? 'retry' : 'finish' }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
withName:get_software_versions {
|
|
|
|
|
cache = false
|
|
|
|
|
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())}M" }
|
|
|
|
|
clusterOptions = { "-S /bin/bash -V -l h_vmem=${(task.memory.toMega() * 8)}M" }
|
|
|
|
|
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 {
|
|
|
|
|
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 {
|
|
|
|
@ -226,8 +222,6 @@ profiles {
|
|
|
|
|
|
|
|
|
|
process {
|
|
|
|
|
|
|
|
|
|
beforeScript = 'export _JAVA_OPTIONS="-XX:ParallelGCThreads=1"'
|
|
|
|
|
|
|
|
|
|
maxRetries = 2
|
|
|
|
|
|
|
|
|
|
// Solution for clusterOptions comes from here: https://github.com/nextflow-io/nextflow/issues/332 + personal toMega conversion
|
|
|
|
@ -279,7 +273,7 @@ profiles {
|
|
|
|
|
clusterOptions = { "-S /bin/bash -V -l h_vmem=${(task.memory.toGiga() * 3)}G" }
|
|
|
|
|
errorStrategy = { task.exitStatus in [1,143,137,104,134,139,140] ? 'retry' : 'finish' }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
withName: fastqc_after_clipping {
|
|
|
|
|
clusterOptions = { "-S /bin/bash -V -l h_vmem=${(task.memory.toGiga() * 3)}G" }
|
|
|
|
|
errorStrategy = { task.exitStatus in [1,143,137,104,134,139,140] ? 'retry' : 'finish' }
|
|
|
|
@ -404,8 +398,6 @@ profiles {
|
|
|
|
|
|
|
|
|
|
process {
|
|
|
|
|
|
|
|
|
|
beforeScript = 'export _JAVA_OPTIONS="-XX:ParallelGCThreads=1"'
|
|
|
|
|
|
|
|
|
|
maxRetries = 2
|
|
|
|
|
|
|
|
|
|
// Solution for clusterOptions comes from here: https://github.com/nextflow-io/nextflow/issues/332 + personal toMega conversion
|
|
|
|
@ -457,7 +449,7 @@ profiles {
|
|
|
|
|
clusterOptions = { "-S /bin/bash -V -l h_vmem=${(task.memory.toGiga() * 6)}G" }
|
|
|
|
|
errorStrategy = { task.exitStatus in [1,143,137,104,134,139,140] ? 'retry' : 'finish' }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
withName: fastqc_after_clipping {
|
|
|
|
|
clusterOptions = { "-S /bin/bash -V -l h_vmem=${(task.memory.toGiga() * 6)}G" }
|
|
|
|
|
errorStrategy = { task.exitStatus in [1,143,137,104,134,139,140] ? 'retry' : 'finish' }
|
|
|
|
|