Opportunistic infection and CD4 cell count were associated with prevalence of anemia before HAART initiation. This evidence concerns the gene CD4 and anemia (phenotype).