2020-03-06 05:47:29 +00:00
|
|
|
// Nextflow config file for running on Google Cloud Life Sciences
|
|
|
|
params {
|
|
|
|
config_profile_description = 'Google Cloud Life Sciences Profile'
|
|
|
|
config_profile_contact = 'Evan Floden, Seqera Labs (@evanfloden)'
|
|
|
|
config_profile_url = 'https://cloud.google.com/life-sciences'
|
|
|
|
|
|
|
|
google_zone = 'europe-west2-c'
|
|
|
|
google_bucket = false
|
|
|
|
google_debug = false
|
|
|
|
google_preemptible = true
|
|
|
|
}
|
|
|
|
|
|
|
|
process.executor = 'google-lifesciences'
|
|
|
|
google.zone = params.google_zone
|
|
|
|
google.lifeSciences.debug = params.google_debug
|
|
|
|
workDir = params.google_bucket
|
|
|
|
google.lifeSciences.preemptible = params.google_preemptible
|
2022-05-05 10:10:05 +00:00
|
|
|
|
2020-03-06 05:47:29 +00:00
|
|
|
if (google.lifeSciences.preemptible) {
|
2022-05-05 10:10:05 +00:00
|
|
|
process.errorStrategy = { task.exitStatus in [8,10,14] ? 'retry' : 'terminate' }
|
2020-03-06 05:47:29 +00:00
|
|
|
process.maxRetries = 5
|
|
|
|
}
|