Modular Riboswitch Diagnostics