Despite the small cohort analyzed in this study, the results indicated that the proposed method is able to identify metabolites associated with different malignancy grades of glioma, as well as IDH and 1p19q codeletion mutations. This evidence concerns the gene IDH2 and central nervous system cancer.