Based on the results of the ROC (validation set AUC value > 0.7) analysis in the current study, S100A12, TIGIT, SERPINB2, GRB10, and LHFPL2 may possess potential as diagnostic biomarkers of depression. This evidence concerns the gene S100A12 and major depressive disorder.