def get_all_SpeciesID(pro_seq):
    """
    This function is used to get all the id from a fasta file
    :param pro_dir:
    :return:
    """

    # pro_input = "/home/luhongzhong/ortholog_343/protein_align_s2_R/OG1587_aa_aligned.fasta"
    # OG_test = list(SeqIO.parse(pro_dir, "fasta"))
    OG_test = pro_seq
    all_OG_ID = []
    for record in OG_test:
        # print(record.id)
        all_OG_ID.append(record.id)
    return all_OG_ID