def get_positions(file_n):
    """
    :param file_n: (string) file name
    :return: (dict) key = READS id, value = (start, end) genome positions of the READs
    """
    poses = {}
    f = open(file_n, "r")
    for line in f:
        line = line.strip().split("\t")
        if len(line) == 7:
            pos = line[4].strip("()").split(",")
            poses[line[0]] = (int(pos[0]), int(pos[1][1:]))
    return poses