2021-11-18 20:51:39 +00:00
|
|
|
//Nextflow config file for running on Azure batch
|
|
|
|
params {
|
|
|
|
config_profile_description = 'AWSBATCH Cloud Profile'
|
|
|
|
config_profile_contact = 'Venkat Malladi (@vsmalladi)'
|
|
|
|
config_profile_url = 'https://azure.microsoft.com/services/batch/'
|
|
|
|
|
2021-11-18 21:28:34 +00:00
|
|
|
az_location = 'westus2'
|
2021-11-18 20:51:39 +00:00
|
|
|
batch_name = false
|
|
|
|
batch_key = false
|
2021-11-18 21:47:27 +00:00
|
|
|
storage_name = 'platinumgenomes'
|
2021-11-18 21:28:34 +00:00
|
|
|
sas_token = 'sv=2019-02-02&se=2050-01-01T08%3A00%3A00Z&si=prod&sr=c&sig=FFfZ0QaDcnEPQmWsshtpoYOjbzd4jtwIWeK%2Fc4i9MqM%3D'
|
2021-11-18 21:47:27 +00:00
|
|
|
work_dir = false
|
2021-11-18 20:51:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
docker {
|
|
|
|
enabled = true
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
azure.batch.location = params.az_location
|
|
|
|
azure.batch.accountName = params.batch_name
|
|
|
|
azure.batch.accountKey = params.batch_key
|
|
|
|
azure.batch.autoPoolMode = true
|
|
|
|
azure.storage.accountName = params.storage_name
|
2021-11-18 21:28:34 +00:00
|
|
|
azure.storage.sasToken = params.sas_token
|
2021-11-18 20:51:39 +00:00
|
|
|
process.executor = 'azurebatch'
|
2021-11-18 21:47:27 +00:00
|
|
|
workDir = param.work_dir
|