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