def return_two_list(filename):
    """
    Given a file with position reads, returns two lists with those values in order to easy plot them
    """
    positions_list = []
    reads_list = []

    with open(filename, 'r') as fi:
        for line in fi:
            line = line.strip().split()
            position = int(line[0])
            reads = float(line[1])
            positions_list.append(position)
            try:
                if line[2] == '2':
                    reads_list.append(reads)
            except:
                reads_list.append(reads)

    return positions_list, reads_list