awsbatch Configuration

To be used with awsbatch. Custom queue and region can be supplied with params.awsqueue, params.awsregion, params.awscli, respectively.

Allow overwrite of trace, timeline, report and dag to allow resuming pipelines.

Config file

See config file on GitHub

awsbatch.config
//Nextflow config file for running on AWS batch
params {
  config_profile_description = 'AWSBATCH Cloud Profile'
  config_profile_contact = 'Alexander Peltzer (@apeltzer)'
  config_profile_url = 'https://aws.amazon.com/batch/'
 
  awsqueue = false
  awsregion = 'eu-west-1'
  awscli = '/home/ec2-user/miniconda/bin/aws'
}
 
timeline {
  overwrite = true
}
report {
  overwrite = true
}
trace {
  overwrite = true
}
dag {
  overwrite = true
}
 
process.executor = 'awsbatch'
process.queue = params.awsqueue
aws.region = params.awsregion
aws.batch.cliPath = params.awscli
 
awsbatch.config
//Nextflow config file for running on AWS batch
params {
  config_profile_description = 'AWSBATCH Cloud Profile'
  config_profile_contact = 'Alexander Peltzer (@apeltzer)'
  config_profile_url = 'https://aws.amazon.com/batch/'
 
  awsqueue = false
  awsregion = 'eu-west-1'
  awscli = '/home/ec2-user/miniconda/bin/aws'
}
 
timeline {
  overwrite = true
}
report {
  overwrite = true
}
trace {
  overwrite = true
}
dag {
  overwrite = true
}
 
process.executor = 'awsbatch'
process.queue = params.awsqueue
aws.region = params.awsregion
aws.batch.cliPath = params.awscli