Nutritional risk (OR=2.888) and HbA1c showed positive associations (P<0.001), while duration of HIV infection, albumin, and CD4+ T cell counts demonstrated negative associations with infection risk (P<0.05). This evidence concerns the gene CD4 and infection.