Skip to content

Commit

Permalink
added conf
Browse files Browse the repository at this point in the history
  • Loading branch information
anwarMZ committed Nov 20, 2024
1 parent 27e83cf commit 4b1290e
Show file tree
Hide file tree
Showing 2 changed files with 946 additions and 0 deletions.
60 changes: 60 additions & 0 deletions conf/nf-test.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
params {
publish_dir_mode = "copy"
singularity_pull_docker_container = false
test_data_base = 'https://raw.githubusercontent.com/nf-core/test-datasets/modules'
modules_testdata_base_path = 'https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/'
}

process {
cpus = 2
memory = 6.GB
time = 2.h
}

profiles {
singularity {
singularity.enabled = true
singularity.autoMounts = true
}
conda {
conda.enabled = true
}
mamba {
conda.enabled = true
conda.useMamba = true
}
podman {
podman.enabled = true
podman.userEmulation = true
podman.runOptions = "--runtime crun --platform linux/x86_64 --systemd=always"
}
docker {
docker.enabled = true
docker.runOptions = '-u $(id -u):$(id -g) --platform=linux/amd64'
}
docker_self_hosted {
docker.enabled = true
docker.fixOwnership = true
docker.runOptions = '--platform=linux/amd64'
}
gpu {
docker.runOptions = '-u $(id -u):$(id -g) --gpus all'
apptainer.runOptions = '--nv'
singularity.runOptions = '--nv'
use_gpu = true
}
}

docker.registry = 'quay.io'
podman.registry = 'quay.io'
singularity.registry = 'quay.io'

// Increase time available to build Conda environment
conda { createTimeout = "120 min" }

// Load test_data.config containing paths to test data
includeConfig 'test_data.config'

manifest {
nextflowVersion = '!>=24.10.1'
}
Loading

0 comments on commit 4b1290e

Please sign in to comment.