_convert_to_python_numbers (
self,
start,
end,
)
Convert a start and end range to python notation.
In GenBank, starts and ends are defined in "biological" coordinates,
where 1 is the first base and [i, j] means to include both i and j.
In python, 0 is the first base and [i, j] means to include i, but
not j.
So, to convert "biological" to python coordinates, we need to
subtract 1 from the start, and leave the end and things should
be converted happily.
|