The cytotoxic effects of ATP on macrophages are through P2X7R, while the bactericidal actions of ATP (and UTP) may be though P2Y2R. There is a valuable article about purinergic signalling in infection and autoimmune diseases (Savio and Coutinho-Silva, 2016). The gene discussed is P2RY2; the disease is infection.