HLA-DQA1 and endometriosis: We found the levels of corresponding functions genes were elevated in endometriosis groups compared to control groups (Fig. 5d), including VEGF (1.633 ± 0.308 vs. 0.765 ± 0.149, P = 0.0258), TGFB1 (1.277 ± 0.127 vs. 0.830 ± 0.115, P = 0.0192), HLA-DQA (4.304 ± 0.657 vs. 2.613 ± 0.339, P = 0.0410) and SPPI (4.896 ± 1.239 vs. 1.334 ± 0.422, P = 0.0187).These findings indicated that macrophages mainly had deficient ability for phagocytosis in endometriosis, which may be responsible for the incomplete clearance of refluxed menstrual debris.