Biochemical and genetic consequences of gene transfer from endosymbiont to host genome