Nicolas Vannieuwkerke
10/16/2026, 10:16 AMJim Downie
10/16/2026, 10:20 AMprefix should be a required input as well as args. Otherwise subworkflows still have to depend on configNicolas Vannieuwkerke
10/16/2026, 10:22 AMJim Downie
10/16/2026, 10:22 AMMahesh Binzer-Panchal
10/16/2026, 10:27 AMsamtools_args is set, we don't want that propagating to samtools view when it's set for samtools sortNicolas Vannieuwkerke
10/16/2026, 10:27 AMsamtools_sort_args and samtools_view_args in that caseMahesh Binzer-Panchal
10/16/2026, 10:28 AMJim Downie
10/16/2026, 10:29 AMrecord(
...
arguments: List<String?>
)
...
tool \\
${arguments[0]} |
tool2 ${arguments[1]}Mahesh Binzer-Panchal
10/16/2026, 10:30 AMNicolas Vannieuwkerke
10/16/2026, 10:30 AMJim Downie
10/16/2026, 10:30 AMNicolas Vannieuwkerke
10/16/2026, 10:31 AMMahesh Binzer-Panchal
10/16/2026, 10:32 AMJim Downie
10/16/2026, 10:32 AMarguments itself should be a record with keys? That would be easier for linting
record(
...
arguments: Record
)Nicolas Vannieuwkerke
10/16/2026, 10:32 AMJim Downie
10/16/2026, 10:32 AMbut there it would still be more readable to have the tool name in the argsYes, until you run samtools view twice 🥹
Nicolas Vannieuwkerke
10/16/2026, 10:33 AMsamtools_view1_args and samtools_view2_args ?Mahesh Binzer-Panchal
10/16/2026, 10:33 AMJames Fellows Yates
10/16/2026, 10:37 AMI'd say we use samtools_sort_args and samtools_view_args in that caseRe this, maybe you could specify the naming SHOULD(?) match the same rules for naming of nf-core modules/subworkflows etc?
Mahesh Binzer-Panchal
10/16/2026, 10:38 AMJames Fellows Yates
10/16/2026, 10:38 AMsamtools_view)James Fellows Yates
10/16/2026, 10:39 AMJames Fellows Yates
10/16/2026, 10:40 AMNames in the input SHOULD be descriptive of their function in the processWhat does that mean exactly, I think you will need to explain that a bit better
Nicolas Vannieuwkerke
10/16/2026, 10:41 AMJim Downie
10/16/2026, 10:41 AMrecord MyProcessArgs {
tool1_args: String
tool2_args: String
}
process MYPROCESS {
record(
...
arguments: MyProcessArgs
)
But what about putting these all in a record rather than as flat record inputs?Mahesh Binzer-Panchal
10/16/2026, 10:43 AMMahesh Binzer-Panchal
10/16/2026, 11:18 AMstageAs , arity, a more specific ext.args + ext.args2 + ext.args3 example, positional arguments?Jim Downie
10/16/2026, 11:55 AMMahesh Binzer-Panchal
10/16/2026, 12:00 PMNicolas Vannieuwkerke
10/16/2026, 12:02 PMJim Downie
10/16/2026, 12:20 PMmoduleDir and stage it into the work directory using stageAs:
https://nfcore.slack.com/archives/C04QR0T3G3H/p1773668639446329?thread_ts=1769678574.070939&cid=C04QR0T3G3HJim Downie
10/16/2026, 12:21 PMNicolas Vannieuwkerke
10/16/2026, 12:27 PMNicolas Vannieuwkerke
10/16/2026, 12:27 PMMahesh Binzer-Panchal
10/16/2026, 12:28 PMMahesh Binzer-Panchal
10/16/2026, 12:29 PMBen Sherman
10/16/2026, 2:03 PM