To identify T1D-associated genes that are required for antiviral immunity, we developed an image-based high-throughput assay to measure the contribution of individual genes to IFNγ-mediated inhibition of viral infection. Here, IFNG is linked to type 1 diabetes mellitus.