lathosterol+NAD(P)H+O2->7-dehydro-cholesterol+NAD(P)++H2O