Skip to content

Commit

Permalink
Update nextflow.config to include aws config
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Rich committed Apr 16, 2021
1 parent 6ebba11 commit 3efdfd6
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions nextflow.config
Expand Up @@ -48,10 +48,6 @@ profiles {
shell = ['/bin/bash', '-euo', 'pipefail']
}
}

local {
process.executor = 'local'
}

// profile using conda environments rather than docker
// containers
Expand All @@ -69,6 +65,23 @@ profiles {
cacheDir = ""
}
}

awsbatch {
process {
executor = 'awsbatch'
queue = "${params.aws_queue}"
memory = '8G'
container = "${params.aws_image_prefix}-wf-clone-validation:${params.wfversion}"
shell = ['/bin/bash', '-euo', 'pipefail']
}
}
aws.region = 'eu-west-1'
aws.batch.cliPath = '/home/ec2-user/miniconda/bin/aws'

// local profile for simplified development testing
local {
process.executor = 'local'
}
}


Expand Down

0 comments on commit 3efdfd6

Please sign in to comment.