-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgcp.nf.conf
47 lines (36 loc) · 1.23 KB
/
gcp.nf.conf
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
google {
// Uses the "GCP_PROJECT" and "GCP_ZONE" environment variables.
// Please set these before running.
project = "$GCP_PROJECT"
zone = "$GCP_ZONE"
// Restrict VMs to Skylake processors for consistency.
// Allow a 50GB boot disk, in case someone uses a large docker image.
lifeSciences.bootDiskSize = '70.0GB'
// Toggles whether preemtible instances are used.
lifeSciences.preemptible=false
}
process {
// Define a default executor using the Pipelines API
executor = 'google-lifesciences'
// Define a a default container
container = 'gcr.io/clara-lifesci/parabricks-cloud:4.0.0-1.beta1'
// Allow preemptibles, if defined, to retry at most 3 times.
errorStrategy = { task.exitStatus==14 ? 'retry' : 'terminate' }
maxRetries = 3
withLabel: cloud4xT4 {
maxForks = 5
cpu = 24
memory = 120
accelerator = [request: 4, type:'nvidia-tesla-t4']
disk = "1000 GB"
}
}
manifest {
name = 'clara-parabricks'
author = 'Eric T. Dawson'
homePage = 'https://github.com/clara-parabricks/parabricks-nextflow'
description = 'Clara Parabricks accelerated genomics workflows in NextFlow'
# mainScript = ''
nextflowVersion = '>=20.01.0'
version = '0.1'
}