the invention provides methods for treating or inhibiting infection by clostridium difficile in a subject in need of such treatment , comprising administering an effective amount of a compound binding to a cd3299 riboswitch , as well as assays for identifying compounds useful in such treatment , and the use of particular compounds in such treatment .