How to use publishDir
on a workflow output?
#1933
Replies: 13 comments 15 replies
-
Why has workflow publish feature been depreciated? That was exactly what I needed. |
Beta Was this translation helpful? Give feedback.
-
The same issue here |
Beta Was this translation helpful? Give feedback.
-
Commenting to keep updated on this! |
Beta Was this translation helpful? Give feedback.
-
I've just learned that |
Beta Was this translation helpful? Give feedback.
-
I too am wondering this. (See also #1540) After 1bd7b4a its not possible to use
Its not clear to me how to use |
Beta Was this translation helpful? Give feedback.
-
I've found comments in gitter from Apr 2020 stating that creating a publishDir in process is the only way to publish files for now, but that "the plan is to have a more flexible mechanisms later". Are there any timelines on that? |
Beta Was this translation helpful? Give feedback.
-
I am also interested in this feature. My use case is that when using DSL2 I would like my |
Beta Was this translation helpful? Give feedback.
-
We were wondering about the same when this change became first known to us. I felt that the change was counter-intuitive, why let processes decide where and whether to output files? Shouldn't the decision be at the workflow level? With some exprimenting, we settled with a solution that worked well. To some degree it achieves the effect to let the workflow to control where and whether a process should publish its output. Below is the pseudo code: process A in
process B in
Workflow
|
Beta Was this translation helpful? Give feedback.
-
+1 on this issue thread! |
Beta Was this translation helpful? Give feedback.
-
My 2p is that workflows should be publishing from the |
Beta Was this translation helpful? Give feedback.
-
Folks, I whipped up a little PR for a publish operator: #3724 Check out the pipeline example and let me know if you have any feedback. |
Beta Was this translation helpful? Give feedback.
-
We are definitely getting beat out by WDL and cromwell if we cannot upload workflow outputs to a directory. +1 for this ask as a necessity to be a successful (cough: workflow :cough) language. Who can I speak with or call at Seqera to get this facilitated ASAP?? |
Beta Was this translation helpful? Give feedback.
-
Migrating to DSL2, I found this issue as well. I have to be very consistent about my own modules but those maintained by other people have to be copied and modified. I wanted to give @bentsherman's PR a try, but I can't figure out how to build from the source after cloning the changes. Any tips? This would solve some headaches for me but more importantly this erodes modularity and reusability which are the selling points of DSL2. |
Beta Was this translation helpful? Give feedback.
-
It is possible to use
publishDir
in a process, but it doesn't seem possible to publish a workflow output channel (DSL2).Beta Was this translation helpful? Give feedback.
All reactions