These findings suggest that SHMT2 and CADM4 play opposing context-dependent roles in cancer progression. Here, SHMT2 is linked to cancer.