Skip to content

mpileup --max-depth 0? #2435

Description

@schorlton-bugseq

Hi! We were wondering what mpileup --max-depth 0 does? The samtools docs are pretty clear:

Image

However, there is no mention of this setting in the bcftools docs:

Image

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions