Therefore, the combination of TRF396 and the gene OR2B6 may be a contributor to the pathogenesis of endometriosis, which provides a direction for future research. Here, OR2B6 is linked to endometriosis.