7. Exercise 6¶
Move into the exercise 6 directory and execute the hello-gatk.nf script.
Error message
Solution
The error message suggests that the path to the samplesheet.csv is incorrect.
Searching the file directory, indeed, /workspace/gitpod/troubleshoot/exercise6/data/samplesheet.csv does not exist.
The complete path should be /workspace/gitpod/troubleshoot/data/samplesheet.csv.
By examining how the path to samplesheet.csv is derived it can be seen that there is no obvious path error.
| hello-gatk.nf | |
|---|---|
However, it can be noted that there is a $ before baseDir on line 7 which would suggest it is a variable.
$baseDir was once an implicit variable, and its usage here is causing the wrong path.
By removing the $ the proper path should be resolved.
| hello-gatk.nf | |
|---|---|