We discovered that a large subset of cancers of unknown primary (>10%) have SMARCA4 deficiency and that these cancers can be accurately predicted from their whole-genome accumulation of SBS signature 4 or SBS signature 27 mutations. This evidence concerns the gene SMARCA4 and cancer.