Lately, I have been working a lot with GATK modules. I must say, the FASTA and FAI input conventions seem unstandardised and quite confusing when passing files from one process to another.
Take for example GATK4_COMPOSESTRTABLEFILE (only takes only path for FASTA), GATK4_ADDORREPLACEREADGROUPS (takes tuples for both FAI, FASTA), GATK4_MARKDUPLICATES (takes only paths for both FAI, FASTA).
Considering that these processes are often interconnected, what's the rationale for having to drop and re-introduce metadata (explicitly modifying channels) for the same tool within a workflow?