For MiSeq sequencing, 1 mkg DNA from whole flies was fragmented using a Covaris M220 sonicator with parameters optimized for a maximum fragment-size of approximately 400 bp. Barcoded-genome libraries were prepared, using 50 ng of fragmented DNA, with Roche KAPA Hyper Prep Kit, KAPA UDI adapters, according to the manufacturer’s protocol for dual size-selection. The amplification of libraries was carried out in 9 cycles. The quality and molarity of the libraries were determined using a Bioanalyzer BA2100 and Qubit fluorim-eter. After normalization, the barcoded libraries were pooled and sequenced, using the MiSeq Reagent Kit v2 (500-cycles).
For Nanopore sequencing, 1 mkg DNA was fragmented by pipetting five times in 20 mkl volume. Libraries were prepared using the NEBNext® Companion Module for Oxford Nanopore Technologies® Ligation Sequencing (Oxford Nanopore Technologies, Oxford, UK), according to the manufacturer’s protocol without barcoding, and using a long-fragment buffer at the washing step. Nanopore sequencing was performed using the MinION Mk1C device, SpotON Flow Cell (R9.4) and Ligation Sequencing Kit (Oxford Nanopore Technologies, Oxford, UK).