diff --git a/main.nf b/main.nf index e978d38..1778b64 100644 --- a/main.nf +++ b/main.nf @@ -2,8 +2,8 @@ nextflow.enable.dsl=2 -params.pdb = '/mnt/OmicNAS/private/old/olamide/ligandmpnn/input/1BC8.pdb' -params.outdir = '/mnt/OmicNAS/private/old/olamide/ligandmpnn/output' +params.pdb = 's3://omic/eureka/ligandmpnn/1BC8' +params.outdir = 's3://omic/eureka/ligandmpnn/output' params.model_type = 'ligand_mpnn' params.temperature = 0.1 params.seed = 111 @@ -14,8 +14,7 @@ params.fixed_residues = '' params.pack_side_chains = 0 process LIGANDMPNN { - container 'ligandmpnn:latest' - containerOptions '--rm --gpus all -v /mnt:/mnt' + container 'harbor.cluster.omic.ai/omic/ligandmpnn:latest' publishDir params.outdir, mode: 'copy' stageInMode 'copy' diff --git a/nextflow.config b/nextflow.config index 575a9ab..99ae842 100644 --- a/nextflow.config +++ b/nextflow.config @@ -10,8 +10,8 @@ manifest { // Global default parameters params { - pdb = "/mnt/OmicNAS/private/old/olamide/ligandmpnn/input/1BC8.pdb" - outdir = "/mnt/OmicNAS/private/old/olamide/ligandmpnn/output" + pdb = "s3://omic/eureka/ligandmpnn/1BC8" + outdir = "s3://omic/eureka/ligandmpnn/output" model_type = "ligand_mpnn" temperature = 0.1 seed = 111 @@ -40,3 +40,15 @@ executor { memory = '32 GB' } } + +// Kubernetes profile for WES execution +profiles { + k8s { + docker.enabled = false + process.container = 'harbor.cluster.omic.ai/omic/ligandmpnn:latest' + } + k8s_gpu { + docker.enabled = false + process.container = 'harbor.cluster.omic.ai/omic/ligandmpnn:latest' + } +}