Nextflow: AWS Batch S3 upload function does not work if output is a directory

Created on 30 Nov 2017  ยท  23Comments  ยท  Source: nextflow-io/nextflow

Expected outputs:

output:
    set file("*multiqc_report.html"), file("*multiqc_data") into multiQCReport

Error:

Caused by:
  Missing output file(s) `*multiqc_data` expected by process `RunMultiQC`

There is a multiqc_report.html but it seems that the multiqc_data directory is not found.

here are the logs:
nextflow.command.log
task.command.log
task.command.err
task.command.out
task.command.run

Most helpful comment

thanks to you for the troubleshooting! ๐ŸŽ‰ ๐ŸŽ‰ ๐ŸŽ‰

All 23 comments

In the task wrapper there this command at the end

nxf_s3_upload '*multiqc_data' s3://caw-test-results/work/ce/562f50f7277af34c4dc7d39e727612

Does that folder exist in the S3 path s3://caw-test-results/work/ce/562f50f7277af34c4dc7d39e727612 ?

Not at all

so there's a problem in the upload, I will check it.

Thanks again.

how is exactly the name of that directory ?

the directory is just multiqc_data, I copied the output directive from NGI-RNAseq, and they include possibilities of personnalization, so at some point it could be anything_multiqc_data I guess.

It is a side effect of #535

Sorry about that

that's life! :)

But we have already a patch for it! Please try version 0.26.3-SNAPSHOT

Still the same problem.

Can you include the command.run?

On 30 Nov 2017 4:08 p.m., "Maxime Garcia" notifications@github.com wrote:

Still the same problem.

โ€”
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/nextflow-io/nextflow/issues/539#issuecomment-348215899,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAx3SGF7YIpde_XhxpsTyETiZhx-2oyqks5s7sUKgaJpZM4QwlZ7
.

The wrapper does not contain the patch https://github.com/nextflow-io/nextflow/commit/613b30a7251cb36e70581d533dcbe5a28ef56dad.

It should be eval "ls -d $pattern" instead of eval "ls $pattern"

Make sure you are using

` $ nextflow info Version: 0.26.3-SNAPSHOT build 4739 Modified: 30-11-2017 14:23 UTC (15:23 CEST)

I'm using NXF_VER=0.26.3-SNAPSHOT already. How can I specify to use a more recent version?

does the build number match with mine?

not at all:

NXF_VER=0.26.3-SNAPSHOT nextflow info
  Version: 0.26.3-SNAPSHOT build 4738
  Modified: 28-11-2017 15:16 UTC (16:16 CEST)
...

if so do the following

CAPSULE_RESET=1 NXF_VER=0.26.3-SNAPSHOT nextflow info

It will force to update your local snapshot.

Then remove CAPSULE_RESET=1 for the following runs

Thanks a lot, I got the same build now.
Trying at the moment, will tell you how it goes in a moment

:crossed_fingers:

It worked without any problem.
Thanks a lot for everything.

thanks to you for the troubleshooting! ๐ŸŽ‰ ๐ŸŽ‰ ๐ŸŽ‰

Included in version 0.26.3.

Was this page helpful?
0 / 5 - 0 ratings