A powerful new way of analysing how drugs interact with molecules in the body could aid the design of better treatments with fewer side-effects.