People born with certain mutations in the gene BRCA1 have a higher risk of developing cancer than people with two normal BRCA1 alleles. A genetic test can ascertain whether a person carries any of the BRCA1 high-risk alleles.