Genome Coordinates and Interval Arithmetic

One interval, written in both coordinate systems on the same picture. BED counts the gaps between bases from zero and leaves the end out; VCF, GFF and GRanges count the bases from one and keep both ends. Drag the handles or switch the notation: the numbers change and the interval does not.

Vibe-coded with ❤️ by Stephen Turner.

Changes the numbers, never the interval.
Presets

One interval, written two ways

A width-
B width-
Shared bases-
Result width-
Hits-

BED 0-based, half-open


            

GFF3 1-based, closed


            

GRanges 1-based, closed


            

findOverlaps Hits object


            

The same thing in R