def get_tabix_records(tabix_reader, chrom, start):
    """Get the tabix records for some given coordinates
    
    Args:
        tabix_reader (Tabix.reader): A Tabix object
        chrom (str): The chromosome of the position
        start (str): The start position of the variant
        alt (str): The alternative sequence
    
    Returns:
        records (Iterable): The overlapping records found
    """
    records = []
    logger.debug("Looking for record in %s" % (tabix_reader))
    logger.debug((chrom, start) % "Looking for records with chr:%s, pos:%s")
    tabix_key = int(start)
    try:
        records = tabix_reader.query(chrom, tabix_key-1, tabix_key)
    except TypeError:            
        records = tabix_reader.query(str(chrom), tabix_key-1, tabix_key)
    except TabixError:
        logger.warning("Chromosome {0} does not seem to exist in {1}".format(
            chrom, tabix_reader))
    except:
        pass
    
    return records
dataset/ETHPy150Open moonso/genmod/genmod/annotate_variants/read_tabix_files.py/get_tabix_records/swapped operands of `%`