HSPA12A knockout impairs AHN and causes depression and anxiety in mice. Here, HSPA12A is linked to depressive symptom measurement.