Researchers use dbSNP to identify and annotate SNPs in cancer genomes. By comparing the SNPs present in cancer tissues with those in normal tissues, they can pinpoint potential oncogenic mutations. This helps in understanding the molecular mechanisms of cancer and in discovering new biomarkers for diagnosis and prognosis.