-
Notifications
You must be signed in to change notification settings - Fork 1
/
nextflow.config
executable file
·84 lines (73 loc) · 2.22 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
manifest {
homePage = 'https://github.com/eipm/hello-mess-nf'
defaultBranch = 'main'
name = 'hello-mess-nf'
description = 'Minimal pipeline integrated with Zero-Mess'
mainScript = 'main.nf'
version = '1.1.0'
author = 'Manuele Simi'
}
def messagingEnabled = true
def url = 'http://localhost:8080/dispatcher/publish-data'
env {
BASH_MESSAGING_ENABLED = "${messagingEnabled}"
DISPATCHER_URL = "${url}"
}
params {
pipelineName = 'hello-mess-nf'
pipelineMessagingEnabled = messagingEnabled
dispatcherURL = url
}
docker {
enabled = true
}
plugins {
id 'nf-azure'
}
profiles {
local {
process {
container = 'docker.io/alpine/curl:3.14'
}
workDir = "<path>/workdir/hello-mess-nf/${new Date().format('YYYY-MM-dd')}/" //workdir is a blob storage within the storage account
}
azurebatch {
process {
executor = 'azurebatch'
container = 'docker.io/alpine/curl:3.14'
}
azure {
activeDirectory {
servicePrincipalId = ''
servicePrincipalSecret = ''
tenantId = ''
}
batch {
workDir = "az://<blob>/hello-mess-nf/${new Date().format('YYYY-MM-dd')}" //workdir is a blob storage within the storage account
params.resultsDir = 'az://<blob>/results'
location = 'eastus2'
accountName = 'thehive'
allowPoolCreation = true
autoPoolMode = true
deletePoolsOnCompletion = true
copyToolInstallMode = 'task'
pools {
auto {
vmType = 'Standard_D4_v3'
vmCount = 1
priviledged = true
virtualNetwork = '/subscriptions/<value>/resourceGroups/<value>/providers/Microsoft.Network/virtualNetworks/<value>/subnets/<value>'
}
}
}
registry {
server = 'docker.io' //or myRegistry.azurecr.io
userName = ''
password = ''
}
storage {
accountName = 'cubbies'
}
}
}
}