1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-11-22 00:26:03 +00:00

Add in minmum config for azure.

This commit is contained in:
Venkat Malladi 2021-11-18 14:51:39 -06:00
parent 0866682e9b
commit 237f91a3b7
5 changed files with 38 additions and 1 deletions

View file

@ -21,6 +21,7 @@ jobs:
- 'alice' - 'alice'
- 'aws_tower' - 'aws_tower'
- 'awsbatch' - 'awsbatch'
- 'azurebatch'
- 'bi' - 'bi'
- 'bigpurple' - 'bigpurple'
- 'binac' - 'binac'

View file

@ -88,6 +88,7 @@ Currently documentation is available for the following systems:
* [ALICE](docs/alice.md) * [ALICE](docs/alice.md)
* [AWSBATCH](docs/awsbatch.md) * [AWSBATCH](docs/awsbatch.md)
* [AWS_TOWER](docs/aws_tower.md) * [AWS_TOWER](docs/aws_tower.md)
* [AZUREBATCH](docs/azurebatch.md)
* [BIGPURPLE](docs/bigpurple.md) * [BIGPURPLE](docs/bigpurple.md)
* [BI](docs/bi.md) * [BI](docs/bi.md)
* [BINAC](docs/binac.md) * [BINAC](docs/binac.md)

26
conf/azurebatch.config Normal file
View file

@ -0,0 +1,26 @@
//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/'
az_location = 'westeurope'
batch_name = false
batch_key = false
storage_name = false
storage_key = false
}
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
azure.storage.accountKey = params.storage_key
workDir = 'az://work'
process.executor = 'azurebatch'

8
docs/azurebatch.md Normal file
View file

@ -0,0 +1,8 @@
# nf-core/configs: azurebatch Configuration
To be used with the `azurebatch` profile by specifying the `-profile azurebatch` when running nf-core pipelines.
Custom queue and storage need to be supplied with `params.az_location`, `params.batch_name`, `params.batch_key`, `params.storage_name`, `params.storage_key`.
## Azure Batch Setup
Please refer to the [Nextflow](https://www.nextflow.io/docs/edge/azure.html) documentation which describe how to setup the Azure Batch environment.

View file

@ -14,6 +14,7 @@ profiles {
alice { includeConfig "${params.custom_config_base}/conf/alice.config" } alice { includeConfig "${params.custom_config_base}/conf/alice.config" }
aws_tower { includeConfig "${params.custom_config_base}/conf/aws_tower.config" } aws_tower { includeConfig "${params.custom_config_base}/conf/aws_tower.config" }
awsbatch { includeConfig "${params.custom_config_base}/conf/awsbatch.config" } awsbatch { includeConfig "${params.custom_config_base}/conf/awsbatch.config" }
azurebatch { includeConfig "${params.custom_config_base}/conf/azurebatch.config" }
bi { includeConfig "${params.custom_config_base}/conf/bi.config" } bi { includeConfig "${params.custom_config_base}/conf/bi.config" }
bigpurple { includeConfig "${params.custom_config_base}/conf/bigpurple.config" } bigpurple { includeConfig "${params.custom_config_base}/conf/bigpurple.config" }
binac { includeConfig "${params.custom_config_base}/conf/binac.config" } binac { includeConfig "${params.custom_config_base}/conf/binac.config" }
@ -40,7 +41,7 @@ profiles {
icr_davros { includeConfig "${params.custom_config_base}/conf/icr_davros.config" } icr_davros { includeConfig "${params.custom_config_base}/conf/icr_davros.config" }
ifb_core { includeConfig "${params.custom_config_base}/conf/ifb_core.config" } ifb_core { includeConfig "${params.custom_config_base}/conf/ifb_core.config" }
imperial { includeConfig "${params.custom_config_base}/conf/imperial.config" } imperial { includeConfig "${params.custom_config_base}/conf/imperial.config" }
imperial_mb { includeConfig "${params.custom_config_base}/conf/imperial_mb.config" } imperial_mb { includeConfig "${params.custom_config_base}/conf/imperial_mb.config" }
jax { includeConfig "${params.custom_config_base}/conf/jax.config" } jax { includeConfig "${params.custom_config_base}/conf/jax.config" }
lugh { includeConfig "${params.custom_config_base}/conf/lugh.config" } lugh { includeConfig "${params.custom_config_base}/conf/lugh.config" }
maestro { includeConfig "${params.custom_config_base}/conf/maestro.config" } maestro { includeConfig "${params.custom_config_base}/conf/maestro.config" }