- About this Journal ·
- Abstracting and Indexing ·
- Advance Access ·
- Aims and Scope ·
- Annual Issues ·
- Article Processing Charges ·
- Articles in Press ·
- Author Guidelines ·
- Bibliographic Information ·
- Citations to this Journal ·
- Contact Information ·
- Editorial Board ·
- Editorial Workflow ·
- Free eTOC Alerts ·
- Publication Ethics ·
- Reviewers Acknowledgment ·
- Submit a Manuscript ·
- Subscription Information ·
- Table of Contents
Journal of Biomedicine and Biotechnology
Volume 2008 (2008), Article ID 675741, 7 pages
A Scaffold Analysis Tool Using Mate-Pair Information in Genome Sequencing
1SmallSoft Co., Ltd., Jang-Dong 59-5, Yusung-Gu, Daejeon 305-343, South Korea
2Department of Computer Science and Engineering, Pusan National University, Busan 609-735, South Korea
Received 1 September 2007; Accepted 24 December 2007
Academic Editor: Daniel Howard
Copyright © 2008 Pan-Gyu Kim et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
We have developed a Windows-based program, ConPath, as a scaffold analyzer. ConPath constructs scaffolds by ordering and orienting separate sequence contigs by exploiting the mate-pair information between contig-pairs. Our algorithm builds directed graphs from link information and traverses them to find the longest acyclic graphs. Using end read pairs of fixed-sized mate-pair libraries, ConPath determines relative orientations of all contigs, estimates the gap size of each adjacent contig pair, and reports wrong assembly information by validating orientations and gap sizes. We have utilized ConPath in more than 10 microbial genome projects, including Mannheimia succiniciproducens and Vibro vulnificus, where we verified contig assembly and identified several erroneous contigs using the four types of error defined in ConPath. Also, ConPath supports some convenient features and viewers that permit investigation of each contig in detail; these include contig viewer, scaffold viewer, edge information list, mate-pair list, and the printing of complex scaffold structures.
In 2001, the Human Genome Project (HGP) Consortium and Celera Genomics reported the first drafts of sequences of the human genome [1, 2]. The HGP Consortium used the hierarchical sequencing or “clone-by-clone” approach, whereas Celera Genomics used the whole genome shotgun (WGS) approach, which had been successfully used in 1995 to sequence the H. influenzae genome .
In the hierarchical sequencing approach, a tiling of large DNA sequences, such as bacterial artificial chromosome (BAC) or yeast artificial chromosome (YAC), are constructed for a genome, and each of the sequences is determined. The HGP Consortium used BAC as the large sequence, followed by shotgun sequencing of each BAC.
In sequencing the genome, owing to physical limitations of shotgun sequencing methods, the genome must be broken down into smaller portions, shotgun reads sized in the range of 600 bps (base-pairs) to 800 bps, and as the sequence data for each of these shotgun reads is produced, it must be connecting them with those adjacent and overlapping reads that have been previously sequenced, that is, to achieve an assembly of these smaller sequences into larger contiguous regions or “contigs.”
In most cases, the sequences of shotgun reads are obtained by sequencing both ends of a DNA fragment whose approximate size is known. Such pair information, referred to as mate-pair information, constrains the placement of the reads within an assembly. In an ideal assembly, all read pairs are placed in such a manner as to satisfy the orientation and distance constraints imposed by the pairing. Mate-pair information can be used to determine the quality of an assembly, because most types of misassemblies lead to violations of these constraints.
In contrast to hierarchical sequencing, WGS breaks a whole genome into small pieces randomly, without shearing into large DNA pieces of intermediate size. WGS is faster and cheaper than hierarchical sequencing because of the simplicity of the processing steps. The success of WGS [4, 5] has increased its usage and the size of the genome to be sequenced has increased.
Although contig assembly programs are well established, less is known about scaffold analysis. While some of its features have been implemented to sequence specific genomes [6–8], the features needed for general scaffold analysis and visualization have not been provided. Consed , a graphical tool for contig assembly, provides good visualization and helps to finish sequencing by connecting with Autofinish ; however, it does not have many features related to scaffold analysis.
It has been suggested that the contig scaffolding problem can be solved by greedy-path merging algorithm . Moreover, GigAssembler can orient the contigs based on mRNA, paired plasmid ends, EST, and BAC end pairs .
This paper introduces a novel scaffold analysis tool, ConPath, which calculatesthe longest scaffolds. Due to the abundance of repeats in genomic DNA sequences, a purely overlap-based approach for WGS assembly is not feasible, but the use of mate-pair information is crucial. The ConPath program uses end read pairs of fixed-sized DNA libraries as mate-pairs to calculate orientations, orders, and gap sizes. It reads a Phrap  output file (*.out) and an ACE format file, which contain contig structures and mate-pair information.
2. Materials and Methods
2.1. Mate-Pair Information
The most important characteristic of ConPath is its ability to exploit the mate-pair information of large DNA fragments such as fosmids or cosmids, which are about 40 kbps(kilo base-pairs) in size, or BACs, which are about 100–300 kbps in size, rather than plasmids, which are about 2–10 kbps in size. Figure 1 shows an example of mate-pair end reads. A mate-pair is composed of two end reads that always face each other. Each end read, or , has an orientation relative to the contig containing it. If the direction of an end read is the same as the direction of the contig, the former has direction , otherwise, it has direction . In Figure 1, has direction because the contig and read are in the same direction, whereas has direction because the contig and read are in opposite directions. The size of the mate-pair helps to estimate the gap size between contigs and . When one contig contains one end of a mate-pair and a second contig contains the other end of the mate-pair, the two contigs are said to be linked by the mate-pair. A scaffold is a series of contigs that can be linked by mate-pairs. The connection relationship of all the contigs can be represented as a graph in which each contig is represented as a vertex. An edge is created between two contig vertices when they are linked by at least one mate-pair, and the number of linking mate-pairs between two contigs is defined as the edge weight.
2.2. Construction of Scaffolds
To construct scaffolds using mate-pair information, a scaffold graph can be defined as follows.
Given a set of contigs a mate-pair set and a set of reads let denote the scaffold graph using and :
When a mate-pair exists, in which contig contains and contig contains there is an edge between contigs and Edge set is expressed as
In constructing a scaffold graph, the linking level the threshold value for the edge weights, was used as a filtering value in constructing and showing scaffolds on output. When an edge has a weight value smaller than the linking level the edge is discarded from the graph.
Considering the errors that occur in base calling and contig assembly, the optimal construction of a scaffold graph is an NP-complete problem . To practically solve this problem, ConPath uses a simple greedy algorithm. Whenever a new edge is added to the graph, graph is additive modified for that edge. This provides a feasible heuristic solution for a scaffold construction in linear time. Algorithm 1 shows the algorithm of ConPath to construct scaffolds.
2.3. Determination of the Orders and Orientations of Contigs
It is worthwhile noting that ConPath determines the relative orientations of all contigs using the orientations of the end reads.
Figure 2 shows the determination of the order and orientations of three contigs using two mate-pairs. In Figure 2(a), and reads determine the relative orientation of contigs and , and, in the same way, and reads determine the relative orientations of contigs and (see Figure 2(b)). The relative orientations of contigs and are determined by rotating the scaffold in Figure 2(b), as shown in Figure 2(c).
2.4. Estimation of the Gap Size between Contigs
Assuming all mate-pairs have a fixed size, the size of the gap between two adjacent contigs is determined by the sizes of the two contigs and the positions of the end reads of contigs.
Suppose that contig contains read and contig contains g read. Let Gap be the gap size between and . Let and be the start and end positions of read in , respectively, and let and be the start and end positions of read in , respectively. Considering all the possible directions of a mate-pair of two end reads, ConPath estimates the gap size as
b-U and g-U:Gap b-U and g-C: Gap b-C and g-U: Gap b-C and g-C: Gap
Figure 3 shows the procedure for estimating the gap size between contigs when and have and directions, respectively. The orientations of contigs and are set in the same direction. The length of part of the mate-pair library in contig and the length of part of the mate-pair library in contig are calculated. Finally, the gap size is calculated as
2.5. Detection of Erroneous Contigs
One important feature of ConPath is the verification of a contig assembly by identifying erroneous contigs. We have defined 4 types of contig assembly errors to check the quality of a contig assembly.
When the number of mate-pairs connecting two adjacent contigs is more than 2, and there is an inconsistency in determining the orientation of contigs with mate-pairs, the error is defined as a self-collision error, the most serious error type. If this error occurs, the contigs should be inspected manually one by one.
Mate-pair size error
When a mate-pair of an end read is contained in a contig, the real size of this mate-pair can be calculated. If the difference between the calculated and predefined sizes is larger than a threshold value, the error is defined as a mate-pair size error. This type of error is very critical to the contig assembly process.
If the gap size between two contigs is a negative value, it indicates that the two contigs should be merged in the contig assembly process; this is defined as a gap size error.
After calculating the distances of all adjacent contigs, any two nonadjacent contigs can be overlapped due to the accumulation of errors in gap size estimations. This type of error is defined as an overlap error, which happens rarely and is not so critical.
Identifying error types is useful in verifying and correcting the final result of a contig assembly. If a contig has more than two types of errors, it is highly probable that a misassembled contig is present. ConPath assigns different colors to contigs by the number of error types, with nonerroneous contigs colored blue. When one contig has more than one error, ConPath assigns this contig a reddish color, with the intensity proportional to the number of error types. Therefore, we can check the quality of the final result of a contig assembly by simply inspecting the color information in the scaffold visualization window of ConPath.
ConPath was implemented on a Windows XP system using Visual ++. It provides a user-friendly interface and shows visual and color-informative outputs, which can help analyze scaffolds both intuitively and informatively. ConPath provides dialogue windows for “mate-pair information”, “edge information”, “contig path”, and “invalid contigs" by automatically checking for the 4 types of errors. Scaffolds are displayed graphically in proportion to the real sizes of vertices and edges after aligning vertices and edges to avoid graphical collision, and the detailed information for each vertex and edge is shown on a pop-up window. ConPath can produce a large picture for all scaffolds by assembling separately printed module pictures. Figure 4 shows various viewers and dialogues of ConPath.
3. Experiments and Discission
We tested ConPath using both artificial and real data. Artificial data were generated in two different versions: (randomly) and (uniformly). The version consisted of contigs of random sizes, whereas the version consisted of contigs of uniform size. In these artificial data experiments, ConPath showed very successful scaffold constructions using mate-pair information. From experiments with artificial data, ConPath made a reasonable scaffold construction in linear time.
ConPath worked very successfully and efficiently on real data sets, in sequencing the Mannheimia succiniciproducens and Vibro vulnificus genomes. ConPath verified the results of contig assembly by detecting misassembled contigs. Table 1 shows the mate-pair information in these real datasets. Four datasets were tested in sequencing the M. succiniciproducens genome, whereas one dataset was tested in sequencing the V. vulnificus genome, to verify the results of contig assembly. Table 2 shows these results. , , , and are the contig assembly results of the M. succiniciproducens genome and is the contig assembly result for the V. vulnificus genome. For the M. succiniciproducens genome, going from to increased the reliability of the contig assembly results.
We examined the edge number according to linking level (see Figure 5). ConPath was most successful at linking level 2 by minimizing the loss of edges.
Table 3 shows the detected errors in scaffold construction for the 5 datasets. Among the M. succiniciproducens datasets, had the most errors, whereas had no erroneous contigs. These results show that identifying the 4 types of errors for contigs is effective in verifying the result of contig assembly.
Figure 6 shows the constructed scaffolds at linking levels 2 and 3 for the dataset. Contig 93 is suspected of being erroneous because it has several erroneous contigs on both sides. ConPath showed that contig 93 was misassembled. The contig information dialogue box for contig 93 is shown in Figure 6(c).
Table 4 shows a comparison of features of several scaffold analysis tools, including ConPath, Consed , Autofinish , and Bambus . Compared with these other tools, ConPath has very good features for 5 criteria. Most importantly, ConPath helps users to intuitively verify the contig assembly by providing many visualization features and additional information to detect erroneous contigs.
A scaffold analyzer is a very important tool in genome sequencing, in that it can verify the results of contig assembly and to identify misassembled contigs. We have developed ConPath, a scaffold analyzer that exploits mate-pair information to construct scaffolds by ordering and orienting separate sequence contigs. ConPath provides various useful viewers and dialogue boxes for intuitive understanding. Using end read pairs of a fixed-sized mate-pair library, ConPath can determine the relative orientations of all contigs successfully, and estimate the gap size of each adjacent contig pair. We defined 4 types of errors to detect misassembly. ConPath was used successfully in sequencing several microbial genomes, including the M. succiniciproducens genome . ConPath is, therefore, a useful scaffold analyzer to verify contig assembly by detecting erroneous contigs.
ConPath will doubtless improve as its algorithm becomes more correct and efficient, as well as through the development of additional features, such as primer design for the finishing step and a sequence read viewer.
- E. S. Lander, L. M. Linton, B. Birren, et al., “Initial sequencing and analysis of the human genome,” Nature, vol. 409, pp. 860–921, 2001.
- J. C. Venter, M D. Adams, E. W. Myers, et al., “The sequence of the human genome,” Science, vol. 291, no. 5507, pp. 1304–1351, 2001.
- R. D. Fleischmann, M. D. Adams, O. White, et al., “Whole-genome random sequencing and assembly of Haemophilus influenzae Rd,” Science, vol. 269, no. 5223, pp. 496–512, 1995.
- E. W. Myers, “Whole-genome DNA sequencing,” Computing in Science ' Engineering, vol. 1, no. 3, pp. 33–43, 1999.
- J. L. Weber and E. W. Myers, “Human whole-genome shotgun sequencing,” Genome Research, vol. 7, no. 5, pp. 401–409, 1997.
- V. Magrini, W. C. Warren, J. Wallis, et al., “Fosmid-based physical mapping of the Histoplasma capsulatum genome,” Genome Research, vol. 14, no. 8, pp. 1603–1609, 2004.
- W. J. Kent and D. Haussler, “Assembly of the working draft of the human genome with GigAssembler,” Genome Research, vol. 11, no. 9, pp. 1541–1548, 2001.
- D. H. Huson, K. Reinert, and E. W. Myers, “The greedy path-merging algorithm for contig scaffolding,” Journal of the ACM, vol. 49, no. 5, pp. 603–615, 2002.
- D. Gordon, C. Abajian, and P. Green, “Consed: a graphical tool for sequence finishing,” Genome Research, vol. 8, no. 3, pp. 195–202, 1998.
- D. Gordon, C. Desmarais, and P. Green, “Automated finishing with autofinish,” Genome Research, vol. 11, no. 4, pp. 614–625, 2001.
- “Phrap,” http://www.genome.washington.edu/UWGC/analysistools/Phrap.cfm.
- M. Pop, D. S. Kosack, and S. L. Salzberg, “Hierarchical scaffolding with Bambus,” Genome Research, vol. 14, no. 1, pp. 149–159, 2004.
- S. H. Hong, J. S. Kim, S. Y. Lee, et al., “The genome sequence of the capnophilic rumen bacterium Mannheimia succiniciproducens,” Nature Biotechnology, vol. 22, no. 10, pp. 1275–1281, 2004.