nf-core / nf-core/tools

Use outputDir in nf-core pipelines

Open
#3,707 0 comments 0 reactions 1 assignee View on GitHub

@edmundmiller is already working on this.

Since Aug 8, 2025.

Dominant language
Python
Stars
322
Forks
255
Avg merge
2d 3h
Merged PRs (30d)
5

Description

https://www.nextflow.io/docs/latest/workflow.html#publishing-files

In preparation for a larger migration when the new output syntax is stabilized, we'll need to add

outputDir = params.outdir

This will set it by default in a backwards-compatible way so people can continue using --outdir instead of migrating to -output-dir.

Would it also be worth adding linting to warn/fail if anyone uses params.outdir anywhere in their publishDir logic?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.