1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-12-22 10:38:16 +00:00

Setting Singularity as default method

This commit is contained in:
Martin Proks 2019-01-11 14:37:12 +01:00
parent 548c8bca3f
commit 89dbb6c061
No known key found for this signature in database
GPG key ID: 5CFEC83B0D09B968
2 changed files with 7 additions and 23 deletions

View file

@ -10,10 +10,15 @@ process {
executor = 'local'
}
sngularity {
enabled = true
autoMounts = true
}
params {
saveReference = true
max_memory = 256.GB
max_memory = 128.GB
max_cpus = 16
max_time = 72.h
// illumina iGenomes reference file paths on UPPMAX

View file

@ -2,28 +2,7 @@
All nf-core pipelines have been successfully configured for use on the MUNIN cluster aka big iron.
To use, run the pipeline with `-profile munin`. This will download and launch the [`munin.config`](../conf/munin.config) which has been pre-configured with a setup suitable for the MUNIN cluster. Using this profile, Nextflow will download either docker or singularity image with all of the required software before execution of the pipeline.
## Running pipeline with Docker
>NB: Make sure when running pipeline using docker to be in docker group
```groovy
// https://github.com/nextflow-io/nextflow/issues/572
docker {
mountFlags = 'z'
fixOwnership = true
}
```
## Running pipeline with Singularity
```groovy
// https://github.com/nextflow-io/nextflow/issues/572
singularity {
autoMounts = true
}
```
To use, run the pipeline with `-profile munin`. This will download and launch the [`munin.config`](../conf/munin.config) which has been pre-configured with a setup suitable for the MUNIN cluster. Using this profile, Nextflow will download singularity image with all of the required software before execution of the pipeline.
## Below are non-mandatory information on iGenomes specific configuration