Skip to main content

Thank you for visiting You are using a browser version with limited support for CSS. To obtain the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles and JavaScript.

Rapid identification of intact bacterial resistance plasmids via optical mapping of single DNA molecules

A Corrigendum to this article was published on 22 December 2017


The rapid spread of antibiotic resistance – currently one of the greatest threats to human health according to WHO – is to a large extent enabled by plasmid-mediated horizontal transfer of resistance genes. Rapid identification and characterization of plasmids is thus important both for individual clinical outcomes and for epidemiological monitoring of antibiotic resistance. Toward this aim, we have developed an optical DNA mapping procedure where individual intact plasmids are elongated within nanofluidic channels and visualized through fluorescence microscopy, yielding barcodes that reflect the underlying sequence. The assay rapidly identifies plasmids through statistical comparisons with barcodes based on publicly available sequence repositories and also enables detection of structural variations. Since the assay yields holistic sequence information for individual intact plasmids, it is an ideal complement to next generation sequencing efforts which involve reassembly of sequence reads from fragmented DNA molecules. The assay should be applicable in microbiology labs around the world in applications ranging from fundamental plasmid biology to clinical epidemiology and diagnostics.


The World Health Organization (WHO) has classified antibiotic resistance as one of the greatest global threats to human health by warning that a “post-antibiotic era”, where common infections and minor injuries can kill, may soon be a reality1,2. One main reason for the rapid increase of antibiotic resistant bacteria is the presence of resistance genes located on mobile genetic elements, such as plasmids3. Plasmids are circular DNA molecules, 1–1000 kilobasepairs (kbp) in size, that are actively and efficiently transferred between bacterial cells, of the same or different genera, through the process of conjugation4. Plasmid-borne resistance, especially among Gram-negative bacteria, has rapidly increased towards the majority of clinically available treatments such as sulphonamides, trimethoprim, fluoroquinolones, aminoglycosides, chloramphenicol, macrolides, tetracyclines, penicillins, cephalosporins and carbapenems5,6. Alarmingly, Liu et al. recently reported the first example of a plasmid-borne resistance determinant to polymyxins, the very last group of antibiotics available for treating carbapenem resistant bacteria7. This poses a severe threat since pan-resistant bacteria may now form by combining the highly transmissible polymyxin resistance plasmid with plasmids encoding carbapenemases.

The lack of rapid and comprehensive methods for plasmid identification and characterization is a major obstacle for epidemiological tracing of plasmid-mediated resistance8,9,10. Pulsed Field Gel Electrophoresis (PFGE) coupled with S1 digestion11 can reveal the number and sizes of plasmids in resistant bacteria, but the assay takes several days from sample collection to result and no sequence information is obtained and data from different labs are not easily compared. Recently, large-scale sequencing approaches have been introduced, but even though sequencing is becoming cheaper and less time consuming, the end result still requires extensive downstream data analysis, where short reads are assembled, that is complicated by the dynamic nature of plasmids12. Improved methods for faster identification and characterization of bacterial plasmids are therefore needed.

Optical DNA mapping methods are based on visualizing the coarse-grained sequence of single DNA molecules, stretched either on a surface13 or in nanofluidic channels14,15, using fluorescence microscopy. The use of optical mapping in genetics has grown rapidly in recent years16,17,18,19,20. The main benefit is the extreme read lengths compared to existing sequencing techniques, realized by visualizing large DNA molecules (100 kbp or larger) using sequence specific tags. We have recently introduced a simple optical DNA mapping protocol that relies on non-covalent competitive binding of the fluorescent dye YOYO-1 (YOYO) and the non-fluorescent netropsin to DNA21,22. Netropsin has a strong preference for AT-rich sequences23 and thereby partially blocks such sequences from YOYO binding. The resulting variation in fluorescence emission along the DNA molecules is a DNA barcode, where AT-rich regions are dark and GC-rich regions are bright. In contrast to most other mapping techniques, no enzymatic reactions are involved; the barcodes are formed via a simple incubation step with the dyes.

When intact plasmids are confined in nanofluidic channels, they contain twice the amount of DNA per length unit as linear DNA due to their circular structure. As a result, they are approximately twice as bright under fluorescence microscopes24. Therefore, remaining chromosomal DNA and plasmid fragments can be automatically discarded from the analysis of intact plasmids25.

In this study we use optical mapping to characterize plasmid DNA using the workflow schematically described in Fig. 1. We demonstrate experimentally that we are able to identify previously sequenced plasmids that are ~70 kbp or larger from a theoretical barcode database based on all sequenced plasmids. We confirm our observations by comparing all pairs of sequenced plasmids in silico. We also demonstrate that the assay can be used to identify structural variations that are an integral part in the dynamic nature of plasmids26. The method has the unique ability to provide sequence information from individual intact plasmids, making it a very important complement to next generation sequencing techniques. The assay can be used for fundamental research on plasmids but also in clinical and epidemiological applications.

Figure 1

Workflow for the optical mapping assay for characterizing plasmids.

Plasmids are extracted from bacteria, using standard commercial kits and stained with YOYO-1 and netropsin in a single step to create a fluorescent barcode along the DNA. The sample solution is inserted into a nanofluidic chip and driven through the microchannels to the nanochannels with pressure (nitrogen gas). Intact circular plasmids are identified in the microchannel by eye and inserted into the nanochannels. The plasmid is irradiated with light until a double-strand break occurs, which causes the plasmid to unfold to its linear configuration and reveal the fluorescent barcode. Subsequently, ~200 images are taken of each single plasmid. Using automated software, the images are assembled into kymographs that are aligned to correct for fluctuations of the molecule inside the nanochannels. The aligned barcode is converted into an intensity trace along the plasmid. A database of theoretical barcodes based on known sequences is then constructed. Experimental barcodes are compared to this database and the sequence(s) with the best match to the barcode are identified (green circle). All scale bars correspond to 10 μm.


To test the applicability of the optical DNA mapping method for identifying plasmids we used three fully sequenced and well-characterized plasmids of different sizes: RP1 from Pseudomonas aeruginosa (60.1 kbp)27, R100 from Shigella flexneri 2b (94.3 kbp)28 and pUUH239.2 from Klebsiella pneumoniae (220.8 kbp)29 (details in Supplementary Table 1). All three plasmids were originally isolated from clinical samples and carry genes coding for antibiotic resistance. The plasmids were introduced into the channels in their circular form and subsequently linearized using photonicking, thus making sure that only intact plasmids were analyzed (details in Methods), to avoid analyzing linear chromosomal DNA fragments or fragmented plasmids that may remain in the sample after plasmid extraction. We directly obtained the size of each individual plasmid by measuring the extension of its linear form along the nanochannel and compared it to the extension of a reference DNA sequence of known size (see Methods)25. The reported sizes for each of the three types of plasmids are within one standard deviation of the sizes obtained here (Fig. 2a).

Figure 2

Optical mapping of bacterial plasmids.

(a) Histogram of the average plasmid sizes of RP1, R100 and pUUH239.2, with nanofluidics data in gray and reference sizes from sequencing data in black. (b-d) Experimental consensus barcodes (gray) compared to the corresponding theoretical barcodes (black) for RP1 (b) R100 (c) and pUUH239.2 (d). The shaded area in (d) corresponds to the inverted region discussed in the text.

From the same experiments used for determining the sizes, we obtained the barcodes of the intact plasmids for each individual DNA molecule (Supplementary Methods 1–2)21,22. The individual barcodes were merged into consensus barcodes for each type of plasmid, consisting of up to 25 individual barcodes, to minimize the effect of molecule-to-molecule variations and eliminate any distortions at the ends of the individual barcodes (see Methods and Supplementary Methods 2–5). Experimental consensus barcodes for RP1, R100 and pUUH239.2 are shown in Fig. 2b–d, demonstrating an excellent overall similarity with the corresponding theoretical barcodes created from the plasmid sequence database (see Methods)22. While the main analysis in this paper is based on the use of consensus barcodes, we noted that the similarity between each individual barcode and the corresponding theoretical barcode was also very good (see Supporting Figure S1).

Comparing experimental consensus barcodes to theoretical barcodes

To assess the similarity of an experimental and a theoretical barcode we calculated a bit-weighted best Pearson correlation coefficient (Ĉ), where a Ĉ-value of 1 corresponds to a perfect match (see Methods and Supplementary Methods 4)22. We compared the experimental consensus barcodes to theoretical barcodes and created histograms of all Ĉ-values obtained (Fig. 3a–c) and restricted the database comparison to a size interval of ±3 standard deviations from the experimentally determined mean size of each tested plasmid. Starting with the consensus barcode for R100, two plasmid sequences in the database stood out with a very high Ĉ-value (Fig. 3b): the reference sequences of plasmids R100 and NR1, where the latter is a variant of R100 with an overall sequence identity of 99.8%. For the larger plasmid pUUH239.2, the corresponding reference sequence also yields the highest Ĉ-value (Fig. 3c). However, compared to R100, the fit to the reference sequence gives a much lower Ĉ-value for pUUH239.2 while the average Ĉ-value for the other sequences is also lower. For the smallest plasmid, RP1 (Fig. 3a), the correct sequence ends up in the top 0.5% in Ĉ-value but does not stand out from the “crowd”, as is the case for R100 and pUUH239.2. Since we were able to identify both R100 and pUUH239.2 from their experimental consensus barcodes we were interested in how many barcodes that were necessary for identification. Interestingly, we found that a vast majority of the individual barcodes for these two plasmids matched best to the correct sequence (Supplementary Figure 1).

Figure 3

Comparing consensus barcodes with the database.

(a–f) Histograms showing the best cross-correlation (Ĉ) when experimental consensus barcodes (RP1 (a), R100 (b) and pUUH239.2 (c)) and corresponding theoretical barcodes (RP1 (d), R100 (e) and pUUH239.2 (f)) are compared with theoretical barcodes for all sequenced plasmids in the public repositories within a size interval corresponding to ±3 standard deviations of the measured average sizes. Solid arrows mark the Ĉ-value of the correct sequence. The dashed arrow in (c) marks the Ĉ-value when the 17 kbp region has been inverted, see text. The solid lines are the Gumbel fits.

That the Ĉ-value for the reference sequence for pUUH239.2 is much lower than for R100 (Fig. 3b,c) was surprising since, theoretically, the Ĉ-value for the correct sequence should not decrease with increased plasmid size (Supplementary Methods 4). This unexpectedly low value suggested a possible discrepancy between the pUUH239.2 sample studied here and the theoretical pUUH239.2 reference sequence. A closer look at Fig. 2d reveals a striking difference between the experimental consensus barcode and the theoretical barcode in the region 180–220 kbp in pUUH239.2 (highlighted in Fig. 2d). This region contains the resistance cassette of the plasmid, composed of antibiotic resistance genes flanked by a number of transposable elements, most notably six identical copies of IS26-elements known to create a high frequency of rearrangements via homologous recombination29. Interestingly, the region of discrepancy between the theoretical and experimental barcodes in Fig. 2d is located in-between two inverted copies of IS26-elements and a ~17 kb inversion was verified in the plasmid sample with directional PCR. Using a theoretical sequence of pUUH239.2 with an inversion of this region (Supplementary Figure 2), the Ĉ-value improved from 0.78 to 0.91 (Fig. 3c). Since structural variations are frequent in plasmids, we analyzed the minimum detectable size of structural variations by introducing random insertions, deletions or inversions into the theoretical sequence of R100 in silico and compared with the experimental consensus barcode. The results are shown in Supplementary Figure 3. How well a specific variation can be detected depends on the sequence information in that particular region and the plasmid size, but the main conclusion is that deletions and insertions with a size as small as 1 kbp lead to a significant decrease in Ĉ-value and are thus likely to be identifiable with our method.

Evaluation of the assay in-silico

Since the barcode for a plasmid can be predicted from its theoretical sequence, we were able to reproduce the histograms in Fig. 3a–c for the corresponding theoretical barcodes. Comparing the Ĉ-value histograms for theory vs theory (Fig. 3d–f) to the histograms for experiment vs theory (Fig. 3a–c), we noted a strong resemblance. First, the Ĉ-values for the “non-match” barcodes decrease with increasing plasmid size, in agreement with theoretical predictions (Supplementary Methods 4). By “non-match” barcodes we refer to all theoretical barcodes except the correct sequence. It should however be noted that several of the “non-match” barcodes might contain regions with a high match to the barcode investigated. Furthermore, sequences that yield high Ĉ-values when compared with experimental consensus barcodes also yield high Ĉ-values when compared with the corresponding theoretical barcodes (Supplementary Figure 4). Our findings suggest that we can simulate the experimental Ĉ-value histogram for any sequenced plasmid. We therefore compared each theoretical barcode to all theoretical barcodes in the database to predict how well each plasmid can be separated from all other plasmids in the database. Fig. 4a shows the resulting Ĉ-values for the 3127 × 3127 pairs of sequenced plasmids; restricted to only include barcodes for plasmids that differ in size by less than 20%. The main observation is that the longer the plasmids are, the lower the Ĉ-values are for the non-match barcodes (brighter colors in the heat-map).

Figure 4

Comparing theoretical barcodes for all sequenced plasmids.

(a) Ĉ-values for all pairs of plasmids within 20% in size. (b) Identifiable fraction of plasmids of a certain size. The dashed bars are based on a separability-score (0.01) that is on the limit of possible detection. The dark grey bars correspond to an order of magnitude lower separability-score (0.001). The bin size is 10 kbp and the number of plasmids per bin is shown on the right hand vertical axis (full squares).

To transfer the information in Fig. 4a to experimentally realistic conditions we noted that the experimental Ĉ-value for the correct sequence is typically ~0.9 (see Fig. 3 above and Fig. 5 below). To be able to identify the correct sequence, a Ĉ-value of 0.9 thus has to be well separated from the Ĉ-values for the non-match barcodes. To quantify how this “separability” relates to plasmid size we fitted Gumbel distributions to all theoretical histograms and obtained scores of how well separated the correct sequence is from the non-match barcodes (see Fig. 3a–f, Methods and Supplementary Methods 6). We set two thresholds to estimate what plasmids would be possible to identify (Fig. 4b). The first threshold is based on Fig. 3a, where the correct sequence ends up on the very edge of the histogram (separability score of 0.01), but is not fully separated from the other sequences. The other threshold, one order of magnitude smaller (0.001), is for a separability score that defines a region where we are sure that the correct sequence yields a unique match (see also Supporting Figure S7 where we further elaborate on the uniqueness of a match). This analysis suggests that longer plasmids are easier to identify and that, using the less strict threshold, more than 90% of all plasmids between 70 and 300 kbp will be identifiable. The smallest plasmids that are possible to identify for a separability score of 0.01 are between 30 and 40 kbp. For plasmids larger than 300 kbp there are too few plasmids in the database to make the Gumbel fit statistically reliable but since the Ĉ-value for non-match barcodes decreases with plasmid size, such plasmids should also be possible to identify.

Figure 5

Characterization of plasmids from the clinical E. coli isolate ECO-005.

(a) Size histogram with nanofluidics data in gray and S1/PFGE data in black. (b) Histogram of Ĉ-values for the experimental consensus barcode of pEC005A compared to all plasmids with a size corresponding to ±3 standard deviations of the measured average size of pEC005A. The black arrow marks the newly generated sequence and the dashed arrow marks the six sequences that are highly similar to pEC005A, see text. (c) Experimental consensus barcode of pEC005A (gray) compared to the newly generated theoretical barcode (black). (d) Histogram of Ĉ-values for the experimental consensus barcode of pEC005B compared to all plasmids within a size interval corresponding to ±3 standard deviations of the measured average size of pEC005B. Black arrow marks the fit to the new sequence. (e) Experimental consensus barcode for pEC005B (gray) compared to the theoretical barcode of the new sequence (black).

Figure 4b suggests that there is a significant dip in the capability of identifying plasmids around 180–190 kb. This dip is due to the fact that there are ~30 plasmids in this size regime with very high sequence similarity (theoretical Ĉ-values above 0.95) which leads to a lower separability score. However, the assay will readily detect this group of very similar plasmids, still yielding useful information regarding the plasmids studied.

Characterization of plasmids in a clinical isolate

To show that the optical mapping assay also works on samples containing multiple different plasmids and on clinical bacterial strains containing less characterized plasmids, we analyzed the plasmid content of an Extended Spectrum β-Lactamase (ESBL) producing E. coli strain, denoted isolate “ECO-005”, which was isolated from a patient with a urinary tract infection. Isolate ECO-005 was selected for this study since it has previously been investigated using traditional techniques and next generation sequencing, but the plasmid sequences were not completed and are therefore not yet included in the RefSeq database30. The earlier study concluded that isolate ECO-005 contains two plasmids, with sizes of 67 kbp and 139 kbp. The smaller plasmid, denoted plasmid pEC005A, contains the ESBL gene, while the larger plasmid, denoted plasmid pEC005B, contains resistance genes for aminoglycosides, trimethoprim, sulphonamides, tetracyclines, macrolides and penicillins. The optical mapping assay confirmed that isolate ECO-005 contains two plasmids, with measured sizes in good agreement with the published sizes (Fig. 5a)30. When the experimental consensus barcode of pEC005A was matched to the database, a group of six plasmids (details in Supplementary Table 2) stood out with high Ĉ-values (Fig. 5b). The sequences of these six plasmids differ by less than 1% in their nucleotide composition and represent slightly divergent versions of a common ancestor. The previous study suggested that pEC005A is highly similar to plasmid pKF3-70 (NC_013542.1) from Klebsiella pneumoniae30 and this is also the plasmid that yields the highest Ĉ-value (~0.85) using our assay. The plasmid content of isolate ECO-005 was recently fully sequenced, yielding complete plasmid sequences (Sandegren, unpublished data). Compared to pKF3-70, the complete sequence of pEC005A differs by three insertions (1082, 828 and 72 bp) and two deletions (1639 and 244 bp). We created a theoretical barcode of the newly generated sequence for pEC005A, which yielded a significantly higher Ĉ-value (~0.93) than for any other plasmid in the database, again highlighting the resolution of the assay. For pEC005A, the assay has thus revealed a group of plasmids that are highly similar to the one studied as well as uniquely identified the specific plasmid.

When the experimental consensus barcode of pEC005B was compared to the database (Fig. 5d), the only well-separated Ĉ-value was for plasmid pAcX50e (NZ_CP010420.1, details in Supplementary Figure 6) with a relatively low Ĉ-value (0.70). A theoretical barcode was created from sequencing data on pEC005B and, again, the Ĉ-value was significantly higher than for any plasmid in the database (~0.87, Fig. 5e). The results for the two plasmids in ECO-005 show that we can predict best matches when a perfect match is not present in the database and also acquire an indication of the similarity based on the Ĉ-values.


The aim of this study was to demonstrate that optical mapping of single DNA molecules is a rapid and versatile tool for studying bacterial plasmids. By visualizing local variations in AT/GC content along stretched intact plasmids we are able to form barcodes with which plasmids can be identified using publically available sequence repositories. Furthermore, the very same experiments allow us to directly obtain the number and sizes of the plasmid types in the sample and thereby omit the need for time consuming traditional plasmid characterization methods, such as S1/PFGE analysis25. That the plasmids are inserted in their circular form and unfold to their linear form inside the channel guarantees that all plasmids analyzed are intact and that any other DNA is discarded.

The best fits of the experimental barcodes to the theoretical barcodes are obtained from consensus barcodes formed from several individual barcodes. This may be explained by two factors. Firstly, we minimize the inherent molecule-to-molecule variations in single-molecule experiments. Secondly, the ends of the individual barcodes are ill defined but since the plasmids were cut at random places along the contour, we eliminate this hurdle completely. The result is a circular barcode, with no ends, that covers the whole sequence of the plasmid. Our novel method for generating consensus barcodes can also be used to automatically separate plasmids of similar sizes into separate groups, as is discussed in detail in Supplementary Methods 5.

Our experimental results indicate that for plasmids ~70 kbp or larger, consensus barcodes can be used to statistically distinguish the correct plasmid sequence from a database of sequenced plasmids. Since this was based on a limited number of plasmids we confirmed our findings by comparison of all sequenced plasmids in silico. Smaller plasmids are less likely to be identified, since their barcodes contain less information, i.e. fewer peaks and valleys in fluorescence emission intensity, in agreement with our previous study22. It should be noted that our in silico study suggests that some plasmids as small as 30–40 kbp should be possible to identify. In this context it is important to remember that conjugative plasmids carrying resistance genes generally are larger than 50 kbp10.

Reference barcodes for plasmids not yet stored in the database can be generated both from optical mapping experiments and from calculating theoretical barcodes from sequencing data. As a result of the rapidly decreasing costs for DNA sequencing, the database is therefore continuously growing and will be significantly larger in the coming years, which will in turn improve the applicability and accuracy of our method.

Since the assay reveals holistic sequence information from intact plasmids, the assay is not sensitive to long repetitive sequences (e.g. transposons), which are difficult to resolve using existing DNA sequencing techniques due to limited read lengths (typically less than 1 kbp). Not only can this method replace DNA sequencing techniques in contexts where the barcodes provide sufficient data, but when detailed sequence information at a higher resolution is necessary, it can serve as the perfect complement to sequencing techniques by providing scaffolding via a “bird’s-eye” view. The combination of optical mapping and modern DNA sequencing has recently shown great promise in human genetics19,31; a similar potential for such a combination appears to exist for plasmid analysis.

An important aspect of the assay is its resolution, i.e. how large changes have to be in order to be detectable. We tackle this question by studying structural variations in plasmids R100 and pUUH239.2. Systematic in silico changes in the sequence of R100 revealed that changes down to 1 kbp should be possible to identify. For the ~220 kbp long plasmid pUUH239.2 we experimentally detected a ~17 kbp inversion compared to the publically available sequence that was not previously known. Although this identification was done “by eye”, we foresee the possibility of identifying such structural variations automatically, for example using tools similar to the ones developed by Marie et al.32.

Possible applications of our optical mapping assay for plasmid analysis range all the way from addressing fundamental questions in plasmid biology and dynamics to surveillance of antibiotic resistance plasmids in clinical settings. The assay is unique in the sense that it yields the size and the number of different plasmids in the isolate, along with sequence information that can identify previously sequenced plasmids. By inserting intact circular plasmids into nanofluidic channels and visualize the transition from circular to linear configuration, we ensure that full plasmid sequences and not plasmid fragments or remaining chromosomal DNA, are analyzed. This would not be possible in competing techniques, such as molecular combing, where the DNA is immobilized on a surface13. The barcode obtained will, for long enough plasmids, be a unique fingerprint of the plasmid of interest. With such a fingerprint it will be possible to identify plasmid transfer between bacterial strains and species as well as between patients even without any previous sequence information. This functionality is very important for surveillance of the spread of antibiotic resistance and should be of particular importance during nosocomial resistance outbreaks where it may shorten the time from sample collection to diagnosis substantially.

Importantly, our results imply that, for large enough plasmids, the barcode from a single plasmid molecule should be sufficient to identify it from the database. Hence, in terms of the amount of sample needed, we have reached the ultimate limit, where a single molecule is sufficient for analysis. This is in stark contrast to sequencing, where the average sequence of ~109 bacteria is obtained. The minute amount of DNA needed suggests that it should be possible to use the assay directly on clinical samples, without culturing, which would reduce the time from sample collection to result significantly. All reagents used are commercially available and after extraction of plasmids, using standard kits, the remaining sample preparation is simple, requiring only standard pipetting. We have also developed software that automates all the steps involved in identifying a plasmid from recorded images. Nanofluidic channels can be made in plastic by injection molding, which could substantially reduce the cost of the nanofluidic devices used33. Furthermore, a recent paper from Wei, et al. demonstrated that single DNA molecules can be visualized using a compact and cost effective fluorescence microscope installed on a standard smartphone34, meaning that within the near future it will be possible to record optical DNA maps on smartphone cameras. This opens up the possibility to transfer the technology from the standard laboratory settings towards point of care analysis and diagnostics in, for example, developing countries. The optical mapping assay presented here is optimal for smartphone microscopy where there is a low photon budget since, in contrast to most other optical DNA mapping techniques, it is based on variations in a strong emission signal rather than emission from one, or very few, fluorophores.

To conclude, we demonstrate that optical DNA mapping is a versatile tool for characterizing and identifying bacterial plasmids. It complements existing techniques in many ways and is, to our knowledge, the first method for visualizing the intact sequence of plasmids. We foresee that this method has the potential to be a standard tool in microbiology labs around the world with applications ranging from standard microbiology to clinical diagnostics.


Plasmid preparation

Plasmid-containing strains were grown in Mueller Hinton broth at 37 °C overnight. Plasmid DNA was prepared from the over-night culture with the Qiagen Mini and Midi kits according to the manufacturer’s description for low-copy plasmids. Eluated DNA was precipitated with isopropanol, washed with 70% ethanol and resuspended in 10 mM Tris-HCl, 1 mM EDTA before analysis. The final concentration of eluated DNA was measured for each preparation using a NanoDrop.

Sample preparation

For nanofluidics experiments, DNA was stained with YOYO-1 (YOYO, Invitrogen) in a molar ratio of 1:5 to the total number of basepairs in the sample and with netropsin (Sigma-Aldrich) in a molar ratio of 150:1 with respect to YOYO. The samples were initially mixed in 5x TBE (Tris-Borate-EDTA, Medicago, diluted with ultrapure water from 10x tablets) and left to equilibrate at room temperature for about 20 minutes. As an example, 2 μL of plasmid DNA (100 μM, bp) was mixed with 2 μL λ-DNA (100 μM, bp), 2 μL of YOYO-1 (40 μM) and 3 μL of Netropsin (4000 μM). 5x TBE was then added in order to obtain a final volume of 10 μL. Subsequently, the samples were diluted to 0.05x TBE with ultrapure water to a final concentration of typically 0.4 μM of DNA (bp). The mixing in high ionic strength was performed to enable rapid equilibration of YOYO on DNA35. Beta-mercaptoethanol (BME, Sigma-Aldrich) was added in 2% (v/v) to suppress excessive photonicking of the plasmids. λ-DNA (48502 bp, New England Biolabs) was used as standard for measurements of the sizes of the plasmids and was measured in the same conditions as for the plasmids.

Experimental procedure

Nanofluidic chips were fabricated in fused silica with standard methods as described elsewhere15. The nanofluidic chip consists of four loading wells connected two and two by microchannels, which in turn are spanned by nanochannels. The dimensions of the nanochannels were 100 × 100 nm2 or 100 × 150 nm2, both with a length of 500 μm. The channels were pre-wetted with a mixture of 0.05x TBE and 2% (v/v) BME. For each sample, a volume of 10 μL was loaded into the chip and the DNA was forced into the nanochannels by pressure-driven flow with nitrogen gas. All plasmids were inserted in their circular form, which was ensured by visual inspection of the plasmids in the microchannel, (see Fig. 1). The manual selection of intact circles ensures that all DNA molecules analyzed contain the entire sequence of the plasmid and discards fragmented plasmids and remaining chromosomal DNA, which appear as linear pieces24. It should also be noted that nicking of the YOYO-labeled DNA will occur rapidly by irradiation with light and hence any supercoiled plasmids will be relaxed well before insertion into the nanochannels. Circular plasmids were unfolded to their linear form, while enclosed in the nanochannels, by spontaneous photonicking caused by irradiation with the excitation light of the microscope until a double-stranded break occurs20,36. The fact that all plasmids studied were linearized inside the nanochannel further guarantees that all plasmids analyzed are intact. After unfolding, the light was switched off and the molecules were allowed to relax into their equilibrium extension. Imaging was performed with an inverted fluorescence microscope (Zeiss AxioObserver.Z1) using a 100x oil immersion objective (Zeiss, NA = 1.46). Using an EMCCD camera (Photometrix Evolve) and an exposure time of 100 ms, a series of about 200 images was recorded for each molecule.

Image analysis

Within our workflow, experimental barcodes are subject to three processing steps. First, raw kymographs (see Fig. 1) are aligned in order to reduce effects due to local conformational changes and center-of-mass diffusion of DNA during imaging, using the WPAlign method37. Once the kymograph has been aligned, we obtain the time-averaged barcode. Second, we remove the background from the signal region in the time-averaged barcode. To that end, we fit the sum of two sigmoidals to the data25. The estimated lengths, L, of the molecules are then obtained and the barcode contains only the “signal region”. Third, we reduce end effects: in the end regions of experimental barcodes, the background and signal are intermixed due to the finite width of the microscope’s optical point spread function. To deal with this and other end effects, we use a bit weighting scheme (Supplementary Methods 2) that effectively removes any effect due to the ends, yet retaining information about the true length, L, of the barcode.

Generating consensus barcodes from experimental barcodes

As a result of stochasticity (for instance, due to the staining process) in individual experimental barcodes, time-averaged barcodes from DNA molecules with identical sequences differ slightly from one another. In order to reduce such molecule-to-molecule fluctuations, we present a new method for averaging M barcodes from multiple molecules with the same DNA sequence (but circularly shifted and possibly flipped) into “consensus” barcodes (Supplementary Methods 5). In brief, we first identify the two most similar barcodes out of all barcode pairs using a cross-correlation measure. These two barcodes are merged leaving us with M-1 barcodes. The procedure is then repeated until the set of barcodes has been exhausted, resulting in a consensus barcode. In our procedure, a bit weighting method (see Supplementary Methods 2) reduces end effects and results in consensus barcodes which, in all cases considered, are truly circular (no edges).

Theoretical barcodes

For comparisons with experimental data, we created a database of theoretical barcodes with sizes of 20 kbp and upwards. The sequences were retrieved from NCBI (, June 2015) and filtered to remove all duplicates and all sequences where more than 0.01% of the bases in the sequence are undefined, resulting in a database of 3127 sequences. The theoretical barcodes are created using the DNA sequence as input and are calculated using the known statistical physics framework for competitive binding of ligands22. The theoretical barcodes obtained from this framework have basepair resolution and are therefore convolved with the known point spread function of the microscope in order to mimic experimental conditions.

Identifiability of plasmids

To address the question whether a particular plasmid can be experimentally identified in the database, we apply a two-step strategy: (I) First, if the correct plasmid’s length differs more than 20 percent in size from another plasmid, these two plasmids are deemed different. (II) For barcodes in the database of similar length to the correct plasmid, see criteria (I), we introduce a separability score (details below). If this score is smaller than a predetermined threshold then the correct plasmid is said to be identifiable. To calculate the separability score we first quantify the similarity of the barcode of the correct plasmid (experimental or theoretical) with all K theoretical barcodes of similar lengths, using best Pearson correlation coefficient, Ĉk, k = 1,….K. The term “best” here refers to the fact that, due to the circular nature of plasmids, it is necessary to slide one barcode across the other and possibly to flip it. The sliding generates a set of cross-correlation values out of which only the best one is stored. Note that in general cross-correlation values are in the range of -1 to 1. However, the “best” cross correlation is generally in the range of 0 to 1. In all our studied cases all Ĉ-values are indeed positive. For large enough K, these best cross-correlation values are expected to follow the Gumbel probability density function (PDF), Φ(Ĉ) (probability density for the best, with two parameters)38 and we therefore fit the histogram of Ĉk to the Gumbel PDF. In the Results section we find that a match between an experimental plasmid barcode and its “correct” theoretical barcode has Ĉ ≈ Ĉmatch = 0.9. Therefore, once the two Gumbel parameters have been estimated we define a separability score, which is similar to the usual p-value definition, i.e., the separability score equals . By construction, the separability score is in the range 0 to 1 and has an average score of 0.5. We deem a plasmid identifiable if the separability score is smaller than a set threshold. In the Results section we use a conservative threshold of 0.001 and a less restrictive choice, with a threshold of 0.01 and demonstrate that the plasmid identifiability is insensitive to this choice for long enough plasmids (>70 kbp). Details are found in Supplementary Methods 6.

Additional Information

How to cite this article: Nyberg, L. K. et al. Rapid identification of intact bacterial resistance plasmids via optical mapping of single DNA molecules. Sci. Rep. 6, 30410; doi: 10.1038/srep30410 (2016).


  1. World Health Organization. Antimicrobial resistance: global report on surveillance 2014. Available at: (Accessed: 19 March 2015) (2014).

  2. World Health Organization. Worldwide country situation analysis: response to antimicrobial resistance. 1–50 (2015).

  3. Svara, F. & Rankin, D. J. The evolution of plasmid-carried antibiotic resistance. BMC Evolutionary Biology 11, 130 (2011).

    Article  Google Scholar 

  4. Dantas, G. & Sommer, M. O. How to Fight Back Against Antibiotic Resistance. American Scientist 102, 42–51 (2014).

    Article  Google Scholar 

  5. Carattoli, A. Resistance Plasmid Families in Enterobacteriaceae. Antimicrobial Agents and Chemotherapy 53, 2227–2238 (2009).

    CAS  Article  Google Scholar 

  6. Carattoli, A. Plasmids and the spread of resistance. International Journal of Medical Microbiology 303, 298–304 (2013).

    CAS  Article  Google Scholar 

  7. Liu, Y.-Y. et al. Emergence of plasmid-mediated colistin resistance mechanism MCR-1 in animals and human beings in China: a microbiological and molecular biological study. The Lancet Infectious Diseases, doi : 10.1016/S1473-3099(15)00424-7 (2015).

  8. Nordmann, P., Naas, T. & Poirel, L. Global Spread of Carbapenemase-producing Enterobacteriaceae. Emerging Infectious Diseases 17, 1791–1798 (2011).

    CAS  Article  Google Scholar 

  9. Queenan, A. M. & Bush, K. Carbapenemases: the Versatile -Lactamases. Clinical Microbiology Reviews 20, 440–458 (2007).

    CAS  Article  Google Scholar 

  10. Brolund, A. & Sandegren, L. Characterization of ESBL disseminating plasmids. Infectious Diseases 48, 18–25 (2015).

    Article  Google Scholar 

  11. Barton, B. M., Harding, G. P. & Zuccarelli, A. J. A general method for detecting and sizing large plasmids. Analytical Biochemistry 226, 235–240 (1995).

    CAS  Article  Google Scholar 

  12. Shendure, J. & Ji, H. Next-generation DNA sequencing. Nat Biotechnol 26, 1135–1145 (2008).

    CAS  Article  Google Scholar 

  13. Neely, R. K., Deen, J. & Hofkens, J. Optical mapping of DNA: Single-molecule-based methods for mapping genomes. Biopolymers 95, 298–311 (2011).

    CAS  Article  Google Scholar 

  14. Levy, S. L. & Craighead, H. G. DNA manipulation, sorting and mapping in nanofluidic systems. Chem. Soc. Rev. 39, 1133–1152 (2010).

    CAS  Article  Google Scholar 

  15. Persson, F. & Tegenfeldt, J. O. DNA in nanochannels—directly visualizing genomic information. Chem. Soc. Rev. 39, 985 (2010).

    CAS  Article  Google Scholar 

  16. Lam, E. T. et al. Genome mapping on nanochannel arrays for structural variation analysis and sequence assembly. Nat Biotechnol 30, 771–776 (2012).

    CAS  Article  Google Scholar 

  17. Cao, H. et al. Rapid detection of structural variation in a human genome using nanochannel-based genome mapping technology. GigaScience 3, 34 (2014).

    Article  Google Scholar 

  18. Mak, A. C. Y. et al. Genome-Wide Structural Variation Detection by Genome Mapping on Nanochannel Arrays. Genetics, doi: 10.1534/genetics.115.183483 (2016).

  19. Pendleton, M. et al. Assembly and diploid architecture of an individual human genome via single-molecule technologies. Nature Methods 12, 780–786 (2015).

    CAS  Article  Google Scholar 

  20. Usher, C. L. et al. Structural forms of the human amylase locus and their relationships to SNPs, haplotypes and obesity. Nat Genet 47, 921–925 (2015).

    CAS  Article  Google Scholar 

  21. Nyberg, L. K. et al. A single-step competitive binding assay for mapping of single DNA molecules. Biochemical and Biophysical Research Communications 417, 404–408 (2012).

    CAS  Article  Google Scholar 

  22. Nilsson, A. N. et al. Competitive binding-based optical DNA mapping for fast identification of bacteria - multi-ligand transfer matrix theory and experimental applications on Escherichia coli. Nucleic Acids Research 42, e118 (2014).

    Article  Google Scholar 

  23. Zimmer, C. et al. Interaction of the oligopeptide antibiotics netropsin and distamycin a with nucleic acids. Journal of Molecular Biology 58, 329–348 (1971).

    CAS  Article  Google Scholar 

  24. Alizadehheidari, M. et al. Nanoconfined Circular and Linear DNA: Equilibrium Conformations and Unfolding Kinetics. Macromolecules 48, 871–878 (2015).

    CAS  ADS  Article  Google Scholar 

  25. Frykholm, K. et al. Fast size-determination of intact bacterial plasmids using nanofluidic channels. Lab on a Chip 15, 2739–2743 (2015).

    CAS  Article  Google Scholar 

  26. Sandegren, L. & Andersson, D. I. Bacterial gene amplification: implications for the evolution of antibiotic resistance. Nat Rev Micro 7, 578–588 (2009).

    CAS  Article  Google Scholar 

  27. Pansegrau, W. et al. Complete Nucleotide Sequence of Birmingham IncPα Plasmids: Compilaion and Comparative Analysis. Journal of Molecular Biology 239, 623–663 (1994).

    CAS  Article  Google Scholar 

  28. Silver, L., Chandler, M., la Tour, de, E. B. & Caro, L. Origin and direction of replication of the drug resistance plasmid R100. 1 and of a resistance transfer factor derivative in synchronized cultures. Journal of Bacteriology 131, 929–942 (1977).

    CAS  PubMed  PubMed Central  Google Scholar 

  29. Sandegren, L., Linkevicius, M., Lytsy, B., Melhus, A. & Andersson, D. I. Transfer of an Escherichia coli ST131 multiresistance cassette has created a Klebsiella pneumoniae-specific plasmid associated with a major nosocomial outbreak. Journal of Antimicrobial Chemotherapy 67, 74–83 (2011).

    Article  Google Scholar 

  30. Brolund, A., Franzén, O., Melefors, Ö., Tegmark-Wisell, K. & Sandegren, L. Plasmidome-Analysis of ESBL-Producing Escherichia coli Using Conventional Typing and High-Throughput Sequencing. PLoS ONE 8, e65793 (2013).

    CAS  ADS  Article  Google Scholar 

  31. Hastie, A. R. et al. Rapid Genome Mapping in Nanochannel Arrays for Highly Complete and Accurate De Novo Sequence Assembly of the Complex Aegilops tauschii Genome. PLoS ONE 8, e55864 (2013).

    CAS  ADS  Article  Google Scholar 

  32. Marie, R. et al. Integrated view of genome structure and sequence of a single DNA molecule in a nanofluidic device. Proceedings of the National Academy of Sciences of the United States of America 110, 4893–4898 (2013).

    CAS  ADS  Article  Google Scholar 

  33. Utko, P., Persson, F., Kristensen, A. & Larsen, N. B. Injection molded nanofluidic chips: Fabrication method and functional tests using single-molecule DNA experiments. Lab on a Chip 11, 303–308 (2011).

    CAS  Article  Google Scholar 

  34. Wei, Q. et al. Imaging and Sizing of Single DNA Molecules on a Mobile Phone. ACS Nano 8, 12725–12733 (2014).

    CAS  Article  Google Scholar 

  35. Nyberg, L., Persson, F., Åkerman, B. & Westerlund, F. Heterogeneous staining: a tool for studies of how fluorescent dyes affect the physical properties of DNA. Nucleic Acids Research 41, e184–e184 (2013).

    CAS  Article  Google Scholar 

  36. Tuite, E. M. & Åkerman, B. Single-and double-strand photocleavage of DNA by YO, YOYO and TOTO. Nucleic Acids Research 24, 1080–1090 (1996).

    Article  Google Scholar 

  37. Noble, C. et al. A Fast and Scalable Kymograph Alignment Algorithm for Nanochannel-Based Optical DNA Mappings. PLoS ONE Available at: (Accessed: 15 April 2015) (2015).

  38. Karlin, S. & Altschul, S. F. Methods for assessing the statistical significance of molecular sequence features by using general scoring schemes. Proceedings of the National Academy of Sciences of the United States of America (1990).

Download references


Strains containing plasmids R100 and RP1 were a kind gift from Dr. Virve I. Enne. This project is funded by grants to FW from the Chalmers Areas of Advance in Nanoscience and Nanotechnology, the Adlerbertska Foundation, the EU Horizon 2020 program (grant no. 634890, BeyondSeq), the EuroNanoMed2 project NanoDiaBac and Torsten Söderbergs Stiftelse. TA acknowledges funding from the Swedish Research Council (Grant no 2014-4305). LS acknowledges funding from the Swedish Research Council (Grant no K2013-99X-22208-01-5). EK acknowledges funding from the Chalmers Area of Advance in Life Science. NK acknowledges funding from Västra Götalandsregionen and Sahlgrenska Universitetssjukhuset.

Author information




N.K., E.K., L.S., T.A. and F.W. conceived the idea of the project. L.K.N., G.E. and V.M. performed the experiments supervised by F.W. L.K.N. and V.M. analyzed the data. S.Q., E.L., C.N., S.H., A.N.N. and T.A. developed the analysis methods with input from L.K.N., V.M., E.K. and F.W. S.Q., E.L., C.N., S.H. and A.N.N. wrote the analysis software supervised by T.A. N.K., F.S. and L.S. prepared the plasmid samples. J.F. fabricated the nanofluidic devices. L.K.N., T.A. and F.W. wrote the manuscript with help from S.Q., V.M., E.K. and L.S. L.K.N., S.Q., T.A. and F.W. wrote the Supporting Information, S.Q. and T.A. the theory part and L.K.N. and F.W. the experimental part. All authors discussed the results and commented on the manuscript. FW coordinated the project.

Ethics declarations

Competing interests

The authors declare no competing financial interests.

Electronic supplementary material

Rights and permissions

This work is licensed under a Creative Commons Attribution 4.0 International License. The images or other third party material in this article are included in the article’s Creative Commons license, unless indicated otherwise in the credit line; if the material is not included under the Creative Commons license, users will need to obtain permission from the license holder to reproduce the material. To view a copy of this license, visit

Reprints and Permissions

About this article

Verify currency and authenticity via CrossMark

Cite this article

Nyberg, L., Quaderi, S., Emilsson, G. et al. Rapid identification of intact bacterial resistance plasmids via optical mapping of single DNA molecules. Sci Rep 6, 30410 (2016).

Download citation

Further reading


By submitting a comment you agree to abide by our Terms and Community Guidelines. If you find something abusive or that does not comply with our terms or guidelines please flag it as inappropriate.


Quick links

Nature Briefing

Sign up for the Nature Briefing newsletter — what matters in science, free to your inbox daily.

Get the most important science stories of the day, free in your inbox. Sign up for Nature Briefing