I am splitting my workflow into modules. I’d like to be able to include the all of the processes, workflows, etc from a module without having to name them individually. I’m imagining something like include {*} from ./module.nf
, akin to Python’s import * from [library]
.
I’d also like to know how to include variables defined in a module. For example, if a module setup.nf
declares params.resources = "resources"
, I’d like to be able to access that value of params.resources
from within a module with something like include {params.resources} from ./setup.nf
. I know that’s improper syntax, it’s just for illustrative purposes.
Thank you!