Then, a novel diagnostic model consisting of seven PRGs including CASP3, ELANE, GZMA, CASP4, CASP9, IL6 and TP63 for NASH was constructed with an area under the ROC curve (AUC) of 0.978 (CI 0.965–0.99). Here, IL6 is linked to metabolic dysfunction-associated steatohepatitis.