Cells were analysed at indicated times after infection. Action potentials (APs) were recorded with current-clamp whole-cell configuration. The pipette solution for current clamp experiments contained (in mM) 123 K-gluconate, 10 KCl, 1 MgCl2, 10 HEPES, 1 EGTA, 0.1 CaCl2, 1 K2ATP, 0.2 Na4GTP, and 4 glucose, pH adjusted to 7.2 with KOH. Membrane potentials were kept around −65 to −70 mV, and step currents were injected to elicit action potentials. Whole-cell currents including sodium currents, potassium currents were recorded at a holding potential of −70 mV, voltage steps ranging from −80 mV to +90 mV were delivered at 10 mV increments. Synaptic responses were measured as described previously36,37. For immunofluorescence experiments, cells were fixed in 4% paraformaldehyde in PBS for 10 minutes. Antibodies were diluted to indicated concentrations (see supplementary methods).