We found that in the TCGA and GEO databases, PRGs have significant prognostic predictive ability, and the expressions of CASP8, CHMP4C, HMGB1, GSDMB, GSDMC, ELANE, NLRP7, and other genes in prostate cancer have a significant correlation with the BCR, Also, subtype A has a better BCR-free survival rate, and it was found that the two subtypes have significant immune activation and related immune pathways are activated. This evidence concerns the gene NLRP7 and prostate carcinoma.