Higher order QCD effects in inclusive annihilation and deep inelastic scattering