Ricardo Ramirez
04/17/2026, 1:17 PM.sh file and call it from the script, or directly import the script instead of the script block?Arthur
04/17/2026, 1:23 PMtemplate (docs) but the template function is generally advised against as noted in the docs.
Alternatively you could put it in your pipeline bin and then run my script.sh in the script block.
If you are using wave you could also put it in a module binaryIsabel Haubro-Suppanz
04/17/2026, 1:48 PMRicardo Ramirez
04/17/2026, 1:55 PMbin folder in the module? Is that added to the PATH variable?Isabel Haubro-Suppanz
04/17/2026, 1:57 PMArthur
04/17/2026, 2:00 PMbin is top level (alongside the pipeline main.nf) and "just works" (automatically added to path and exposed to processes/modules). A bin at the module level is covered by the module binaries link in my first response and (unfortunately imo) only works if you are using wave currentlyRicardo Ramirez
04/17/2026, 2:27 PMpontus
04/17/2026, 7:41 PM