Hi! We were wondering what mpileup --max-depth 0 does? The samtools docs are pretty clear:
However, there is no mention of this setting in the bcftools docs:
The peculiar thing is that with bcftools (version 1.22-13-g458f97a1), setting --max-depth 0 paradoxically gives us DP ~70 with a BAM of >10,000X depth, whereas inspecting the BAM or setting --max-depth 1000000 gives the correct DP.
It also appears that others are using bcftools mpileup --max-depth 0, e.g. https://github.com/nf-core/viralrecon/blob/3731dd3a32a67a2648ea22c2bd980c224abdaee2/conf/modules_illumina.config#L405
Thanks!
Hi! We were wondering what
mpileup --max-depth 0does? The samtools docs are pretty clear:However, there is no mention of this setting in the bcftools docs:
The peculiar thing is that with bcftools (version 1.22-13-g458f97a1), setting
--max-depth 0paradoxically gives usDP~70 with a BAM of >10,000X depth, whereas inspecting the BAM or setting--max-depth 1000000gives the correctDP.It also appears that others are using
bcftools mpileup --max-depth 0, e.g. https://github.com/nf-core/viralrecon/blob/3731dd3a32a67a2648ea22c2bd980c224abdaee2/conf/modules_illumina.config#L405Thanks!