def get_alignment_pdb_chain(alignment):
    """
    Returns a string of the chain id, e.g. 'A', 'B', etc.
    :param alignment:
    :return:
    """
    pdb_chain_id = alignment.hit_def.encode('ascii').split()[0]
    chain = pdb_chain_id.split('_')[1].upper()
    return chain