Through colocalization analysis, we found that increased expression of CD274 (OR 0.77, 95% CI 0.67–0.89; PPH4 = 0.875) and FCGR2A (OR 0.90, 95% CI 0.88–0.92; PPH4 = 0.982) reduced the risk of IBD; meanwhile, FCGR2A (OR 0.88, 95% CI 0.85–0.90) also had a protective effect against UC (Figure 3). The gene discussed is CD274; the disease is inflammatory bowel disease.