Skip to content

Commit

Permalink
move profiles down to see if those will overwrite resources
Browse files Browse the repository at this point in the history
  • Loading branch information
dimalvovs committed May 17, 2024
1 parent 3773910 commit 022f4ec
Showing 1 changed file with 30 additions and 31 deletions.
61 changes: 30 additions & 31 deletions nextflow.config
Original file line number Diff line number Diff line change
@@ -1,34 +1,3 @@
// ways to run the pipeline

profiles {
docker {
docker.enabled = true
docker.userEmulation = true
}

singularity {
singularity.enabled = true
singularity.autoMounts = true
}

slurm {
singularity.enabled = true
singularity.autoMounts = true
process {
executor = 'slurm'
cpus = 10
memory = '10 GB'
}
}
test {
process {
withName: COGAPS {
cpus = 1
}
}
}
}

// default params
params {
outdir = 'out'
Expand Down Expand Up @@ -157,4 +126,34 @@ process {
errorStrategy = 'retry'
maxRetries = 2
}
}

// profiles to run the pipeline
profiles {
docker {
docker.enabled = true
docker.userEmulation = true
}

singularity {
singularity.enabled = true
singularity.autoMounts = true
}

slurm {
singularity.enabled = true
singularity.autoMounts = true
process {
executor = 'slurm'
cpus = 10
memory = '10 GB'
}
}
test {
process {
withName: COGAPS {
cpus = 1
}
}
}
}

0 comments on commit 022f4ec

Please sign in to comment.