Mice lacking the autophagy gene Atg7 in T cells failed to establish CD8+ T cell memory to influenza and MCMV infection. This evidence concerns the gene ATG7 and influenza.