-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnextflow.config
More file actions
89 lines (69 loc) · 2.25 KB
/
nextflow.config
File metadata and controls
89 lines (69 loc) · 2.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
/*
* This configuration file is main one. This includes the pipeline parameters and differend config files, one for each profile.
* You can switch among them using the Nextflow parameter -profile <<PROFILENAME>>
*
* This example config was copied from the Elixir Tutorial https://github.com/nextflow-io/elixir-workshop-21/tree/master
*/
// include the pipeline parameters from this file
includeConfig "$projectDir/params.config"
workDir = "./work"
scratch = "./"
process {
// indicates the default container to be used if not defined within the modules
//======= conda =======
// conda = 'conda/example.yml'
// or if you want to define it directly here
// conda = {
// name 'example'
// channels 'conda-forge' 'bioconda' 'defaults'
// dependencies 'biopython'
// }
//======== end ========
//======= docker =======
// Using a local image:
// container = 'pipeline-image:latest'
// or a image from docker hub:
// container = 'docker://username/pipeline-image:latest'
//======== end =========
//======= singularity =======
container = '$projectDir/singularity/pipeline'
// or:
// container = 'singularity://quay.io/username/singularity-image:latest'
//======== end =========
// You can also specify for specific processes by name
withName: EXAMPLE:
// container = 'singularity://quay.io/username/singularity-image:latest'
cpus = 4
memory = '15GB'
withName: FASTQC {
container = "$projectDir/singularity/pipeline"
}
//withName: EXAMPLE2:
//container = './singularity/ete3'
}
// indicates where to write the singularity images if you choose to use this container
// define different profiles
profiles {
singularity {
enabled = true
cacheDir = './singularity'
process.container = "$projectDir/singularity/pipeline"
}
docker {
enabled = true
process.container = 'pipeline-image:latest'
}
conda {
enabled = true
process.conda = "$projectDir/conda/example.yml"
}
standard {
includeConfig 'config/standard.config'
}
hpc_slurm {
includeConfig 'config/slurm.config'
}
lsf {
includeConfig 'config/lsf.config'
}
}