- Open Access
OMWare: a tool for efficient assembly of genome-wide physical maps
BMC Bioinformatics volume 17, Article number: 241 (2016)
Physical mapping of DNA with restriction enzymes allows for the characterization and assembly of much longer molecules than is feasible with sequencing. However, assemblies of physical map data are sensitive to input parameters, which describe noise inherent in the data collection process. One possible way to determine the parameter values that best describe a dataset is by trial and error.
Here we present OMWare, a tool that efficiently generated 405 de novo map assemblies of a single datasets collected from the cotton species Gossypium raimondii. The assemblies were generated using various input parameter values, and were completed more efficiently by re-using compatible intermediate results. These assemblies were assayed for contiguity, internal consistency, and accuracy.
Resulting assemblies had variable qualities. Although highly accurate assemblies were found, contiguity and internal consistency metrics were poor predictors of accuracy.
Massively parallel sequencing (MPS) has and will continue to produce tremendous biological insights . However, the ability to answer certain genomic questions is dependent on read length, and in some cases, the most commonly available read lengths are shorter than what is required . For example, read length may limit the robustness of de novo genome assembly . Single molecule, high molecular weight (HMW) DNA sequencing by PacBio has had success producing significantly longer read lengths than many other technologies , but even their impressive maximum read length, 40 kb, may still be too short to answer some questions regarding genomic structural variants . Until sequencing technologies are able to characterize longer molecules, alternative methods for HMW DNA assembly are required. Restriction fragment length analysis has long been a preferred method for analyzing longer DNA molecules [6–8].
Recent technical developments commercialized by the company BioNano Genomics (BNG) increased throughput for this type of long molecule characterization. Their method uses modified restriction enzymes to incorporate single-strand breaks at restriction sites, which are then labeled by using polymerase to incorporate fluorescent nucleotide analogs. Labeled sample is loaded into an array of nanofabricated channels that linearize the DNA. Waves of DNA can be loaded into the channels and imaged with a high-powered microscope and high-resolution camera. Individual molecules are assembled based on shared patterns of restriction sites into representations of the entire genome.
As with any single molecule technology, there is significant noise in the raw data. Sources of noise in this type of mapping include limitations in camera resolution, enzyme efficiency (particularly in the presence of contaminants), and non-uniform behavior of fluorescent molecules and the DNA duplex . Additionally, depending on genome size and complexity, restriction fragment length patterns may be similar at different genomic loci by chance. Successful assembly algorithms must compensate for this noise in order to reconstruct accurate models of chromosomes. These algorithms incorporate noise compensation measures such as fuzzy matching for lengths between restriction sites, modeling enzyme error probabilities, and requiring whole molecule alignments that are long and similar enough to be unlikely results of chance alone . These compensating measures rely in large part on descriptions of the data error profile, which are provided by the user as input parameters. Therefore, optimum assembly requires that a user select appropriate input parameters.
There are methods for empirical estimation of error profiles, many of which rely on significant genomic resources. For example, BNG provides software that maps a random subset of molecules to a reference genome sequence assembly, and selects error parameters that maximize both the number of molecules that align, and the goodness of fit for those alignments. However, this method depends on a highly contiguous sequence assembly for the organism of interest, which might not be available. One potential alternative for selecting accurate parameters is trial and error. Using a variety of input parameters yields a variety of assemblies, from which an optimal solution might be chosen.
Trial and error is a computationally expensive strategy. In order to be feasible, it should minimize redundant calculations and re-use intermediate results wherever possible. BioNano Genomics produces their own software for de novo assembly, which, internally, can make use of intermediate results. However, the user interface for that software makes result re-use impractical. Therefore, to test the effectiveness of the trial and error strategy, a new interface had to be developed.
We approached the problems of short read limitations, noise in physical map data, and the computational intensity of the trial and error strategy using a specific dataset. Gossypium raimondii is a cotton species that is the closest living relative to one of the subgenome progenitors of the agriculturally significant allopolyploid, Gossypium hirsutum . Gossypium raimondii has a high quality reference genome sequence assembly that was created using MPS, as well as genetic and traditional physical maps . An extended abstract describing a portion of this work has been published previously .
Mapping high molecular weight DNA molecules
Young leaf tissue from several Gossypium raimondii plants was flash frozen in liquid nitrogen and shipped on dry ice to Kansas State University, a Certified Service Provider for long-range DNA mapping with BNG’s technology. They performed HMW DNA extraction according to a proprietary protocol that includes physical disruption of the cell wall, polyphenol isolation with PVP, and embedding of unlysed nuclei in agarose gel to prevent DNA shearing. DNA molecules were subjected to sequence-specific, single-strand nicking at sites recognized by two modified restriction enzymes, Nt.BspQ1 and Nt.BbvCl, simultaneously. These enzymes were selected by simulating digestion of the reference genome sequence assembly  with a variety of enzymes, and selecting the enzyme or pair of enzymes that gave the expected label density closest to 11 nicks per 100 kilobase-pairs (kbp). Restriction sites were labeled with fluorescent nucleotide analogs, which were incorporated by Taq polymerase, and the DNA backbone was stained with the non-specific, intercalating dye, YOYO-1. Finally, labeled, stained DNA molecules were linearized by physical constriction in nanoscopic channels, immobilized with an electric current, and imaged with a high-powered microscope and high-resolution camera. Software provided by BNG converted raw images into digital representations of individual molecules.
Parameter estimation by trial and error
The user interface provided by BNG allows the user to specify a number of input parameters that are known to affect map assembly algorithms (see [13, 14]). A significance threshold for accepting pairwise molecule alignments is an assumption about genome complexity, which frequently, but not necessarily, scales with genome size. It is an indication of how probable an alignment between two molecules is expected to occur because of random chance instead of a common genomic locus. False positive and false negative label rates explain, respectively, the density of observed labels found at locations other than the expected restriction sites, and the proportion of restriction sites that are not labeled, due to enzyme inefficiency. It is an assumption of the algorithm that false positive labels and false negative labels are distributed randomly throughout the genome. Minimum molecule length and minimum labels per molecule are not assumptions about the data error profile, or the genomic complexity. Rather, they represent a compromise between the amount of data included and the reliability of each data point, where longer, more label-dense molecules are more reliable. Additionally, the user interface has multiple parameters to describe variance in observed distances between labels compared to actual restriction site distributions, which is caused by molecule stretching and non-uniform stain behavior, as well as options relevant to the assembly refinement processes (see ). Although all of these parameters do not apply uniformly to all of the steps in the assembly process, the user interface only allows a single designation for each.
We designed and wrote Python code that would facilitate automatic assembly using a variety of values for those input parameters. This approach is similar to that used by Kansas State University in their program Stitch , except that it does not perform assembly refinement steps (see ), and it breaks each assembly into its component parts in order to reduce the computational resources required. We used our code to generate 405 unrefined de novo assemblies of our Gossypium raimondii dataset, each with a different combination of the input parameters shown in Table 1.
We assessed the quality of the assemblies based on their contiguity, their internal consistency, and their accuracy according to the reference genome. Assemblies were scored for total length, contig N50 length, and length of longest contig for contiguity. Internal consistency was divided into two metrics, the average number of overlapping molecules in which each label is observed, and the proportion of molecules not excluded from the assembly as singletons. Finally, we measured accuracy by comparing our assemblies to a highly contiguous reference genome sequence, using software provided by BNG. We report the weighted average confidence score, where confidence is the negative, 10-base logarithm of the p-value of an alignment.
We collected a total of 217.28 Gigabase-pairs (Gbp) of physical map data over nine, two-flow-cell runs of BNG’s Irys® machine. This is enough data for ~241× coverage of the similar to 900 Megabase-pair (Mbp) G. raimondii genome. Data statistics for individual flow cells are shown in Table 2. The weighted average across datasets for the molecule N50 length was 165.37 kbp. The expected label density using Nt.BspQ1 and Nt.BbvCl was 12.6 labels per 100 kbp. Our observed label density was consistently lower than the expected (max 11.3 labels per 100 kbp, weighted average 9.2).
A tool for efficient trial and error
In order to generate a large number of assemblies in a reasonable amount of time, we developed the code OMWare, available at . Our code generates a set of unrefined assemblies that results from a certain combination of input parameters. It automatically detects and runs only the minimum number of compatible precursor steps. Unrefined assembly with BNG’s software proceeds in four steps. First, input molecules are sorted. Second, they are split into files of approximately equal sizes, for computational efficiency. Third, each unique pair of molecules is aligned to produce an overlap score based on label pattern similarity. Finally, genomic regions are assembled using overlap scores in an overlap-layout-consensus graph. In order to produce 405 unrefined assemblies, OMWare performed only nine pairwise alignment steps, and a single split and sort step. The combinations of input parameters that affect certain steps, as well as the computational resource requirements of those steps, are shown in Table 3. The code also includes an interface to read and write data in the file formats used by BNG.
Contiguity and internal consistency varied widely between assemblies, and were predominantly controlled by two input parameters, minimum molecule length and significance threshold. The maximum total length of any assembly was about 1.1 Gbp, which is larger than the expected genome size of about 900 Mbp. The shortest assembly covered only 78 Mbp. Contig N50 lengths ranged from 252 to 431 kbp, and the maximum length of any single contig was 2.24 Mbp. In every assembly, a large proportion of input molecules, from 0.90 to 0.993, were excluded as singletons. Across parameter combinations, the average number of molecules in which each label was observed was between five and nine.
The accuracy of assembled contigs also varied, and appeared to correspond very little with measures of contiguity or internal consistency. The lowest average confidence score of any assembly was 21.4 (p-value ≈ 3.9e-22), and the highest was 27.8 (p-value ≈ 1.5e-28). There were no outliers in confidence. The confidence scores are more responsive to changes in false positive and false negative label rates than metrics of contiguity appear to be. The distribution of both contiguity and confidence scores as they are affected by various input parameters can be seen in Figs. 1 and 2.
Discussion and conclusions
A major limitation of this study was data quality. In the data, we observed label densities that were consistently lower than expected. It may be worth noting that BNG recommends keeping false positive and false negative label rates below 1.5 erroneous labels per 100 kbp and 0.15 of restriction sites unlabeled. Even with very conservative false positive label rate estimates, our data has a false negative label rate above this recommended threshold. This may be due to the inherent difficulty of extracting contaminant free HMW DNA from plants . Additionally, it is reasonable to suspect that by using two nicking enzymes simultaneously in a buffer that was optimized for only one of the two, we inadvertently reduced enzyme efficiency. These factors may help explain the low internal consistency observed in our assemblies.
It is clear that OMWare is far more efficient than the BNG software at generating a large number of unrefined assemblies. Trial and error showed promise for use in scenarios when no reference genome is available. However, without using a reference genome, we were unable to detect reliable, genome-independent predictors of assembly quality in the five metrics of contiguity and internal consistency that we examined.
In scenarios where a reference genome is available, alternative software for empirical estimation of input parameters exists and requires fewer computational resources than OMWare. In the case of BNG’s software, there are some input parameters that OMWare assays that their software does not, such as minimum sites per molecule, minimum molecule length, and significance threshold. There are also input parameters that OMWare does not test. Molecule stretch or stain inconsistencies manifest as variable distances observed between labels. We did not incorporate this into OMWare because BNG’s internal assembly algorithm uses three separate parameters to compensate for variable distances, permutations on which would have substantially increased the necessary compute resources.
This analysis does yield some interesting insight into the behavior of the de novo assembly algorithm. For example, contiguity and internal consistency change far more in response to significance thresholds and minimum molecule lengths, and by extension, coverage, than they do to false positive and false negative label rates. However, assembly accuracy, as measured by significance of alignments to the reference genome, does respond to these assumptions about enzyme efficiency.
BNG, BioNano Genomics; Gbp, gigabase-pairs; HMW, high molecular weight; kbp, kilobase-pairs; Mbp, megabase-pairs; MPS, massively parallel sequencing.
Lam ET, Hastie A, Lin C, Ehrlich D, Das SK, Austin MD, Deshpande P, Cao H, Nagarajan N, Xiao M, Kwok PY. Genome mapping on nanochannel arrays for structural variation analysis and sequence assembly. Nat Biotechnol. 2012;30:771–6.
Hormozdiari F, Alkan C, Eichler EE, Sahinalp SC. Combinatorial algorithms for structural variation detection in high-throughput sequenced genomes. Genome Res. 2009;19:1270–8.
Hastie AR, Dong LL, Smith A, Finklestein J, Lam ET, Huo NX, Cao H, Kwok PY, Deal KR, Dvorak J, 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. 2013;8:10.
English AC, Richards S, Han Y, Wang M, Vee V, Qu J, Qin X, Muzny DM, Reid JG, Worley KC. Mind the gap: upgrading genomes with Pacific Biosciences RS long-read sequencing technology. PLoS One. 2012;7(11):e47768.
Barrick JE, Colburn G, Deatherage DE, Traverse CC, Strand MD, Borges JJ, Knoester DB, Reba A, Meyer AG. Identifying structural variation in haploid microbial genomes from short-read resequencing data using breseq. BMC Genomics. 2014;15:1039.
Tenover FC, Arbeit RD, Goering RV, Mickelsen PA, Murray BE, Persing DH, Swaminathan B. Interpreting chromosomal DNA restriction patterns produced by pulsed-field gel electrophoresis: criteria for bacterial strain typing. J Clin Microbiol. 1995;33:2233.
Soderlund C, Longden I, Mott R. FPC: a system for building contigs from restriction fingerprinted clones. Comput Appl Biosci. 1997;13:523–35.
Schwartz DC, Li X, Hernandez LI, Ramnarain SP, Huff EJ, Wang Y-K. Ordered restriction maps of Saccharomyces cerevisiae chromosomes constructed by optical mapping. Science. 1993;262:110–4.
Valouev A, Li L, Liu Y-C, Schwartz DC, Yang Y, Zhang Y, Waterman MS. Alignment of optical maps. J Comput Biol. 2006;13:442–62.
Brubaker C, Paterson A, Wendel J. Comparative genetic mapping of allotetraploid cotton and its diploid progenitors. Genome. 1999;42:184–203.
Paterson AH, Wendel JF, Gundlach H, Guo H, Jenkins J, Jin DC, Llewellyn D, Showmaker KC, Shu SQ, Udall J, et al. Repeated polyploidization of Gossypium genomes and the evolution of spinnable cotton fibres. Nature. 2012;492:423–7.
Sharp AR, Udall JA. Improvements to a cotton genome sequence assembly using high throughput physical mapping. In: BioT Biotechnology and Bioinformatics Sympossium; Provo, UT. 2015.
Mendelowitz L, Pop M. Computational methods for optical mapping. GigaScience. 2014;3:33.
Valouev A, Schwartz DC, Zhou S, Waterman MS. An algorithm for assembly of ordered restriction maps from single DNA molecules. Proc Natl Acad Sci. 2006;103:15770–5.
Valouev A, Zhang Y, Schwartz DC, Waterman MS. Refinement of optical map assemblies. Bioinformatics. 2006;22:1217–24.
Shelton JM, Coleman MC, Herndon N, Lu N, Lam ET, Anantharaman T, Sheth P, Brown SJ. Tools and pipelines for BioNano data: molecule assembly pipeline and FASTA super scaffolding tool. BMC Genomics. 2015;16:734.
Public repository for OMWare code: https://github.com/sharpa/OMWare/releases/tag/v1.0.
Varma A, Padh H, Shrivastava N. Plant genomic DNA isolation: an art or a science. Biotechnol J. 2007;2:386–92.
We thank the employees of BioNano Genomics, particularly Palak Sheth, for answering technical questions regarding the use of their software. We thank members of the Udall lab for beta testing OMWare. We thank Chris Hanson and Zach Liechty for maintaining Gossypium raiimondii plants and collecting tissue for DNA extraction. We thank Lindsay Chaney for her insight into effective data visualization. We thank three anonymous reviewers for helpful insight into the paper.
Publication of this article was supported by the NSF Plant Genome Program (#1339412) and Cotton Inc. (14–190).
This article has been published as part of BMC Bioinformatics Volume 17 Supplement 7, 2016: Selected articles from the 12th Annual Biotechnology and Bioinformatics Symposium: bioinformatics. The full contents of the supplement are available online at https://bmcbioinformatics.biomedcentral.com/articles/supplements/.
AS wrote the manuscript, developed the code for OMWare, and implemented assembly quality assessment. JU helped with project design, edited the manuscript, and provided guidance and feedback throughout. Both authors read and approved the final manuscript.
The authors declare that they have no competing interests.
About this article
Cite this article
Sharp, A.R., Udall, J.A. OMWare: a tool for efficient assembly of genome-wide physical maps. BMC Bioinformatics 17, 241 (2016). https://doi.org/10.1186/s12859-016-1099-1
- Assembly Algorithm
- Massively Parallel Sequencing
- High Quality Reference Genome
- Restriction Fragment Length Analysis
- Modify Restriction Enzyme