As per the Nextflow documentation I put my awk scripts in the bin/
folder. Some scripts share the same functions so I wrote a file with only awk functions that I usually include using:
@include "relative/path/to/lib.awk"
But because the script runs in the nextflow work directory the relative path doesn't work anymore. I tried to put the library file in bin/
too but it didn't work as well.
How should I proceed? I don't want to copy/paste functions in the scripts, I also don't want to hardcode an absolute path.