Through univariate Cox and LASSO regression, three key genes (PDLIM7, CFAP45, and HP) were selected, and a prognostic risk model for IPF patients was constructed based on these three genes. The gene discussed is CFAP45; the disease is idiopathic pulmonary fibrosis.