Q: How do I make my Nextflow pipelines more resilient to VM preemption?
Running your pipelines on Preemptible VMs (PVMs) provides significant cost savings, but increases the likelihood that a task will be interrupted before completion. It is a recommended best practice to implement a retry strategy when you encounter exit codes that are commonly related to preemption. Example:
process { errorStrategy = { task.exitStatus in [8,10,14] ? 'retry' : 'finish' } maxRetries = 3 maxErrors = '-1' }
Q: What are the minimum Tower service account permissions needed for GLS and GKE?
The following roles need to be granted to the nextflow-service-account:
- Cloud Life Sciences Workflows Runner
- Service Account User
- Service Usage Consumer
- Storage Object Admin
For detailed information, please refer to this guide.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article