Skip to content

Commit

Permalink
Prameterises scopes options
Browse files Browse the repository at this point in the history
  • Loading branch information
cgpu authored Jan 22, 2021
1 parent a85a0d0 commit ea97c4c
Showing 1 changed file with 24 additions and 18 deletions.
42 changes: 24 additions & 18 deletions nextflow.config
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
docker.enabled = true

params {
executor = 'ignite'
errorStrategy = 'ignore'
processA_cpus = 1
echo = false
s3Location = 's3://lifebit-featured-datasets/pipelines/spammer-nf/input_files'
fileSuffix = ''
repsProcessA = 10
Expand All @@ -16,24 +14,32 @@ params {

processCTimeRange = "2-3"
processDTimeRange = "2-3"

output = "results"
}

docker.enabled = true

echo = false
cpus = 1
processA_cpus = 1
errorStrategy = 'ignore'
container = 'quay.io/lifebitai/ubuntu:18.10'
maxForks = 200

queueSize = 200
executor = 'ignite'
}

process {
cpus = 1
errorStrategy = params.errorStrategy
container = "quay.io/lifebitai/ubuntu:18.10"
echo = params.echo
cpus = params.cpus
maxForks = params.maxForks
container = params.container
errorStrategy = params.errorStrategy

withName: processA {
cpus = params.processA_cpus
echo = params.echo
withName: processA {
cpus = params.processA_cpus
}
}
}

executor {
name = params.executor
queueSize = 1000
}
name = params.executor
queueSize = params.queueSize
}

0 comments on commit ea97c4c

Please sign in to comment.