d-Forosamine is a 4-N,N-(dimethylamino)-2,3,4,6-tetradeoxy-alpha-d-threo-hexopyranose found in spinosyn produced by Saccharopolyspora spinosa. Studies of spinosyn biosynthesis in S. spinosa led to the isolation of the entire biosynthetic gene cluster. Heterologous expression of spnR, one putative gene in forosamine biosynthesis, in E. coli and purification of the SpnR protein identified it as an aminotransferase catalyzing the conversion of the 4-keto-2,3,6-trideoxy sugar intermediate to the corresponding 4-amino sugar product. Identification of SpnR function relied on the use of a stable TMP-phosphonate sugar in place of TDP-sugar substrate to determine the function of SpnR. This strategy may find general applicability for designing probes to study enzymes which catalyze the transformation of labile deoxysugar intermediates.