History shows genes may protect against virus