brentp / mosdepth

fast BAM/CRAM depth calculation for WGS, exome, or targeted sequencing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Exclusion of reads with -F flag

aklein-705 opened this issue · comments

I see the default for the F flag option has a default value of 1796. I was wondering if when excluding the PCR or optical duplicates, does mosdepth retain one of these duplicates that is then used in the coverage calculation? Or all all of them excluded? Thank you!

mosdepth will exclude anything marked with the given flag(s). Usually, the software that mark duplicates will leave a single read or template that is not marked.

Thanks so much for the quick reply!