Autophosphorylation of a bacterial protein at tyrosine.