Using file paths #1950
-
Hello, I am reading through the Nextflow documentation. I am confused by something I read in Processes/Inputs/Input of files. In the example,
I am quite new to this, so thanks for the help. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The tip says "you should avoid whenever possible to use absolute or relative paths referencing files in your pipeline processes", which means in the task script, otherwise the task would be bound to a specific file (path).
Doesn't make sense. The variable However, production data will be stored in a different path(s) |
Beta Was this translation helpful? Give feedback.
The tip says "you should avoid whenever possible to use absolute or relative paths referencing files in your pipeline processes", which means in the task script, otherwise the task would be bound to a specific file (path).
Doesn't make sense. The variable
baseDir
holds the path of the directory where the main pipeline script is located. It can be useful to reference any file that can be distributed along with the pipeline script.However, production data will be stored in a different path(s)