Fernando
09/02/2026, 8:38 AMmv command in the orthofinder module. In the AWS megatest, mv isn’t just renaming the output folder, instead it's doing a per-object copy-then-delete. The problem is that the output folder contains several subfolders and files, so it fails.
Is there a way to bypass this? Or would the only option be to patch the module in the pipeline and remove the mv line.
I tried re-running the megatest and get the same error.Fernando
09/02/2026, 8:38 AMRike Hanssen
09/02/2026, 8:42 AMmv in general, so ideally it needs to be removed: https://cloud.seqera.io/orgs/nf-core/workspaces/AWSmegatests/watch/1viUssyTxXe4wB/logsFernando
09/02/2026, 10:09 AMmv line from the official module. I guess what I'm wondering now is, how do I patch my pipeline? Given that it's already released on GitHub. Do I have to make a new release? Seems like overkillFernando
09/02/2026, 10:10 AMFernando
09/02/2026, 1:39 PMCaused by:
Can't stage file /nf-core-awsmegatests/work/genomeqc/work-e1aa8943b4752b9e540b2370aa2454ca9ba04742/e8/47053aa7611eb263f2923320e03288/orthofinder/Orthogroups/Orthogroups.tsv -- file does not exist
But that path does indeed exist.Phil Ewels
09/09/2026, 1:19 PMPhil Ewels
09/09/2026, 1:20 PMPhil Ewels
09/09/2026, 1:21 PMThe pipeline fails becausereaches into `ORTHOFINDER`'s task work directory to grab Orthogroups.tsv, using a path hand-derived from `ORTHOFINDER`'s directory output rather than receiving the file through a channel. Nextflow only guarantees the outputs a process explicitly declares, so on the AWS Batch S3 executor that nested file isn't reliably present at the derived key and staging fails, whereas on a shared local filesystem in CI the path happens to resolve, which is why the bug stayed hidden. The fix is to have theORTHOSEQCOUNTmodule declare `Orthogroups`/`Orthogroups.tsv` as a proper output so Nextflow resolves and publishes that specific file, then wire that output channel intoORTHOFINDERand delete the file-into-directory workaround. The same treatment is needed for the v2 branch, and because orthofinder is a shared nf-core module the change should be applied via nf-core modules patch so it survives module updates.ORTHOSEQCOUNT
Fernando
09/10/2026, 8:23 AMPhil Ewels
09/10/2026, 9:12 AMPhil Ewels
09/10/2026, 9:12 AMPhil Ewels
09/10/2026, 9:12 AM1.0.1 😅Phil Ewels
09/10/2026, 9:13 AMFernando
09/10/2026, 10:08 AM