This finding revealed protective potential of these two genetic variations in MUC2 against infertility in endometriosis patients. Here, MUC2 is linked to endometriosis.