Among these genes, expression levels of COL1A1, COL3A1, CTSK, MMP1, MMP7, POSTN, and SPP1 were positively correlated with IPF prognosis. Here, MMP1 is linked to idiopathic pulmonary fibrosis.