Mutation in the KRAS gene was detected in 29% of patients with associated endometriosis. Here, KRAS is linked to endometriosis.