Skip to content
Discussion options

You must be logged in to vote

Nextflow does have a way to deal with this, but before getting to that, you seem to be failing to understand how it works. It doesn't matter what the absolute path is, as Nextflow will create a task directory for every task and create links for all the input files required for that task. That's why the absolute path is irrelevant here, as the task will only see the final files/directories in the task directory which do have the same name, clashing. You can use name or stageAs in the input block to have one of them named something else. See the example below:

process FOO {
  debug true

  input:
    path first_file
    path second_file, name: "some_other_name.txt"

  output:
    stdout

  s…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by mribeirodantas
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #4401 on October 12, 2023 04:09.