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. This evidence concerns the gene S100A9 and metabolic dysfunction-associated steatohepatitis.