Combining same channels giving file name collision error #4002
Unanswered
zillurbmb51
asked this question in
Q&A
Replies: 1 comment
-
Hi @zillurbmb51 , when you provide a path input to a process, Nextflow stages the path into the task work directory. So if you provide multiple paths with the same filename, you will get a name conflict. When you combine these two channels, you should remove any combinations that have the same file twice. Or, you should stage them under different names, for example: input:
tuple val(st), path('mng1.txt'), path('mng2.txt') // or whatever the file extension is
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have a channel of
tuple (val, file)
. I assigned it into two channelsch1, ch2
. So, both channels have same element and then combined them usingcombine
operator. Because, I need the same element twice. But, when I use the combined channel in a process I am getting error that:input file name collision -- There are multiple files for each of the following file names.
Any help?Also if I use separately
ch1
andch2
like:The same message comes out.
Beta Was this translation helpful? Give feedback.
All reactions