Skip to content

Are duplicates counted by samtools depth and mpileup? #607

@abalter

Description

@abalter

I'm seeing a number of forum posts claiming that samtools depth ignores duplicates. However, there is nothing about this in the documentation.

  1. Are duplicates counted?
  2. Does it matter if the bam file has the duplicates marked (e.g. by Picard markdups).

References

https://www.biostars.org/p/195497/

https://www.biostars.org/p/60841/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions