Researchers have determined a way to predict and protect against new strains of the flu virus, in the hope of improving immunity against the disease.