After adjusting for covariates, older age, male sex, history of TB, diabetes, chronic heart disease, malignancy, systemic immunosuppression, chronic liver disease, presence of cavity, consolidative radiologic feature, AFB smear positivity, hypoalbuminemia, anemia, increasing platelet count, high CRP, and high ESR were significantly associated with increased all-cause mortality, while increasing BMI, hemoptysis, and treatment with rifamycin regimen (in M. xenopi) were significantly associated with decreased all-cause mortality. The gene discussed is CRP; the disease is anemia (phenotype).