You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the documentation, it describes the keepHeader option of collectFile as "Prepend the resulting file with the header fetched in the first collected file", but this is not what happens in practice.
Expected behavior and actual behavior
The expected behaviour should be: "Prepend the resulting file with the header fetched in the first collected file".
The actual behaviour is that it keeps the header of all input files, not just the first.
$ nextflow run main.nf N E X T F L O W ~ version 24.10.4Launching `main.nf` [loving_faggin] DSL2 - revision: f077c6d708executor > local (3)[96/8d2d4d] TASK (1) [100%] 3 of 3 ✔assembly num. contigs N503 3 40assembly num. contigs N502 3 40assembly num. contigs N501 3 40
Environment
Nextflow version: 24.10.4
Java version: openjdk 17.0.14-internal 2025-01-21
Operating system: Linux
Bash version: GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu)
The text was updated successfully, but these errors were encountered:
Bug report
In the documentation, it describes the
keepHeader
option ofcollectFile
as "Prepend the resulting file with the header fetched in the first collected file", but this is not what happens in practice.Expected behavior and actual behavior
The expected behaviour should be: "Prepend the resulting file with the header fetched in the first collected file".
The actual behaviour is that it keeps the header of all input files, not just the first.
Steps to reproduce the problem
Program output
Environment
The text was updated successfully, but these errors were encountered: