Evolution of mosaic operons by horizontal gene transfer and gene displacement in situ