Scientists have found an ingredient that makes a vaccine more effective through an approach more often seen in materials science — testing molecules that self-assemble into larger structures.