Mark Pampuch
10/28/2024, 1:18 PMnf-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=C043FMKUNLBSimon Pearce
10/28/2024, 2:41 PMSimon Pearce
10/28/2024, 2:41 PM