Skip to content

Commit

Permalink
Getting rid of the dummy variable params.docker_enabled. Clearing con…
Browse files Browse the repository at this point in the history
…tainerOptions for SPARK-modules for any kind of container engine.
  • Loading branch information
asp8200 committed Mar 8, 2024
1 parent 77cbebb commit 3386da7
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 8 deletions.
4 changes: 1 addition & 3 deletions conf/modules/markduplicates.config
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,7 @@ process {
}

withName: 'GATK4SPARK_MARKDUPLICATES' {
if (params.use_gatk_spark && params.docker_enabled) {
containerOptions = ''
}
containerOptions = ''
ext.args = { '--remove-sequencing-duplicates false -VS LENIENT' }
ext.prefix = { "${meta.id}.md.cram" }
publishDir = [
Expand Down
2 changes: 1 addition & 1 deletion conf/modules/prepare_recalibration.config
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
process {

withName: 'GATK4_BASERECALIBRATOR|GATK4SPARK_BASERECALIBRATOR' {
if (params.use_gatk_spark && params.docker_enabled) {
if (params.use_gatk_spark) {
containerOptions = ''
}
ext.prefix = { meta.num_intervals <= 1 ? "${meta.id}.recal" : "${meta.id}_${intervals.simpleName}.recal" }
Expand Down
2 changes: 1 addition & 1 deletion conf/modules/recalibrate.config
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
process {

withName: 'GATK4_APPLYBQSR|GATK4SPARK_APPLYBQSR' {
if (params.use_gatk_spark && params.docker_enabled) {
if (params.use_gatk_spark) {
containerOptions = ''
}
ext.prefix = { meta.num_intervals <= 1 ? "${meta.id}.recal" : "${meta.id}_${intervals.baseName}.recal" }
Expand Down
1 change: 0 additions & 1 deletion conf/test.config
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ if (System.getenv('PROFILE')) {
} else if ("$PROFILE" == "docker") {
conda.enabled = false
docker.enabled = true
params.docker_enabled = true
process.containerOptions = '-u $(id -u):$(id -g)'
charliecloud.enabled = false
podman.enabled = false
Expand Down
1 change: 0 additions & 1 deletion conf/test/cache.config
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ if (System.getenv('PROFILE')) {
} else if ("$PROFILE" == "docker") {
conda.enabled = false
docker.enabled = true
params.docker_enabled = true
process.containerOptions = '-u $(id -u):$(id -g)'
charliecloud.enabled = false
podman.enabled = false
Expand Down
1 change: 0 additions & 1 deletion nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
*/

params {
docker_enabled = false
// Workflow flags:

// Mandatory arguments
Expand Down

0 comments on commit 3386da7

Please sign in to comment.