You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scientific formats define locations for annotations as inclusive ranges of bp positions. Example given a 4 bp sequence, with cursor represented by '|':
|A|C|T|G|
1 2 3 4 5
A is at position 1
G is at position 4
Positions are 1-based. So if we were to refer to the whole sequence and annotate it,
then, start = 1 end = 4.
However, in terms of rendering, we're not only representing
until the cursor at base 4, but actually until the end of
it, which is actually the start of base 5. Hence we
offset all end positions by 1
The text was updated successfully, but these errors were encountered:
Scientific formats define locations for annotations as inclusive ranges of bp positions. Example given a 4 bp sequence, with cursor represented by '|':
|A|C|T|G|
1 2 3 4 5
Positions are 1-based. So if we were to refer to the whole sequence and annotate it,
then, start = 1 end = 4.
However, in terms of rendering, we're not only representing
until the cursor at base 4, but actually until the end of
it, which is actually the start of base 5. Hence we
offset all end positions by 1
The text was updated successfully, but these errors were encountered: