forked from AndersenLab/calc_heritability
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnextflow.config
109 lines (78 loc) · 2.19 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
process.cache = 'lenient'
nextflowVersion = '>=20.0'
import java.time.*
Date now = new Date()
params {
day = now.format("yyyMMdd")
timestamp = now.format("yyyyMMdd-HH-mm-ss")
out = "Analysis_Results-${day}"
tracedir = "${out}"
}
profiles {
standard {
params.gcp = false
singularity {
enabled = true
autoMounts = true
cacheDir = "/projects/b1059/singularity"
}
process {
executor = 'slurm'
queue = 'genomicsguestA'
clusterOptions = '-A b1042 -t 48:00:00 -e errlog.txt'
container = 'andersenlab/nemascan:20220407173056db3227'
withLabel: medium {
cpus = 4
}
withLabel: small {
cpus = 1
}
withLabel: large {
cpus = 6
}
}
executor {
queueSize = 500
submitRateLimit = 5
}
}
gcp {
params.gcp = true
docker {
enabled = true
}
process {
executor = 'google-lifesciences'
//container = 'andersenlab/nemascan:20220407173056db3227'
container = 'northwesternmti/heritability-gls-base:latest'
//machineType = 'n1-standard-1'
withLabel: medium {
machineType = 'n1-standard-4'
}
withLabel: small {
machineType = 'n1-standard-1'
}
withLabel: large {
machineType = "n1-highmem-2"
}
}
google {
project = "${params.google_project}"
zone = "${params.google_zone}"
lifeSciences {
serviceAccountEmail = "${params.google_service_account_email}"
debug = true
preemptible = true
}
}
workDir = "${params.work_dir}"
}
}
report {
enabled = true
file = "${params.tracedir}/${params.timestamp}_report.html"
}
timeline {
enabled = true
file = "${params.tracedir}/${params.timestamp}_timeline.html"
}