BackgroundThe role of inflammation in the formation of idiopathic pulmonary fibrosis (IPF) has gained a lot of attention recently. However, the involvement of genes related to inflammation and immune exchange environment status in the prognosis of IPF remains to be further clarified. The objective of this research is to establish a new model for the prediction of the overall survival (OS) rate of inflammation-related IPF.MethodsGene Expression Omnibus (GEO) was employed to obtain the three expression microarrays of IPF, including two from alveolar lavage fluid cells and one from peripheral blood mononuclear cells. To construct the risk assessment model of inflammation-linked genes, least absolute shrinkage and selection operator (lasso), univariate cox and multivariate stepwise regression, and random forest method were used. The proportion of immune cell infiltration was evaluated by single sample Gene Set Enrichment Analysis (ssGSEA) algorithm.ResultsThe value of genes linked with inflammation in the prognosis of IPF was analyzed, and a four-genes risk model was constructed, including tpbg, Myc, ffar2, and CCL2. It was highlighted by Kaplan Meier (K-M) survival analysis that patients with high-risk scores had worse overall survival time in all training and validation sets, and univariate and multivariate analysis highlighted that it has the potential to act as an independent risk indicator for poor prognosis. ROC analysis showed that the prediction efficiency of 1-, 3-, and 5-year OS time in the training set reached 0.784, 0.835, and 0.921, respectively. Immune infiltration analysis showed that Myeloid-Derived Suppressor Cells (MDSC), macrophages, regulatory T cells, cd4+ t cells, neutrophils, and dendritic cells were more infiltrated in the high-risk group than in the low-risk group.ConclusionInflammation-related genes can be well used to evaluate the IPF prognosis and impart a new idea for the treatment and follow-up management of IPF patients.