Recent years have seen dramatic advances in both experimental determination and computational prediction of macromolecular structures. These structures hold great promise for the discovery of highly effective drugs with minimal side effects, but structure-based design of such drugs remains challenging. I will describe recent progress toward this goal, using both atomic-level molecular simulations and machine learning on three-dimensional structures.