/*
 * -------------------------------------------------
 *  Nextflow config file for Amazon Web Services
 * -------------------------------------------------
 * Imported under the 'aws' Nextflow profile in nextflow.config
 * Defines reference genomes, using iGenome paths from s3
 * Uses docker for software depedencies.
 */

docker {
  enabled = true
}

process {
  executor = 'ignite'
}

params {
  saveReference = true
  // Max resources based on a typical AWS m4.4xlarge EC2 instance
  // Customise with --max_memory, --max_cpus and --max_time (or overwrite with another config file)
  // For example, for m4.2xlarge, use `--max_cpus 8 --max_memory 32`
  max_memory = 64.GB
  max_cpus = 16
  max_time = 240.h
}
