Skip to content

Latest commit

 

History

History

example-googlebatch

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Run a pipeline with Google Storage using Wave and Fusion file system

Summary

This example shows how to use Wave to provision the Fusion file system in the pipeline containers and access Google Storage as a work directory.

Config file

process {
  executor = 'google-batch'
}

google {
  location  = 'europe-west2'
}

wave {
  enabled = true
}

fusion {
  enabled = true
}

Run it

nextflow run rnaseq-nf \
  -with-wave \
  -work-dir gs://<YOUR-BUCKET>/work

Make sure to specify a Google Storage bucket to which you have read-write access as work directory.

Google credentials should be provided via the GOOGLE_APPLICATION_CREDENTIALS environment variable or by using the gcloud auth application-default login command. You can find more details at in the Nextflow documentation.