Molecular characterization of the evolution of phagosomes