[!NOTE] This blog post has been generated with Copilot.

Ben Sherman presents Nextflow 26.10 as the culmination of several recent language changes. The overall direction is clear: make pipelines easier to reuse, compose, validate and run efficiently at scale.

Global Cache: reuse computation across pipelines

Motivation: -resume is useful for restarting previous pipeline runs, but identical computation may still be repeated across different pipelines.

What’s new: Global Cache provides a shared, content-addressable cache that allows identical task executions to be reused across runs and pipelines. It supports AWS, Azure and Google Cloud through Seqera Platform.

Why it matters: Expensive common steps, such as preprocessing, QC or alignment, could be computed once and reused elsewhere, reducing runtime and cloud compute costs.


Workflow modules: reuse more than individual processes

Motivation: Nextflow modules traditionally enabled reuse at the process level, but real analytical building blocks often consist of multiple processes.

What’s new: Modules can now contain complete workflows, including their own nested dependencies. Those workflow modules can be published, installed and reused through the Nextflow Registry.

// Process module
include { BWA_MEM } from 'nf-core/bwa/mem'

// Workflow module
include { FASTQ_ALIGN_STAR } from 'nf-core/fastq_align_star'

Why it matters: Teams can maintain reusable analytical components rather than duplicating the same subworkflow across multiple pipelines.


Static typing: catch problems before execution

Motivation: Interface and data-type problems discovered during execution waste developer time and potentially HPC/cloud resources.

What’s new: Static typing is now stable. nextflow lint can identify type errors before execution, while

nextflow run can warn about them.

nextflow lint pipeline.nf

Typed pipeline interfaces can explicitly define expected inputs:

params {
input: Channel<Sample>
fasta: Path
}

Why it matters: Pipelines gain clearer input/output contracts and become easier to test, refactor and maintain.


Run workflow modules directly

Motivation: Reusable components should be independently executable and testable.

What’s new: Typed workflow modules can be executed with nextflow module run. For Channel<E> inputs,

Nextflow can load CSV, JSON, or YAML sample sheets and validate/convert their rows against the expected record type.

nextflow module run acme/hello \
--greeting "Hello world!"

Why it matters: Workflow modules become closer to self-contained analytical products with explicit and validated interfaces.


Pipeline composition: pipelines become building blocks

Motivation: Connecting independent pipelines often means writing wrappers or producing intermediate files/sample sheets that another pipeline then reads.

What’s new: Complete pipelines can now be imported and called similarly to workflows. Their inputs and outputs can communicate through Nextflow channels.

Before:
Pipeline A → output/sample sheet → wrapper → Pipeline B

Now:
Pipeline A → Channel<T> → Pipeline B

Why it matters: This is probably the biggest architectural change in 26.10. Instead of creating increasingly large monolithic pipelines, teams can build smaller pipelines and compose them into larger end-to-end workflows.


Better GPU support

Motivation: GPU-heavy workloads need predictable GPU allocation when multiple tasks execute concurrently.

What’s new: Improved local GPU scheduling uses the accelerator directive together with

CUDA_VISIBLE_DEVICES.

process GPU_TASK {

accelerator 1, type: 'nvidia'

script:
"""
python inference.py
"""
}

Why it matters: Particularly relevant for deep learning and imaging pipelines, where GPU resources increasingly sit alongside traditional bioinformatics compute.


AI-assisted pipeline migration

Motivation: Modernizing older Nextflow pipelines to use records, static typing, workflow outputs and other newer language features can involve significant manual refactoring.

What’s new: Ben Sherman demonstrates a Nextflow migration skill designed to help migrate existing code toward newer Nextflow patterns, including static typing, records, topic channels and workflow outputs.

Why it matters: Potentially useful for organizations with large estates of existing DSL2 pipelines that need to be brought toward a common modern architecture.


Experimental agents inside Nextflow

Motivation: AI agents are increasingly becoming part of computational workflows, but external agent calls do not naturally benefit from Nextflow’s execution, provenance and caching model.

What’s new: An experimental agent primitive introduces agents as first-class Nextflow components, with the goal of bringing them into the same traceable and portable workflow model as conventional tasks.

Why it matters: It opens an interesting direction for reproducible agentic scientific workflows, although this is still experimental rather than a production-ready core feature.


Smaller quality-of-life improvements

  • Formatter improvements better preserve code comments.
  • A new nextflow logfile command simplifies access to run logs.
  • VS Code log viewing has been improved.
  • Documentation now includes a dedicated deprecations page.

Takeaway

Nextflow 26.10 is primarily about composability and reuse.

The combination of Global Cache, workflow modules, stable static typing and pipeline composition shifts Nextflow from reusable individual processes toward reusable pipelines with well-defined interfaces. For teams maintaining multiple production bioinformatics pipelines, the practical benefits are clearer architecture, earlier error detection, less duplicated workflow code and potentially less duplicated computation.