This protocol describes how to build a continuous-flow-polymerase chain system based on a microfluidic chip and how to build a capillary electrophoresis system in the lab. It presents a simple method for the analysis of nucleic acids in the lab.