@staticmethod
def bin_bkdist(distance):
    """
        Discretise genomic distances

        :param distance: float

        :return:

        """
    if distance == -1:
        bin_distance = 'diff. chr.'
    elif distance == 0:
        bin_distance = '0'
    elif 1 < distance < 10000.0:
        bin_distance = '1-10 kb'
    elif 10000.0 < distance < 100000.0:
        bin_distance = '10-100 kb'
    elif 100000.0 < distance < 1000000.0:
        bin_distance = '0.1-1 Mb'
    elif 1000000.0 < distance < 10000000.0:
        bin_distance = '1-10 Mb'
    else:
        bin_distance = '>10 Mb'
    return bin_distance
