We identified 4 DETGs including TRIM7, MEFV, TRIM45 and TRIM47 significantly associated with overall survival (OS) of IPF patients (P < 0.05). Here, TRIM45 is linked to idiopathic pulmonary fibrosis.