Production of fuels and chemicals from macroalgal biomass