def find_proton_info (res_type,atom,protonsInfo):
    """ Find the proton information for a given atom and residue """
    for protonInfo in protonsInfo:
        atom_type = atom.atom_type
        if (protonInfo['atomName'] == atom_type and
            (res_type == protonInfo['aminoAcidName'] or protonInfo['aminoAcidName'] == '*')):
            return protonInfo
    return None