Our results showed that neutrophils, monocytes, CD4+ T cells, CD8+ T cells, NK cells, and B cells were the most abundant immune cells within both DM–TB and DM groups. This evidence concerns the gene CD8A and tuberculosis.