def get_uniprot_secondaries(uniprot_result):
    """
    Get secondary accession identifiers from UniProt text result
    :param uniprot_result:
    :return:
    """
    accession_lines = [l for l in uniprot_result.split('\n') if l.startswith('AC')]
    secondaries = []
    for ac_line in accession_lines:
        secondaries += ['UniProt:{}'.format(uid[:-1]) for uid in ac_line.split()[1:]]
    return secondaries