Transketolase encoded by the TKT gene is an enzyme of both the pentose phosphate pathway in all organisms and the Calvin cycle of photosynthesis. It catalyzes two important reactions, which operate in opposite directions in these two pathways. In the first reaction of the non-oxidative pentose phosphate pathway, the cofactor thiamine diphosphate accepts a 2-carbon fragment from a 5-carbon ketose (D-xylulose-5-P), then transfers this fragment to a 5-carbon aldose (D-ribose-5-P) to form a 7-carbon ketose (sedoheptulose-7-P). The abstraction of two carbons from D-xylulose-5-P yields the 3-carbon aldose glyceraldehyde-3-P. In the Calvin cycle, transketolase catalyzes the reverse reaction, the conversion of sedoheptulose-7-P and glyceraldehyde-3-P to pentoses, the aldose D-ribose-5-P and the ketose D-xylulose-5-P.