I have a tool that requires 3 arguments, while two...
# modules
t
I have a tool that requires 3 arguments, while two are optional, meaning that if not provided (in argparse they are required=False) there is a custom value for them. How do we implement this in NF? I've put all 5 arguments in the nf file, but I was wondering whether passing the two "optional" arguments as "args" or "params" would be a better solution? Any advice?
j
All optional args that have a preset default (within the tool) or does not need a value should come in
ext.args
. Anything mandatory should come via an input channel
t
👍🏻 thanks