Clostridium difficile infection (CDI) is a leading hospital-acquired infection and a major cause of antibiotic-associated diarrhea.