def find_donor_info (res_type,atom,donorsInfo):
    """ Find the donor information for a given atom """
    for donorInfo in donorsInfo:
        if (donorInfo['atomName'] == atom.atom_type and
            (res_type == donorInfo['aminoAcidName'] or donorInfo['aminoAcidName'] == '*')):
            return donorInfo
    return None