AIF1 and viral infectious disease: Using commercially available deep learning tools, we developed a method for quantifying Iba1+ microglia morphology, which we validated at or above human performance, and adapted to analyze microglia functional state in mouse models for viral infections and αSyn aggregation.