×

xpack-google @ 2.2.0

Provider: Seqera Labs
Claimed: 09 Sep 2025 14:38:44 (UTC)
Description: The `xpack-google` plugin extends Nextflow's Google Cloud executors to support Google Filestore (NFS) volumes and POSIX shared file systems, enabling seamless distributed workflows with shared storage on Google Cloud Batch. It solves the problem of managing shared file systems across distributed compute jobs, making it ideal for bioinformatics and data-intensive pipeline users requiring persistent, shared storage on Google Cloud. A Seqera Labs license key is required to use this proprietary plugin.
Latest version: 2.2.0
Total downloads: 2.8K View trends

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-google plugin 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

  1. Install Java and the required NFS system dependencies:

    sudo apt-get -y install openjdk-11-jdk-headless nfs-common
    
  2. Configure Google credentials:

    export GOOGLE_APPLICATION_CREDENTIALS=$PWD/google.json
    
  3. Mount the shared file system in the launching environment:

    sudo mkdir /nfs
    sudo mount 10.195.15.250:/share1 /nfs/
    sudo chmod go+rw /nfs
    

    Replace 10.195.15.250:/share1 with 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 12 Mar 2026 10:10:46 (UTC)
Release Notes -
Download URL https://registry.nextflow.io/api/v1/plugins/xpack-google/2.2.0/download/xpack-google-2.2.0.zip
Store URL https://public.cr.seqera.io/v2/nextflow/plugin/xpack-google/blobs/sha256:473f9e84653f0f513fd8c8059631fbc711bf3c40fd1b20d9ea1047d9ed20a68c
Size 568.8 KB
Checksum 2d623c45eb44bac1389a06a77e532174c2bd6af6cee337344e04bfe9e2a08c7107c04d0ac45d40b7b0ce8496a492ad42a8e9c193cc8b2b9ea183a7668bcd50c3
Total downloads 23 View trends
Security Scan
Version Nextflow version Date Status Downloads
2.2.0 >=25.10.0 12 Mar 2026 10:10:46 (UTC) 23
2.1.2 >=25.10.0 18 Dec 2025 13:09:38 (UTC) 355
2.1.1 >=25.09.2-edge 22 Oct 2025 14:54:03 (UTC) 191
2.1.0 >=25.07.0-edge 09 Sep 2025 14:44:41 (UTC) 23
2.0.0 >=25.06.0-edge 06 Jul 2025 14:39:53 (UTC) 41
1.3.0 >=24.04.0-edge 14 May 2024 08:26:12 (UTC) 245
1.2.0 >=24.01.0-edge 05 Feb 2024 23:46:51 (UTC) 1.4K
1.1.0 >=23.12.0-edge 26 Dec 2023 12:54:18 (UTC) 41
1.0.0 >=23.01.0-edge 09 Aug 2023 20:02:14 (UTC) 123
1.0.0-beta.3 >=23.01.0-edge 09 Apr 2023 08:01:03 (UTC) 80
1.0.0-beta.2 >=23.01.0-edge 14 Jan 2023 19:17:26 (UTC) 71
1.0.0-beta.1 >=21.06.0-edge 08 Jul 2021 14:04:18 (UTC) 201