Detecting bacterial regulatory elements