Dissecting the role of heterogeneity and hydrothermal pretreatment of sugarcane bagasse in metabolic pathways for biofuels production