The hub genes S100A9 and MYH2 in COPD and NASH were identified by various bioinformatics methods and a diagnostic model was constructed to improve the diagnostic efficiency. Here, S100A9 is linked to chronic obstructive pulmonary disease.