Researchers crack the synthetic code of rare molecules sought after in drug development