Hello,
I deduplicated a BAM file using umitools.
Before i had : 98186207
after deduplication, I obtain : 58930293
so the ratio is before/after = 1.6
When I calculate the coverage by BED feature before and after dedup, I obtain a ratio of 6 !
I don't understand this difference betwen the coverage and the read number
1 answer
Depending on how you are doing your deduplication, this could be due to your deduplicated reads being concentrated in your BED features. For example, if this were RNAseq, you find, that on average only 1/2 to 2/3 of your reads will map to annotated transcripted regions, with the rest being intronic reads, transcript-noise, DNA contamination etc. The signal is much higher in genes, but the non-geneic reads still account for a large fraction of the whole. If reads in genes are more highly duplicated then you will see a bigger change in the genic regions than outside them.
Also remember that if your data is pair, UMI-Tools will report the number of pairs input, but if your pairs are overlapping, then they will contribute 2 to the coverage.
Log in to answer this question.
You should add how exactly you calculated things (command lines).