We disclose a method of obtaining a polyepitopic protein, a DNA vector for the embodiment of the method as well as polyepitopic proteins fused with macromolecular carriers. The proteins obtained according to the present invention are in a number of uses, in particular when used in the production of improved vaccines.