The snapback primer assay is a reliable, sensitive method to detect the major mutant KRAS alleles, which might facilitate the effective cancer treatment decisions. Here, KRAS is linked to cancer.