Also described is a system for producing cannabinoids and cannabinoid analogs by contacting a THCA synthase with a cannabinoid precursor and modifying at least one property of the reaction mixture to influence the quantity formed of a first cannabinoid relative to the quantity formed of a second cannabinoid.