TLR2 is necessary in pneumococcal infection because it recognizes bacterial cell wall constituents. This evidence concerns the gene TLR2 and pneumococcal infection.