Coexisting YAP expression and TP53 missense mutations delineates a molecular scenario unexpectedly associated with better survival outcomes in advanced gastric cancer. Here, TP53 is linked to gastric cancer.