We use the algorithm for breast cancer related to BRCA1 and BRCA2 mutations, but it can be easily applied to other cancers, provided the penetrance functions of the genes involved are known. Here, BRCA2 is linked to breast cancer.