HP oligosaccharides shorter than 6-mer did not inhibit infection, indicating that a length of at least 6-mer is required for HP oligosaccharides to significantly inhibit S. pneumoniae corneal infection. The gene discussed is HP; the disease is corneal infection.