Gastric cancer is a heterogeneous disease with diverse molecular and histological subtypes. We performed whole-genome sequencing in 100 tumor-normal pairs, along with DNA copy number, gene expression and methylation profiling, for integrative genomic analysis. We found subtype-specific genetic and epigenetic perturbations and unique mutational signatures. We identified previously known (TP53, ARID1A and CDH1) and new (MUC6, CTNNA2, GLI3, RNF43 and others) significantly mutated driver genes. Specifically, we found RHOA mutations in 14.3% of diffuse-type tumors but not in intestinal-type tumors (P < 0.001). The mutations clustered in recurrent hotspots affecting functional domains and caused defective RHOA signaling, promoting escape from anoikis in organoid cultures. The top perturbed pathways in gastric cancer included adherens junction and focal adhesion, in which RHOA and other mutated genes we identified participate as key players. These findings illustrate a multidimensional and comprehensive genomic landscape that highlights the molecular complexity of gastric cancer and provides a road map to facilitate genome-guided personalized therapy.