Skip to content

Commit

Permalink
Add nextflow config with profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjtaylor committed Aug 3, 2023
1 parent ba566ca commit 6101358
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions nextflow.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
profiles {
local {
process.executor = 'local'
}

docker {
docker.enabled = true
process.container = 'ghcr.io/ncihtan/nf-imagecleaner'
}

tower {
docker.enabled = true
process {
container = 'ghcr.io/ncihtan/nf-imagecleaner'
cpus = { 2 * task.attempt }
memory = { 4.GB * task.attempt }
maxRetries = 3
errorStrategy = 'retry'
}
}
}

0 comments on commit 6101358

Please sign in to comment.