def read_chrom_sizes(sizesFile):
    """get chromosome size information from chromosome sizes file"""
    out = {}
    f = open(sizesFile,'r')
    for line in f:
        keys = line.rstrip("\n").split("\t")
        out[keys[0]] = int(keys[1])
    return out