I don’t know if this is an issue but it did break ...
# modules
m
I don’t know if this is an issue but it did break my code and I don’t know if it’s a problem with the nf-core modules standard The
nf-core/samtools/depth
module does not use the standard
tuple val(meta), path(bam)
input, instead it uses
tuple val(meta1), path(bam)
(see here https://github.com/nf-core/modules/blob/fba537c95064a1ab27b1d82afcd3c876a5658b70/modules/nf-core/samtools/depth/main.nf#L11). This
meta1
has broken certain parts of my subworkflow (specifically registering pulling data from the metamap in the publishDir configuration), and I fixed it by going into my pipeline and modifying
./modules/nf-core/samtools/depth/main.nf
, which is a file I think shouldn’t be touched (unless I am mistaken). See here for more info on the problem: https://nfcore.slack.com/archives/C043FMKUNLB/p1730119091591559?thread_ts=1730114568.505309&cid=C043FMKUNLB
s
That is non-standard, can you make a PR to adjust it to be meta rather than meta1?
Incidentally you can use nf-core patch to modify the modules/subworkflows that you install from nf-coer