We use directed evolution and rational design of herbicide targets to identify mutations that confer herbicide resistance in crops. Our high-throughput platform can select gene variants and compare their efficiency in microorganisms anticipating their effect in crops.