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. Definition at line 301 of file __init__.py. 00301 : """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. """ new_start = start  1 new_end = end return new_start, new_end class _FeatureConsumer(_BaseGenBankConsumer):
