Kaplan–Meier method was used for survival analysis of lung cancer related factors, univariate analysis indicated that patients with age greater than 60 years of age, smoking history, T stage, lymph nodes metastasis, invasion, size, and CK7 expressions had relatively poorer survival outcomes, comparison results were statistically significant (all P<0.05). The gene discussed is KRT7; the disease is lung cancer.