-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnextflow.config
83 lines (72 loc) · 2.6 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
manifest {
homePage = 'https://github.com/eipm/rnaseq-messaging'
defaultBranch = 'main'
name = 'rnaseq-messaging'
description = 'A -stub pipeline to demonstrate potential uses for Kafka messaging in bioinformatic workflows.'
mainScript = 'main.nf'
author = 'Kathryn Gorski'
}
params {
// required parameters
samplesheet = '/path/to/samplesheet'
outputdir = '/path/to/output'
star_index = '/path/to/star/index'
ctat_lib = '/path/to/ctat_lib'
salmon_index = '/path/to/salmon_index'
pipeline_messaging_enabled = true
dispatcherURL = 'http://your/dispatcher/url'
// required parameters for azurebatch execution (-profile azurebatch)
workdir = 'az://path/to/workdir' // in blob storage account
active_directory_principal_id = null
active_directory_principal_secret = null
active_directory_tenant_id = null
batch_location = null
batch_account_name = null
storage_account_name = null
virtual_network = '/subscriptions/<value>/resourceGroups/<value>/providers/Microsoft.Network/virtualNetworks/<value>/subnets/<value>'
// docker.io registry credentials
registry_username = null
registry_password = null
}
env {
BASH_MESSAGING_ENABLED = "${params.pipeline_messaging_enabled}"
DISPATCHER_URL = params.dispatcherURL
}
profiles {
azurebatch {
workDir = params.workdir
process.executor = 'azurebatch'
process.container = 'docker.io/petrpliska/ubuntu-with-curl:latest'
azure {
activeDirectory {
servicePrincipalId = params.active_directory_principal_id
servicePrincipalSecret = params.active_directory_principal_secret
tenantId = params.active_directory_tenant_id
}
batch {
location = params.batch_location
accountName = params.batch_account_name
autoPoolMode = true
allowPoolCreation = true
deletePoolsOnCompletion = true
copyToolInstallMode = 'task'
pools {
auto {
vmType = 'Standard_D2_v3'
vmCount = 3
virtualNetwork = params.virtual_network
privileged = true
}
}
}
storage {
accountName = params.storage_account_name
}
registry {
server = 'docker.io'
userName = params.registry_username
password = params.registry_password
}
}
}
}