1 Lord, J. A. H., Waterfield, A. A., Hughes, J. & Kosterlitz, H. W. Endogenous opioid peptides: multiple agonists and receptors. Nature 267, 495–499 (1977)

2 Martin, W. R., Eades, C. G., Thompson, J. A., Huppler, R. E. & Gilbert, P. E. The effects of morphine- and nalorphine-like drugs in the nondependent and morphine-dependent chronic spinal dog. J. Pharmacol. Exp. Ther . 197, 517–532 (1976)

3 Hughes, J. et al. Identification of two related pentapeptides from the brain with potent opiate agonist activity. Nature 258, 577–580 (1975)

4 Bohn, L. M., Gainetdinov, R. R., Lin, F.-T., Lefkowitz, R. J. & Caron, M. G. μ-opioid receptor desensitization by β-arrestin-2 determines morphine tolerance but not dependence. Nature 408, 720–723 (2000)

5 Bohn, L. M. et al. Enhanced morphine analgesia in mice lacking β-arrestin 2. Science 286, 2495–2498 (1999)

6 Raehal, K. M., Walker, J. K. & Bohn, L. M. Morphine side effects in β-arrestin 2 knockout mice. J. Pharmacol. Exp. Ther. 314, 1195–1201 (2005)

7 DeWire, S. M. et al. A G protein-biased ligand at the μ-opioid receptor is potently analgesic with reduced gastrointestinal and respiratory dysfunction compared with morphine. J. Pharmacol. Exp. Ther. 344, 708–717 (2013)

8 Soergel, D. G. et al. Biased agonism of the μ-opioid receptor by TRV130 increases analgesia and reduces on-target adverse effects versus morphine: a randomized, double-blind, placebo-controlled, crossover study in healthy volunteers. Pain 155, 1829–1835 (2014)

9 Manglik, A. et al. Crystal structure of the μ-opioid receptor bound to a morphinan antagonist. Nature 485, 321–326 (2012)

10 Granier, S. et al. Structure of the δ-opioid receptor bound to naltrindole. Nature 485, 400–404 (2012)

11 Wu, H. et al. Structure of the human κ-opioid receptor in complex with JDTic. Nature 485, 327–332 (2012)

12 Thompson, A. A. et al. Structure of the nociceptin/orphanin FQ receptor in complex with a peptide mimetic. Nature 485, 395–399 (2012)

13 Carlsson, J. et al. Ligand discovery from a dopamine D3 receptor homology model and crystal structure. Nat. Chem. Biol. 7, 769–778 (2011)

14 de Graaf, C. et al. Crystal structure-based virtual screening for fragment-like ligands of the human histamine H1 receptor. J. Med. Chem. 54, 8195–8206 (2011)

15 Katritch, V. et al. Structure-based discovery of novel chemotypes for adenosine A2A receptor antagonists. J. Med. Chem. 53, 1799–1809 (2010)

16 Kolb, P. et al. Structure-based discovery of β2-adrenergic receptor ligands. Proc. Natl Acad. Sci. USA 106, 6843–6848 (2009)

17 Langmead, C. J. et al. Identification of novel adenosine A2A receptor antagonists by virtual screening. J. Med. Chem. 55, 1904–1909 (2012)

18 Powers, R. A., Morandi, F. & Shoichet, B. K. Structure-based discovery of a novel, noncovalent inhibitor of AmpC β-lactamase. Structure 10, 1013–1023 (2002)

19 Huang, X. P. et al. Allosteric ligands for the pharmacologically dark receptors GPR68 and GPR65. Nature 527, 477–483 (2015)

20 Irwin, J. J., Sterling, T., Mysinger, M. M., Bolstad, E. S. & Coleman, R. G. ZINC: a free tool to discover chemistry for biology. J. Chem. Inf. Model. 52, 1757–1768 (2012)

21 Mysinger, M. M. & Shoichet, B. K. Rapid context-dependent ligand desolvation in molecular docking. J. Chem. Inf. Model. 50, 1561–1573 (2010)

22 Mysinger, M. M. et al. Structure-based ligand discovery for the protein–protein interface of chemokine receptor CXCR4. Proc. Natl Acad. Sci. USA 109, 5517–5522 (2012)

23 Negri, A. et al. Discovery of a novel selective kappa-opioid receptor agonist using crystal structure-based virtual screening. J. Chem. Inf. Model. 53, 521–526 (2013)

24 Ballesteros, J. A. & Weinstein, H. Integrated methods for the construction of three-dimensional models and computational probing of structure-function relations in G protein-coupled receptors. Methods in Neurosciences 25, 366–428 (1995)

25 Gaulton, A. et al. ChEMBL: a large-scale bioactivity database for drug discovery. Nucleic Acids Res . 40, D1100–D1107 (2012)

26 Muchmore, S. W. et al. Application of belief theory to similarity data fusion for use in analog searching and lead hopping. J. Chem. Inf. Model. 48, 941–948 (2008)

27 Pasternak, G. W. & Pan, Y.-X. μ opioids and their receptors: evolution of a concept. Pharmacol. Rev. 65, 1257–1317 (2013)

28 Fenalti, G. et al. Structural basis for bifunctional peptide recognition at human δ-opioid receptor. Nat. Struct. Mol. Biol. 22, 265–268 (2015)

29 Huang, W. et al. Structural insights into μ-opioid receptor activation. Nature 524, 315–321 (2015)

30 Kroeze, W. K. et al. PRESTO-Tango as an open-source resource for interrogation of the druggable human GPCRome. Nat. Struct. Mol. Biol. 22, 362–369 (2015)

31 Kenakin, T. & Christopoulos, A. Signalling bias in new drug discovery: detection, quantification and therapeutic impact. Nat. Rev. Drug Discov. 12, 205–216 (2013)

32 Nickolls, S. A., Humphreys, S., Clark, M. & McMurray, G. Co-expression of GRK2 reveals a novel conformational state of the μ-opioid receptor. PLoS One 8, e83691 (2013)

33 Groer, C. E. et al. An opioid agonist that does not induce μ-opioid receptor–arrestin interactions or receptor internalization. Mol. Pharmacol. 71, 549–557 (2007)

34 Le Bars, D., Gozariu, M. & Cadden, S. W . Animal models of nociception. Pharmacol. Rev . 53, 597–652 (2001)

35 Li, C. et al. μ opioid receptor modulation of dopamine neurons in the periaqueductal gray/dorsal raphe: a role in regulation of pain. Neuropsychopharmacology 41, 2122–2132 (2016)

36 Han, S., Soleiman, M. T., Soden, M. E., Zweifel, L. S. & Palmiter, R. D. Elucidating an affective pain circuit that creates a threat memory. Cell 162, 363–374 (2015)

37 Gogas, K. R., Presley, R. W., Levine, J. D. & Basbaum, A. I. The antinociceptive action of supraspinal opioids results from an increase in descending inhibitory control: correlation of nociceptive behavior and c-fos expression. Neuroscience 42, 617–628 (1991)

38 Montandon, G. et al. G-protein-gated inwardly rectifying potassium channels modulate respiratory depression by opioids. Anesthesiology 124, 641–650 (2016)

39 Spanagel, R., Herz, A. & Shippenberg, T. S. Opposing tonically active endogenous opioid systems modulate the mesolimbic dopaminergic pathway. Proc. Natl Acad. Sci. USA 89, 2046–2050 (1992)

40 Bohn, L. M. et al. Enhanced rewarding properties of morphine, but not cocaine, in β(arrestin)-2 knock-out mice. J. Neurosci . 23, 10265–10273 (2003)

41 Tzschentke, T. M. Measuring reward with the conditioned place preference paradigm: a comprehensive review of drug effects, recent progress and new issues. Prog. Neurobiol. 56, 613–672 (1998)

42 Weiss, D. R. et al. Conformation guides molecular efficacy in docking screens of activated β-2 adrenergic G protein coupled receptor. ACS Chem. Biol. 8, 1018–1026 (2013)

43 Carlsson, J. et al. Structure-based discovery of A2A adenosine receptor ligands. J. Med. Chem. 53, 3748–3755 (2010)

44 Irwin, J. J. et al. Automated docking screens: a feasibility study. J. Med. Chem. 52, 5712–5720 (2009)

45 Besnard, J. et al. Automated design of ligands to polypharmacological profiles. Nature 492, 215–220 (2012)

46 Weichert, D. et al. Covalent agonists for studying G protein-coupled receptor activation. Proc. Natl Acad. Sci. USA 111, 10744–10748 (2014)

47 Möller, D. et al. Functionally selective dopamine D2, D3 receptor partial agonists. J. Med. Chem. 57, 4861–4875 (2014)

48 Hübner, H., Haubmann, C., Utz, W. & Gmeiner, P. Conjugated enynes as nonaromatic catechol bioisosteres: synthesis, binding experiments, and computational studies of novel dopamine receptor agonists recognizing preferentially the D3 subtype. J. Med. Chem. 43, 756–762 (2000)

49 Lane, J. R., Powney, B., Wise, A., Rees, S. & Milligan, G. G protein coupling and ligand selectivity of the D2L and D3 dopamine receptors. J. Pharmacol. Exp. Ther. 325, 319–330 (2008)

50 Jiang, L. I. et al. Use of a cAMP BRET sensor to characterize a novel regulation of cAMP by the sphingosine 1-phosphate/G13 pathway. J. Biol. Chem. 282, 10576–10584 (2007)

51 Nakajima, K.-i., Gimenez, L. D., Gurevich, V. & Wess, J. in Designer Receptors Exclusively Activated by Designer Drugs Vol. 108 Neuromethods (ed Thiel, G. ) Ch. 2, 29–48 (Springer New York, 2015)

52 Rajagopal, S. et al. Quantifying ligand bias at seven-transmembrane receptors. Mol. Pharmacol. 80, 367–377 (2011)

53 Rajagopal, S. Quantifying biased agonism: understanding the links between affinity and efficacy. Nat. Rev. Drug Discov. 12, 483 (2013)

54 Huang, X.-P., Mangano, T., Hufeisen, S., Setola, V. & Roth, B. L. Identification of human Ether-à-go-go related gene modulators by three screening platforms in an academic drug-discovery setting. Assay Drug Dev. Technol. 8, 727–742 (2010)

55 Balter, R. E. & Dykstra, L. A. Thermal sensitivity as a measure of spontaneous morphine withdrawal in mice. J. Pharmacol. Toxicol. Methods 67, 162–168 (2013)

56 Sorge, R. E. et al. Olfactory exposure to males, including men, causes stress and related analgesia in rodents. Nat. Methods 11, 629–632 (2014)

57 Woolf, C. J. Long term alterations in the excitability of the flexion reflex produced by peripheral tissue injury in the chronic decerebrate rat. Pain 18, 325–343 (1984)

58 Blanchard, R. J. & Blanchard, D. C. Passive and active reactions to fear-eliciting stimuli. J. Comp. Physiol. Psychol. 68, 129–135 (1969)

59 Bolles, R. C. Species-specific defense reactions and avoidance learning. Psychol. Rev. 77, 32 (1970)

60 Bolles, R. C. & Fanselow, M. S. A perceptual-defensive-recuperative model of fear and pain. Behav. Brain Sci. 3, 291–301 (1980)

61 Estes, W. K. Discriminative conditioning; effects of a Pavlovian conditioned stimulus upon a subsequently established operant response. J. Exp. Psychol. 38, 173–177 (1948)

62 Estes, W. K. & Skinner, B. F. Some quantitative properties of anxiety. J. Exp. Psychol. 29, 390 (1941)

63 Rescorla, R. A. & Lolordo, V. M. Inhibition of avoidance behavior. J. Comp. Physiol. Psychol. 59, 406–412 (1965)

64 Skinner, B. F. The behavior of organisms; an experimental analysis . (D. Appleton-Century Company, Incorporated, 1938)

65 Hunskaar, S. & Hole, K. The formalin test in mice: dissociation between inflammatory and non-inflammatory pain. Pain 30, 103–114 (1987)

66 Clougherty, J. E. et al. Chronic social stress and susceptibility to concentrated ambient fine particles in rats. Environ. Health Perspect. 118, 769–775 (2010)

67 Sanberg, P. R., Bunsey, M. D., Giordano, M. & Norman, A. B. The catalepsy test: its ups and downs. Behav. Neurosci. 102, 748–759 (1988)

68 Hiller, C. et al. Functionally selective dopamine D2/D3 receptor agonists comprising an enyne moiety. J. Med. Chem. 56, 5130–5141 (2013)

69 Case, D. et al. AMBER 15. San Francisco, CA: University of California (2015)

70 Goetz, A., Lanig, H., Gmeiner, P. & Clark, T. Molecular dynamics simulations of the effect of the G-protein and diffusible ligands on the β2-adrenergic receptor. J. Mol. Biol. 414, 611–623 (2011)

71 Wang, J., Wolf, R. M., Caldwell, J. W., Kollman, P. A. & Case, D. A. Development and testing of a general amber force field. J. Comput. Chem. 25, 1157–1174 (2004)

72 Hornak, V. et al. Comparison of multiple amber force fields and development of improved protein backbone parameters. Proteins 65, 712–725 (2006)

73 Bayly, C. I., Cieplak, P., Cornell, W. & Kollman, P. A. A well-behaved electrostatic potential based method using charge restraints for deriving atomic charges: the RESP model. J. Phys. Chem. 97, 10269–10280 (1993)

74 Berendsen, H., Grigera, J. & Straatsma, T. The missing term in effective pair potentials. J. Phys. Chem. 91, 6269–6271 (1987)