We generated mutant and knockdown zebrafish for two selective autophagy receptors, Optineurin and p62, and found that these have reduced anti-bacterial autophagy and are more susceptible to infection. The gene discussed is OPTN; the disease is infection.