The phosphate backbone of DNA gives the molecule a uniform negative charge. So it will move toward the positive anode (red) electrode. The easiest way to remember this is “run to red”.