Theoretical studies of DNA during gel electrophoresis