Skip to content

Commit

Permalink
change flag name for label
Browse files Browse the repository at this point in the history
  • Loading branch information
WhalleyT committed May 1, 2024
1 parent 0cf0f91 commit 446f587
Showing 1 changed file with 22 additions and 6 deletions.
28 changes: 22 additions & 6 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ params {
vcfmix = 'yes'

resistance_profiler = "tb-profiler"
update_tbprofiler = "true"
update_tbprofiler = "yes"

// path to singularity recipes directory (needed to strip software versions in getversion)
sing_dir = "${baseDir}/singularity"
Expand All @@ -61,19 +61,35 @@ profiles {
fixOwnership = true
runOptions = "-u \$(id -u):\$(id -g)"

withLabel:getversion{
withLabel:run_local{
executor = "local"
container = null
}

withLabel:afanc_parse{
executor = "local"
container = null

k8s {
computeResourceType = 'Job'
}

process {
executor = 'k8s'
pod = [[securityContext:[fsGroupChangePolicy:'OnRootMismatch', runAsUser:1000, runAsGroup:1000, fsGroup:1000]], [automountServiceAccountToken:false], [nodeSelector:'hub.jupyter.org/node-purpose=user'], [volumeClaim:'cephfs-shared-team', mountPath:'/shared/team'], [volumeClaim:'cephfs-shared-ro-public', mountPath:'/shared/public', readOnly:true]]
queueSize = 30
}

k8s {
runAsUser = 1000
computeResourceType = 'Job'
}


aws {
profile = "climb"

client {
endpoint = 'https://s3.climb.ac.uk'
s3PathStyleAccess = true
}
}

//params specific to paths on the climb system
params{
Expand Down

0 comments on commit 446f587

Please sign in to comment.