lanadelrea / Katmon

Pipeline for detecting coinfection of SARS-CoV-2 variants.
3 stars 3 forks source link

Very minor. WARN: Input set cardinality and view() #9

Closed abulenciamiguel closed 2 weeks ago

abulenciamiguel commented 2 months ago

Although this does not affect the process, I'm curious how do you address this warning. I also have this with other pipelines but I just close my eyes and pretend not seeing it. 🤣

WARN: Input tuple does not match input set cardinality declared by process `aafplot_mutations` -- offending value: [barcode09, /mnt/d/dev/coinfection/work/ec/55701b9f7097327af7dbd344c60f56/barcode09_filtered.sorted.bam, /mnt/d/dev/coinfection/work/ec/55701b9f7097327af7dbd344c60f56/barcode09_filtered.sorted.bam.bai, /mnt/d/dev/coinfection/work/ec/55701b9f7097327af7dbd344c60f56/barcode09.vcf, barcode09, /mnt/d/dev/coinfection/work/8d/965c4515c2926fa4c0c6ac152ce875/barcode09_filtered.sorted.bam, /mnt/d/dev/coinfection/work/8d/965c4515c2926fa4c0c6ac152ce875/barcode09_filtered.sorted.bam.bai, /mnt/d/dev/coinfection/work/8d/965c4515c2926fa4c0c6ac152ce875/barcode09.vcf, barcode09, /mnt/d/dev/coinfection/work/4a/4280929841e94a439a558d3a0f48ce/barcode09_filtered.sorted.bam, /mnt/d/dev/coinfection/work/4a/4280929841e94a439a558d3a0f48ce/barcode09_filtered.sorted.bam.bai, /mnt/d/dev/coinfection/work/4a/4280929841e94a439a558d3a0f48ce/barcode09.vcf]
WARN: Input tuple does not match input set cardinality declared by process `bammixplot` -- offending value: [barcode09, /mnt/d/dev/coinfection/work/ec/55701b9f7097327af7dbd344c60f56/barcode09_filtered.sorted.bam, /mnt/d/dev/coinfection/work/ec/55701b9f7097327af7dbd344c60f56/barcode09_filtered.sorted.bam.bai, /mnt/d/dev/coinfection/work/ec/55701b9f7097327af7dbd344c60f56/barcode09.vcf, barcode09, /mnt/d/dev/coinfection/work/8d/965c4515c2926fa4c0c6ac152ce875/barcode09_filtered.sorted.bam, /mnt/d/dev/coinfection/work/8d/965c4515c2926fa4c0c6ac152ce875/barcode09_filtered.sorted.bam.bai, /mnt/d/dev/coinfection/work/8d/965c4515c2926fa4c0c6ac152ce875/barcode09.vcf, barcode09, /mnt/d/dev/coinfection/work/4a/4280929841e94a439a558d3a0f48ce/barcode09_filtered.sorted.bam, /mnt/d/dev/coinfection/work/4a/4280929841e94a439a558d3a0f48ce/barcode09_filtered.sorted.bam.bai, /mnt/d/dev/coinfection/work/4a/4280929841e94a439a558d3a0f48ce/barcode09.vcf]

Also, you might have forgotten remove the view function here

ammaraziz commented 2 months ago

This warning is caused when the actual inputs do not meet the inputs defined in the rule.

I think this is caused by the collect operator used.

The collect operator combines items returning a single list item. More info here.