def get_chunk_ids(list_of_sets):
    """ Extract all ids from list_of_sets.

    Args:
        list_of_sets (list): each set contains sample ids

    Returns:
        all_ids (list): all unique ids in list_of_sets

    """
    all_ids = []
    for s in list_of_sets:
        all_ids.extend(s)

    return list(set(all_ids))