Bisphosphonates were the most commonly taken drugs for the treatment for osteoporosis in both groups, followed by selective estrogen receptor modulators, denosumab, and teriparatide. The gene discussed is ESR1; the disease is osteoporosis.