Skip to content

Wrong calculation of minimum coverage? #207

@xsoleacha

Description

@xsoleacha

Hi,

I am using mosdepth v0.3.3 and I'm afraid I may not understand the calculation of the minimum coverage reported in the .mosdepth.summary.txt file. I am using a bed file with a single region of interest (1508 bp long), and mosdepth reports that the minimum coverage in this region of interest is 0:

chrom length bases mean min max
ID_CAR19_eF1A-WPRE 2442 21487006 8798.94 0 22234
ID_CAR19_eF1A-WPRE_region 1508 21465952 14234.72 0 22234
total 24422 1487006 8798.94 0 22234
total_region 1508 21465952 14234.72 0 22234

However, when I look at the .per-base.bed.gz flie there are no zeros in the region of interest specified in the BED file, from base 369 to 1876 (attached).

As I said, the BED file (zero-based) has a single region of interest and looks like this:

ID_CAR19_eF1A-WPRE 368 1876 CAR19 1 +

Is this an error or am I missing something?

Thanks!
LV_11.sorted.per-base.bed.gz

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions