<github.com/nf-core/modules/pull/13127> I took an...
# team-maintainers
j
github.com/nf-core/modules/pull/13127 I took another stab at this samtools multi-command module. This time, it defines upfront a map of tool configuration options, to make clear how each tool is expected to work. There’s still a lot of unavoidable complexity, but hopefully this makes the /operation/ more clear by creating a single point for modification in future, if more commands need to be added. Thoughts very much welcome, and if this isn’t enough to get a tick from anyone other than @Matthieu Muffato I’m giving up and putting it in our own modules repo for now, I want to use this 🥲
👀 2
🔥 1
m
I’d just like to say this is AWESOME!
Seeing Mahesh say that makes me want to look at it even more
🤣 1
Just made minor comments
🙏 1
My only lingering issue here is the term pipeline I still see, I’d reckon we should avoid that
j
what would you use instead? command_chain?
m
but stellar implementation. I like how the md5 stays the same in: subworkflows/nf-core/bam_markduplicates_samtools/tests/main.nf.test.snap
❤️ 2
pipeline → chain, so we get pipeline_args → chain_args and so on
I think chain is good enough as an explanation in our case internally here
module name should stay multicommand, that’s unlikely samtools will have such a subcommand
I think once it merges, we should even do a #bytesize about it
👀 1