During barcode sequencing, high molecular weight DNA samples that contain the targeted DNA sequence, ranging from fifty to several hundred kilobases in size, are combined with gel beads containing unique barcodes, enzymes, and sequencing reagents. Microfluidic device can partition input DNA molecules into individual nanoliter-sized droplets of water-in-oil emulsion, called GEMs. Each GEM contains gel beads coated with the same barcode and primers, and a small amount of DNA. The primers are complementary to specific regions of the DNA molecule, allowing for amplification of the DNA in the droplets through PCR. The barcodes enable the identification and grouping of sequencing reads that originate from the same long fragment, which is crucial for downstream analysis.