xpack-google @ 2.2.1
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:
google {
location = 'europe-west2'
batch {
nfsVolumes {
'work-storage' {
target = '10.0.0.2:/work'
mountPath = '/mnt/work'
}
'data-storage' {
target = '10.0.0.3:/data'
mountPath = '/mnt/data'
readOnly = true
}
}
}
}
workDir = '/mnt/work/nextflow'
Running a Pipeline
Launch the Nextflow pipeline execution specifying a path in the shared file system as the work directory:
nextflow run hello -w /nfs/scratch
Compatibility Table
| Nextflow version | Xpack version |
|---|---|
| 25.07.0-edge (or later) | 2.1.0 |
| 25.06.0-edge (or later) | 2.0.0 |
| 24.01.0-edge (or later) | 1.2.0 |
| 23.12.0-edge (or later) | 1.1.0 |
| 23.01.0-edge (or later) | 1.0.0 |
License
This is proprietary software provided by Seqera Labs. A valid license key is required for use. Unauthorized copying, modification, or distribution is prohibited.
Copyright 2021-2025, Seqera Labs, S.L. All Rights Reserved.
| Nextflow version | >=25.10.0 |
|---|---|
| Depends On | nf-google@>=1.22.0 |
| Release Date | 08 Apr 2026 09:53:14 (UTC) |
| Release Notes | - |
| Download URL | https://registry.nextflow.io/api/v1/plugins/xpack-google/2.2.1/download/xpack-google-2.2.1.zip |
| Store URL | https://public.cr.seqera.io/v2/nextflow/plugin/xpack-google/blobs/sha256:8a674716a9a6610fdf2c15007fb3a7d2467e79f9e5b0fe014d8fa5867430e3bf |
| Size | 569.3 KB |
| Checksum | 0363a49e9cd7c06ae54667b2c45c983c0a65665b09d6f7db7f8c7903e735def5c8c6599ef5c21ea7ba4c7c8d0e6b959eebdfeee26b01e3020a044df31226b7db |
| Total downloads | 153 View trends |
| Security Scan |
| Version | Nextflow version | Date | Status | Downloads |
|---|---|---|---|---|
| 2.2.1 | >=25.10.0 | 08 Apr 2026 09:53:14 (UTC) | 153 | |
| 2.2.0 | >=25.10.0 | 12 Mar 2026 10:10:46 (UTC) | 131 | |
| 2.1.2 | >=25.10.0 | 18 Dec 2025 13:09:38 (UTC) | 356 | |
| 2.1.1 | >=25.09.2-edge | 22 Oct 2025 14:54:03 (UTC) | 192 | |
| 2.1.0 | >=25.07.0-edge | 09 Sep 2025 14:44:41 (UTC) | 35 | |
| 2.0.0 | >=25.06.0-edge | 06 Jul 2025 14:39:53 (UTC) | 43 | |
| 1.3.0 | >=24.04.0-edge | 14 May 2024 08:26:12 (UTC) | 286 | |
| 1.2.0 | >=24.01.0-edge | 05 Feb 2024 23:46:51 (UTC) | 1.6K | |
| 1.1.0 | >=23.12.0-edge | 26 Dec 2023 12:54:18 (UTC) | 42 | |
| 1.0.0 | >=23.01.0-edge | 09 Aug 2023 20:02:14 (UTC) | 124 | |
| 1.0.0-beta.3 | >=23.01.0-edge | 09 Apr 2023 08:01:03 (UTC) | 81 | |
| 1.0.0-beta.2 | >=23.01.0-edge | 14 Jan 2023 19:17:26 (UTC) | 72 | |
| 1.0.0-beta.1 | >=21.06.0-edge | 08 Jul 2021 14:04:18 (UTC) | 202 |