Encoding zero-length features in BED format
1
0
Entering edit mode
5.6 years ago

What is the convention for encoding zero-length features (that is, features between two nucleotides) in BED format? Would I use [0, 0) or [1, 1) to describe the site between the 0th base and 1st base?

bed genome coordinates • 1.4k views
4
Entering edit mode
5.6 years ago

1,1 is the space between the 0th and 1st base in zero-based coordinates

0   1   2   3   4  zero-based coords
A   C   T   G    bases
1   2   3   4    one-based coords