@staticmethod
def _find_search_interval(variant_record):
    """Given a variant, find an appropriate search interval, based on variant length"""
    length_prop = 0.1
    if variant_record.INFO.get('END'):
        variant_length = variant_record.INFO['END'] - variant_record.POS
    elif variant_record.INFO.get('SVLEN'):
        variant_length = abs(variant_record.INFO['SVLEN'])
    else:
        variant_length = 0
    interval = round(variant_length * length_prop)
    if interval > 3000:
        interval = 3000
    return interval
