What’s the intended usage of the `glob` types (e.g...
# nf-schema
a
What’s the intended usage of the
glob
types (e.g. filepath pattern). Do I just pass them into e.g.
files(params.filepath_glob)
to get the files I need?
n
In what case are you using these? It depends a bit on if you use parameter types or not
a
No typed params yet. I allow users to supply a glob for some index file fields (so they can use both csi and tbi) and I was wondering what is the correct way to get the actual files to pass into processes
n
glob
files are considered to create a list of
Path
files, so
files()
is probably the best solution here.
👍 1