The results show that expression of ELANE, PRKACA, CASP3, CASP9 and CASP6 was related to the efficacy of various anticancer drugs, indicating that pyroptosis genes may participate in pan‐cancer signalling pathways and affect the efficacy of anticancer drugs. This evidence concerns the gene CASP6 and cancer.