- Open Access
GenomeMatcher: A graphical user interface for DNA sequence comparison
© Ohtsubo et al; licensee BioMed Central Ltd. 2008
- Received: 11 December 2007
- Accepted: 16 September 2008
- Published: 16 September 2008
The number of available genome sequences is increasing, and easy-to-use software that enables efficient comparative analysis is needed.
We developed GenomeMatcher, a stand-alone software package for Mac OS X. GenomeMatcher executes BLAST and MUMmer, and the detected similarities are displayed in two-dimensional and parallel views with similarity values indicated by color. Selection and re-computation of any subregions is easily performed and allows flexible and in-depth analysis. Furthermore, symbols for annotation data are displayed along the views, and the user can relate the genomic differences with annotation data. While bl2seq allows sub-Giga base comparison, three alignment programs, bl2seq, MAFFT and ClustalW, together with a dotmatch program allow comparative analysis of single-nucleotide level resolution. GenomeMatcher images can be saved as PDF and TIFF files for presentation. As examples of graphical ability of GenomeMatcher to show similarity in colors, we show two cases in Burkholderia and Vivrio strains that the nucleotide sequence of the second largest chromosome changes more rapidly than the largest chromosome.
GenomeMatcher is efficient and easy-to-use stand-alone software for in-depth comparative analysis of two sequences. GenomeMatcher is useful for detecting similarities in DNA sequences ranging in size from a few to sub-Giga bases.
- Genomic Island
- Annotation Data
- Large Chromosome
- Catenation Mode
- Identity Score
The number of available genomic sequences is growing rapidly, and comparisons among them has fruitful for identifying biologically and evolutionarily important traits. The tasks in comparative genomics include, (i) identification of conserved parts between two sequences, (ii) comparison of genomic structures, (iii) identification of sites of genomic rearrangement, (iv) identification of genomic islands, (v) by self-to-self comparison of a genomic sequence, identification of repetitive DNA sequences, which are often associated with IS elements, transposons, CRISPR (clustered regularly interspaced short palindromic repeats), integrons, origins of replication, transcriptional terminators, etc, and (vi) understanding those genomic features with respect to the annotated information. In addition, it is necessary to draw comparison images to present figures for presentation.
Several non-command-line tools have been developed that exhibit comparison graphics, including ACT , GATA , CGAT , ACGT , and G-InforBIO . However, these existing graphic tools lack some of the following functions that would assist users in efficiently comparing two genomes in detail for the above tasks. First, the analysis scheme should allow the user to re-compute the similarity between any subregions of interest using different algorithms or parameters. The sensitivity with which similarities are identifyed depends strongly on these factors. When re-computability is not available, users cannot determine whether or not there are some similarities that the computation settings failed to identify. In addition, for efficient analysis, the re-computation process should require only limited handling of input devices, and in particular should not require the user to handle files or command lines, since these are often time-consuming. Second, in order to examine differences at nucleotide-level resolution, the exact start and end locations of a given matching pair as well as the base-to-base alignment of the pair should be readily obtainable. In addition, an analytical scheme that identifies sequence matches as short as few bases should be implemented in order to efficiently identify, for example, a terminal direct repeat of several base pairs relevant to the integration of a genomic island or an insertion sequence. The existing tools are not designed to identify sequence matches that are as small as, for example, two nucleotides. Third, annotation data should be easily referable in the process to examine the graphical results of similarities. Without this function, users cannot relate the differences to annotated information. Although some tools exhibit only locus tags present in the annotation file, users have to retrieve the relevant annotation for themselves, a time-consuming process. In addition, tools for comparative genomics should include a function to accept user-specified annotation data sets, so that the user can easily add genomic features they have identified, and view them in relation to pre-existing annotation data. Fourth, the similarity scores displayed graphically in colors should allow intuitive perception of similarities. Some tools exhibit sequence similarities by the thickness of a single color. However, the color resolution of the resulting images are lower than that of images drawn under a coloring rule that adopts various colors. Such a coloring rule should be modifiable in order to allow clearer recognition of the distribution of sequence similarities between given sequences. Lastly, not only a bitmap image but also a vector-formatted image of a comparison result should be provided in order to make it easy to prepare figures for presentation. Those tools that provide only bitmap images make it difficult for the user to modify generated images, for example in changing the color of a part of the image to stress some features or in removing unnecessary letters.
With these functions in mind, we developed GenomeMatcher, a graphical interface for existing programs (bl2seq[6, 7], MUMmer , MAFFT  and ClustalW ), and provided for it with a tool named dotmatch that allows the detection of matches at lengths of a few nucleotides long. In GenomeMatcher, the re-computation of the sequence similarities of the specified sub-regions is possible, and sequence matches with few nucleotides long are detectable by dotmatch. User-specified annotation data sets are acceptable, and RGB(red, green, and blue)-colored comparison graphics, in which colors indicate similarities, can be saved as both vector-formatted images or bitmap images.
The GenomeMatcher system is programmed in Objective-C using the Cocoa framework with the associated XCode development tools (both by Apple Inc.). The inputs are DNA sequences in DDBJ/GenBank, single FASTA, and plain text formats. For sequences that have not yet been processed into the DDBJ or GenBank format, GenomeMatcher accepts annotations in a defined format (see online manual available at http://www.ige.tohoku.ac.jp/joho/gmProject/gmmanual.html). In GenomeMatcher, five comparison programs are used for sequence comparison: bl2seq, MUMmer, MAFFT, ClustalW, and a program for nucleotide level comparison (called 'dotmatch' here). The bl2seq and ClustalW are embedded in the application bundle, and users have to download MAFFT and MUMmer and specify the path in the setting window where these two programs are installed. The use of bl2seq and MUMmer is for the comparison of sequences longer than several hundred base pairs, while that of dotmatch and ClustalW is for sequences shorter than several thousand base pairs. MUMmer, MAFFT, and ClustalW are useful for obtaining an alignment of two sequences when the bl2seq program fails to align them due to insufficient similarities. In the dotmatch analysis, a pair of sequences is compared at nucleotide levels and all nucleotide matches longer than a specified length are displayed. The dotmatch analysis help identify repetitive sequence, which are often related to biologically important features. The seamless connection of these analytical methods allows the efficient identification of similarities in DNA sequences ranging in size from a few to sub-Giga bases.
Rapid and efficient comparison by GenomeMatcher
One characteristic feature of GenomeMathcer is its re-computability, and the user can repeatedly analyze the similarities between two DNA sequences using different parameters or different programs (blastn and tblastx of bl2seq or nucmer and promer of MUMmer). The programs tblastx and promer have more detection power than blastn and nucmer, respectively, thereby allowing the detection of genomic sub-regions that share low sequence similarities. The user can also obtain a text-based alignment of any subregions using bl2seq, nucmer, promer, MAFFT, and ClustalW.
The user can choose subregions by dragging and starting the re-computation. Such an operation allows the user to repeatedly gain a close-up view of a region of interest. As the length of the sequence displayed falls below a certain threshold (200 kb by default), gene symbols will appear along the comparison image, which upon clicking exhibits relevant annotation data. Thus, the user can relate the genomic differences to annotation data.
GenomeMatcher displays blastn, tblastx, nucmer and promer comparison results in both linear and two-dimensional views. In the former view, sequences are placed in parallel to each other. In the latter view, two sequences are placed along the x- and y-axes, respectively, of a rectangular coordinate system. These two view modes have their own advantages, and users can choose either view depending on their purposes.
GenomeMatcher shows similarity values in colors that change gradually as the level of similarity changes (as similarity increases, dark blue changes to green, yellow, and red; the relation between similarity value and colour is displayed beside the comparative image). Therefore, the user can gain, at a glance, the information on which parts of the genome are more or less conserved. This contrasts with the existing programs, in which the intensity of the colour bands is proportional to the similarity  or monotonous [2, 5].
The generated images can be saved as TIFF and PDF formats. The latter is more useful for the preparation of figures because PDF file images can be modified using commercially available graphic softwares.
Mesh mode and catenation mode
Under an execution mode that we call mesh mode, the bl2seq program compares DNA sequences subregion by subregion and assembles the results to completion. The use of this mode is recommended for the following comparisons: i) long (>10 Mb) sequence comparison because comparison of a long sequence by bl2seq consumes a lot of memory and sometimes fails; and ii) comparison of very similar or identical sequences, because such comparison fails to identify some regions with considerable similarities.
We here describe one of the scientific findings we found using GenomeMatcher's ability to show similarity values using colors. Fig. 2A shows the genome comparison result of two related Burkholderia strains having multiple replicons. As is clearly demonstrated by the colors, chromosomes 2 are less conserved than chromosomes 1. This is also the case in another set of related Vivrio strains (Fig. 2B). Although how this happens remains to be fully elucidated and much comparative analysis should be done before generalizing this finding, we propose that the second largest chromosomes evolve more rapidly than the largest chromosomes. One explanation for this is that the common ancestral replicon of the second largest chromosomes was introduced into the common ancestral cell, and at the moment of introduction, the nucleotide composition of the incoming replicon was significantly different from that of the replicon residing in the ancestral host cell. The higher divergence among the second largest chromosomes might be due to a higher speed of progression of amelioration on the alien composition of chromosome 2.
X mode and Y mode
In most genomic comparison programs, the sequence similarities found are displayed. However, such programs cannot display detailed information on the gap regions where similarities are not detected. The dotmatch program in GenomeMatcher allows users to examine similarity levels in the gap regions by displaying sequence comparisons at the nucleotide level.
Comparing long sequences
The unique functions of GenomeMatcher include BLAST comparison by both the mesh and catenation modes. These modes enable comparison, using an ordinary desktop or laptop computer, of very long sequences such as a pair of 300 Mb sequences that are larger than the largest chromosome of Homo sapiens.
Merits and limits of two dimensional visualizations
The two-dimensional visualization of a result of the comparison of two sequences is an effective way to understand the commonalities and differences between two sequences. Especially in cases where genomic sequences are compared, this method could be essential, because huge text-based results are too hard to interpret. The GenomeMatcher software includes two types of two-dimensional representation of comparison results. One visualizes results from bl2seq or MUMmer, and the other visualizes perfect nucleotide matches at lengths as short as a few nucleotides (dotmatch). The merits of the former in both types of representation (see Fig. 1 panels A and B) include instant conversion of huge text-based results into two-dimensional representation. In addition, in both types of representation, the identity score of each HSP is reflected in the color of the corresponding line. The editable color scale of GenomeMatcher, starting from blue and changing gradually to green, yellow, and finally red, allows the user to perceive subtle differences in identity scores (for example see Fig. 2AB). No other tool to visualize genomic similarity developed to date provides higher color resolution than GenomeMatcher. For example, an approximately 1% difference in nucleotide identity is easily discernable in Fig. 2B. This color resolution is not possible to achieve for tools, in which identity scores are expressed as a thickness of a single color, as in ACT. A disadvantage of the visualization of bl2seq or MUMmer results includes that sequence similarities between relatively small tracts, which might be of biological importance, might be drawn enough small to be overlooked. However, this problem could be overcome, to some extent, by dotmatch, which makes it easy to identify very small nucleotide matches. For example, dotmatch often makes it easy to identify target site duplication of insertion sequences, which could be as small as two nucleotides long. On the other hand, dot-match analysis is not suitable for comparing long sequences, because as the sequence length increases the comparison image becomes too complicated to find important features.
Merits and limits of GenomeMatcher
The merits of GenomeMatcher are the accessibility of annotations, the ease of use for non-computer-literate researchers, its fine graphical capability that allows users to perceive differences in similarity at a glance and even enables the generation of vector-formatted images, and the capability to compare a wide range of sequence lengths. Moreover, images generated by GenomeMatcher are not static, thus allowing consecutive dynamic analysis that is supported by the program's quick re-computability. The limits of the current version of GenomeMatcher are that it cannot compare three or more sequences at a time, as can ATC or MUMmer, and that it runs only on Mac OS X and not on other operating systems.
GenomeMatcher is an easy-to-use interface for existing comparison programs that enables users to efficiently perform comparative genomics.
Project name: GenomeMatcher project;
Project homepage: http://www.ige.tohoku.ac.jp/joho/gmProject/gmhome.html
Operating systems: Macintosh OS X 10.3 or higher;
Programming language: Objective-C;
Any restrictions to use by non-academics: License needed for non-academic users.
This work was supported by Grant-in-Aids for Scientific Research from the Ministry of Education, Culture, Sports, Science and Technology, Japan. The complete sequence data for various bacterial genomes were obtained from http://gib.genes.nig.ac.jp/ (Genome Information Broker).
- Carver TJ, Rutherford KM, Berriman M, Rajandream MA, Barrell BG, Parkhill J: ACT: the Artemis Comparison Tool. Bioinformatics (Oxford, England) 2005, 21(16):3422–3423. 10.1093/bioinformatics/bti553View ArticleGoogle Scholar
- Nix DA, Eisen MB: GATA: a graphic alignment tool for comparative sequence analysis. BMC bioinformatics 2005, 6: 9. 10.1186/1471-2105-6-9PubMed CentralView ArticlePubMedGoogle Scholar
- Uchiyama I, Higuchi T, Kobayashi I: CGAT: a comparative genome analysis tool for visualizing alignments in the analysis of complex evolutionary changes between closely related genomes. BMC bioinformatics 2006, 7: 472. 10.1186/1471-2105-7-472PubMed CentralView ArticlePubMedGoogle Scholar
- Xie T, Hood L: ACGT-a comparative genomics tool. Bioinformatics (Oxford, England) 2003, 19(8):1039–1040. 10.1093/bioinformatics/btg121View ArticleGoogle Scholar
- Tanaka N, Abe T, Miyazaki S, Sugawara H: G-InforBIO: integrated system for microbial genomics. BMC bioinformatics 2006, 7: 368. 10.1186/1471-2105-7-368PubMed CentralView ArticlePubMedGoogle Scholar
- Altschul SF, Gish W, Miller W, Myers EW, Lipman DJ: Basic local alignment search tool. Journal of molecular biology 1990, 215(3):403–410.View ArticlePubMedGoogle Scholar
- Tatusova TA, Madden TL: BLAST 2 Sequences, a new tool for comparing protein and nucleotide sequences. FEMS microbiology letters 1999, 174(2):247–250. 10.1111/j.1574-6968.1999.tb13575.xView ArticlePubMedGoogle Scholar
- Kurtz S, Phillippy A, Delcher AL, Smoot M, Shumway M, Antonescu C, Salzberg SL: Versatile and open software for comparing large genomes. Genome biology 2004, 5(2):R12. 10.1186/gb-2004-5-2-r12PubMed CentralView ArticlePubMedGoogle Scholar
- Katoh K, Misawa K, Kuma K, Miyata T: MAFFT: a novel method for rapid multiple sequence alignment based on fast Fourier transform. Nucleic acids research 2002, 30(14):3059–3066. 10.1093/nar/gkf436PubMed CentralView ArticlePubMedGoogle Scholar
- Thompson JD, Higgins DG, Gibson TJ: CLUSTAL W: improving the sensitivity of progressive multiple sequence alignment through sequence weighting, position-specific gap penalties and weight matrix choice. Nucleic acids research 1994, 22(22):4673–4680. 10.1093/nar/22.22.4673PubMed CentralView ArticlePubMedGoogle Scholar
- Jansen R, Embden JD, Gaastra W, Schouls LM: Identification of genes that are associated with DNA repeats in prokaryotes. Molecular microbiology 2002, 43(6):1565–1575. 10.1046/j.1365-2958.2002.02839.xView ArticlePubMedGoogle Scholar
This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.