Megan Justice
01/21/2026, 9:26 PMMegan Justice
01/21/2026, 10:20 PMAlexander Nater
01/22/2026, 4:22 PM*.mosdepth.global.dist.txt in the Mosdepth output.Thomas Danhorn
01/22/2026, 4:49 PMsamtools tends to be take the simplest possible approach, e.g. samtools view -c counts basically the lines in the SAM/BAM -- it does not care about read pairs or multimappers, so if you wanted to count fragments, you would have to apply various filters or other tricks to avoid double-counting. I would expect MosDepth to be more sophisticated and "intelligent".Megan Justice
01/22/2026, 4:56 PM*.mosdepth.global.dist.txt isn't helpful here because I don't have a defined regions file, so it is passing in whole chromosomes and reporting 0x coverage for each.
The more I think about this and how MosDepth works, I think it's reflecting the amount of unique/nonduplicated genome coverage per sample. I did some investigating to see what other correlations I could find in the general stats, and found that if I plot Unique Reads (Total Reads - Duplicates) vs SNPs discovered, I see a positive correlation, similar to what I saw with the MosDepth coverage (scatterplot attached).
I think I will try to investigate the output .cram files from markduplicates to see how much genomic space is covered. Do you think that's a good idea?Alexander Nater
01/22/2026, 4:58 PMAlexander Nater
01/22/2026, 5:01 PMAlexander Nater
01/22/2026, 5:02 PMMegan Justice
01/22/2026, 5:04 PMAlexander Nater
01/22/2026, 5:09 PMMegan Justice
01/22/2026, 5:14 PMThomas Danhorn
01/23/2026, 6:41 AM*.per-base.bed.gz files have the exact coverage (as determined by mosdepth with its filtering criteria), and you can intersect this with any regions of interest (e.g. WES targets), if you want, and you can also define a coverage threshold (1x, 5x, 10x, ...) and calculate the fraction of the genome covered at this level. If there is another file that already has numbers that you think are the metric you want, you may still want to verify that from the raw data in *.per-base.bed.gz.