Scientists have identified an immunity gene variant in people with strong responses to COVID-19 vaccines who were less likely to get breakthrough infections.