-
Notifications
You must be signed in to change notification settings - Fork 2
/
nextflow.config
70 lines (57 loc) · 1.96 KB
/
nextflow.config
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
/*
*NEXTFLOW configuration file for the Solid Metagenomics Pipeline [SiMPle]
* This is where you indicate where to find the data, the options and where to save the results
*/
/*
* Specify your input:
* How: you have a star as a wildcard. Everything up to that is
* the prefix for the group of files that you will get. Variable
* things (lane names, read numbers etc) are specified within
* curly brackets. Make sure that setsize matches the number of
* files that you get matching the prefix!
*/
/* specify what kind of executor to use:
* "local", "slurm", or another nextflow supported executor system.
* where to store temporary files.
* conda environments are stored with the temporary files
*/
/* profiles {
local {
workDir = "$USERWORK/Talos_temp"
includeConfig 'configuration_files/standard.config'
}
slurm {
workDir = "$USERWORK/Talos_temp"
includeConfig 'configuration_files/slurm.config'
}
} */
// specifying the working directory for all jobs
workDir = "$USERWORK/Talos_temp"
process {
executor='local'
cpus = 2
maxForks = 2
}
process {
executor = 'slurm'
clusterOptions = '--job-name=Talos --account=nn9305k --mem-per-cpu=4700M'
maxForks = 20
maxRetries = 3
errorStrategy='retry'
withLabel: small {
cpus = 2
clusterOptions = '--job-name=TalosS --account=nn9305k --mem-per-cpu=4700M'}
withLabel: medium {
cpus = 8
clusterOptions = '--job-name=TalosM --account=nn9305k --mem-per-cpu=4700M'}
withLabel: large {
cpus = 20
clusterOptions = '--job-name=TalosL --account=nn9305k --mem-per-cpu=4700M'}
withLabel: bigmem {
cpus = 10
clusterOptions = '--job-name=Talos --account=nn9305k --partition=bigmem --mem-per-cpu=32000M'}
//this is mostly for Java software (e.g Pilon), but can be used elsewhere too
javaopts = '-Xmx12G'
time = { 2.h * task.attempt }
withLabel: longtime {time = { 24.h * task.attempt }}
}