Functional enrichment analyses revealed that HP may play a critical role in TB pathogenesis by regulating ferroptosis, immune responses, and lipid metabolism. This evidence concerns the gene HP and tuberculosis.