Next-generation sequencing (NGS) has shown that endometriosis and adenomyosis involve genetic alterations such as KRAS, PIK3CA, PPP2R1A and ARID1A. Here, KRAS is linked to endometriosis.