Therefore, it is evident that ELAVL1 and YTHDC2 genes may be associated with the m6A methylation process in MDD through virus infection pathways. Here, YTHDC2 is linked to major depressive disorder.