Skip to content

Using file paths #1950

Answered by pditommaso
timothy-barry asked this question in Q&A
Discussion options

You must be logged in to vote

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).

What is the base directory of the file path '/some/path/*.fa'? Is it stored in the baseDir

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)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by timothy-barry
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