In conclusion, our study identified two genes showing transcriptomic alterations in depression subtypes associated with TRD: TMEM106B in anxious MDD and ATP2A1 in MDD with weight gain; both genes had previous evidence of involvement in psychiatric traits and also metabolic traits in the case of ATP2A1. Here, ATP2A1 is linked to depressive disorder.