We identified six core genes (BCL7A, GPR18, GRB10, KLRG1, TDRD9, and THEM4), confirming their critical value in diagnosing depression. Here, BCL7A is linked to depressive disorder.