The analgesic effect of opioids results from Gi signaling of the μ-opioid receptor, while side effects, including respiratory depression and constipation, may be conferred via the β-arrestin pathway. The gene discussed is GNAI1; the disease is Respiratory insufficiency due to muscle weakness.