gnomad-browser icon indicating copy to clipboard operation
gnomad-browser copied to clipboard

Region viewer cannot display one base pair regions

Open nawatts opened this issue 5 years ago • 1 comments

Example: https://gnomad.broadinstitute.org/region/16-2152636-2152636

Screen Shot 2019-07-22 at 14 26 14

Since region width is calculated as stop - start instead of stop - start + 1, one base pair regions cause divide by 0 errors.

nawatts avatar Jul 22 '19 18:07 nawatts

Related: #1027 fixed a bug that was indirectly related to this regarding how variants get filtered (keep all variants at end location, instead of just first one)

rileyhgrant avatar Nov 15 '22 16:11 rileyhgrant