Researchers discover gene that protects brain from herpes