The absence of D-alanine from lipoteichoic acid and wall teichoic acid alters surface charge, enhances autolysis and increases susceptibility to methicillin in Bacillus subtilis.