Agarose gel electrophoresis for genotyping
DNA is negatively charged at neutral pH. When you apply an electric field, DNA fragments migrate through the agarose matrix toward the positive electrode (anode). Shorter fragments move faster because they encounter less frictional resistance. The agarose concentration sets the pore size — higher concentrations create smaller pores that slow everything down but improve resolution of small fragments.
1. It adds density (glycerol or Ficoll) so the sample sinks into the well instead of floating away. 2. It includes tracking dyes (bromophenol blue, xylene cyanol, or Orange G) that migrate at known rates so you can see when to stop the gel. Bromophenol blue runs at roughly the same speed as a 300 bp fragment in 1% agarose; xylene cyanol runs with ~4 kb fragments.
A DNA ladder is a set of known-size fragments that you run alongside your samples. By comparing your band's position to the ladder, you estimate its size. Choose a ladder whose densest band spacing covers your expected band size — a 100 bp ladder has bands every 100 bp from 100-1500, while a 1 kb ladder has bands at 250, 500, 750, 1000, 1500, 2000, 3000, 4000, 5000, 6000, 8000, and 10000 bp.