xpack-google @ 2.1.2
Summary
The xpack-google plugin enhances the standard Nextflow Google Cloud executors with the following features:
- Google Filestore (NFS) Support: Mount NFS volumes from Google Filestore directly in your Batch jobs, enabling shared file system workflows
- POSIX Shared File Systems: Use local POSIX-compatible paths as work directories when backed by NFS mounts
- Google Cloud Batch Support: Extended capabilities for the Google Batch executor with improved volume management
The plugin requires a license key to be used. If you are interested, please contact us for an evaluation license at sales@seqera.io.
Get Started
Prerequisites
- Java 11 or later
- Nextflow 23.01.0-edge or later (see compatibility table below)
- The
nf-googleplugin version 1.22.0 or later - Google Cloud credentials configured with appropriate permissions
- Google Cloud Batch API enabled
- Google Filestore instance
License Configuration
Configure the Nextflow XPACK license by defining the NXF_XPACK_LICENSE variable in your environment:
export NXF_XPACK_LICENSE=<your license string>
Instance Preparation
-
Install Java and the required NFS system dependencies:
sudo apt-get -y install openjdk-11-jdk-headless nfs-common -
Configure Google credentials:
export GOOGLE_APPLICATION_CREDENTIALS=$PWD/google.json -
Mount the shared file system in the launching environment:
sudo mkdir /nfs sudo mount 10.195.15.250:/share1 /nfs/ sudo chmod go+rw /nfsReplace
10.195.15.250:/share1with your Filestore instance mount point. See the Google Filestore documentation for details.
Installation
Add the plugin to your nextflow.config file:
plugins {
id 'xpack-google@2.1.1'
}
Make sure to use a version matching your Nextflow version according to the compatibility table below.
Configuration for Google Cloud Batch
plugins {
id 'xpack-google@2.1.1'
}
google.location = 'europe-west2'
google.batch.nfsVolumes.nfs1.target = '10.195.15.250:/share1'
google.batch.nfsVolumes.nfs1.mountPath = '/nfs'
process.executor = 'google-batch'
Replace the location, NFS target, and mountPath with values matching your Filestore instance configuration.
NFS Volume Options
| Option | Description |
|---|---|
google.batch.nfsVolumes..target |
The NFS server address in format IP-ADDRESS:/SHARE-NAME (required) |
google.batch.nfsVolumes..mountPath |
The local path where the NFS share will be mounted (required) |
google.batch.nfsVolumes..readOnly |
Mount the file system as read-only (default: false) |
Multiple Filestore instances can be configured by providing unique names for each volume (e.g., nfs1, nfs2).
Examples
Using Filestore as Work Directory
Configure your pipeline to use a Filestore NFS mount as the work directory:
plugins {
id 'xpack-google@2.1.1'
}
workDir = '/nfs/work'
google {
project = 'my-project'
location = 'us-central1'
batch {
nfsVolumes {
'pipeline-storage' {
target = '10.128.0.2:/vol1'
mountPath = '/nfs'
}
}
}
}
process.executor = 'google-batch'
Multiple NFS Volumes
Mount multiple NFS volumes for different purposes:
| Nextflow version | >=25.10.0 |
|---|---|
| Depends On | nf-google@>=1.22.0 |
| Release Date | 18 Dec 2025 13:09:38 (UTC) |
| Release Notes | - |
| Download URL | https://registry.nextflow.io/api/v1/plugins/xpack-google/2.1.2/download/xpack-google-2.1.2.zip |
| Store URL | https://public.cr.seqera.io/v2/nextflow/plugin/xpack-google/blobs/sha256:a3eed59b318bab8e2386f74ee011b587449fc9ab6d88090d688d26a47315ac37 |
| Size | 23.9 KB |
| Checksum | 0c408e940655b47e730068c0c2df3642b3c6ed993fc89ee34a516e6f2f60efdd91b79559cf4162a579fa51029ef91b21a911896fc0bfe0d5ebfe7228e327c621 |
| Total downloads | 168 View trends |
| Security Scan |
| Version | Nextflow version | Date | Status | Downloads |
|---|---|---|---|---|
| 2.1.2 | >=25.10.0 | 18 Dec 2025 13:09:38 (UTC) | 168 | |
| 2.1.1 | >=25.09.2-edge | 22 Oct 2025 14:54:03 (UTC) | 190 | |
| 2.1.0 | >=25.07.0-edge | 09 Sep 2025 14:44:41 (UTC) | 18 | |
| 2.0.0 | >=25.06.0-edge | 06 Jul 2025 14:39:53 (UTC) | 38 | |
| 1.3.0 | >=24.04.0-edge | 14 May 2024 08:26:12 (UTC) | 243 | |
| 1.2.0 | >=24.01.0-edge | 05 Feb 2024 23:46:51 (UTC) | 1.3K | |
| 1.1.0 | >=23.12.0-edge | 26 Dec 2023 12:54:18 (UTC) | 40 | |
| 1.0.0 | >=23.01.0-edge | 09 Aug 2023 20:02:14 (UTC) | 122 | |
| 1.0.0-beta.3 | >=23.01.0-edge | 09 Apr 2023 08:01:03 (UTC) | 79 | |
| 1.0.0-beta.2 | >=23.01.0-edge | 14 Jan 2023 19:17:26 (UTC) | 70 | |
| 1.0.0-beta.1 | >=21.06.0-edge | 08 Jul 2021 14:04:18 (UTC) | 200 |