def get_key_value_list(lines):
    """
    Split lines at the first space.
    :param lines: lines from trackhub file
    :return: [(name, value)] where name is before first space and value is after first space
    """
    result = []
    for line in lines:
        line = line.strip()
        if line:
            parts = line.split(" ", 1)
            name = parts[0]
            value = parts[1]
            result.append((name, value))
    return result