Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kubernetes process #82

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
9 changes: 9 additions & 0 deletions conf/docker.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
process {
if ( params.medaka || params.nanopolish ){
container = 'location of artic-ncov2019-artic container'
}

if ( params.illumina ){
container = 'location of artic-ncov2019-illumina container'
}
}
29 changes: 29 additions & 0 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,40 @@ profiles {
}
includeConfig 'conf/conda.config'
}

docker {
docker.enabled = true
fixOwnership = true
runOptions = "-u \$(id -u):\$(id -g)"
docker.runOptions = '-u $(id -u):$(id -g)'
process.stageInMode = 'copy'
includeConfig 'conf/docker.config'
process.containerOptions = '--user root'
}


k8s {

process {
executor = 'k8s'
}

k8s {
storageClaimName = ''
storageMountPath = ''
}

docker.enabled = true
fixOwnership = true
runOptions = "-u \$(id -u):\$(id -g)"
docker.runOptions = '-u $(id -u):$(id -g)'
//process.container = 'path to docker image'
process.stageInMode = 'copy'
includeConfig 'conf/docker.config'
process.containerOptions = '--user root'

}

singularity {
singularity.enabled = true
singularity.autoMounts = true
Expand Down