The invention provides a gene transfer vector comprising a humanized nucleic acid sequence encoding an immunogenic portion of one or more exotoxins of Bacillus anthracis and a heterologous sorting signal. The invention also provides a method of producing an immune response against Bacillus anthracis in a host comprising administering to the host the gene transfer vector.