Heterologous coexpression of Vitreoscilla hemoglobin and Bacillus megaterium glucanase in Streptomyces lydicus A02 enhanced its production of antifungal metabolites.