def get_annot_split_names(ancestries, dictout, n_annot=25, suffix_incl=True):
    """ Returns names of annotation files.

    Parameters
    ----------
    ancestries: `list`
    List of ancestries to include

    dictout: `bool`
    If the output should be a dictionary indexed on ancestries.
    """
    file_base = f'pananc_31063_pcgc_{str(n_annot)}LDMS_annotations'
    suffix = '.txt.bgz' if suffix_incl else ''
    if dictout:
        out = {anc: anc + '_' + file_base + suffix for anc in ancestries}
    else:
        out = [anc + '_' + file_base + suffix for anc in ancestries]

    return out