def nearest_start(s, od, flank=1):
    """nearest start in ORF dict from s
  """
    if s in od:
        return s
    for i in range(1, flank + 1):
        if s + i in od:
            return s + i
        if s - i in od:
            return s - i
    return None
