- Open Access
GeneKeyDB: A lightweight, gene-centric, relational database to support data mining environments
BMC Bioinformatics volume 6, Article number: 72 (2005)
The analysis of biological data is greatly enhanced by existing or emerging databases. Most existing databases, with few exceptions are not designed to easily support large scale computational analysis, but rather offer exclusively a web interface to the resource. We have recognized the growing need for a database which can be used successfully as a backend to computational analysis tools and pipelines. Such database should be sufficiently versatile to allow easy system integration.
GeneKeyDB is a gene-centered relational database developed to enhance data mining in biological data sets. The system provides an underlying data layer for computational analysis tools and visualization tools. GeneKeyDB relies primarily on existing database identifiers derived from community databases (NCBI, GO, Ensembl, et al.) as well as the known relationships among those identifiers. It is a lightweight, portable, and extensible platform for integration with computational tools and analysis environments.
GeneKeyDB can enable analysis tools and users to manipulate the intersections, unions, and differences among different data sets.
As we move toward large-scale research into complex molecular and cellular networks, the research community will need to develop new interfaces to complex data sets. Existing databases and interfaces, such as those at EBI and NCBI[1, 2], often use sequence records as the central organizing unit. A database organization around a genome sequence record, for example, might be ideal for the purpose of a genome analysis, while the analysis of biological networks would be better organized around genes and gene products. LocusLink  (soon to be replaced by Entrez Gene ) is an example of a resource that adapts the more suitable gene-centric view. While having excellent user interfaces (UIs), LocusLink does not provide robust application programming interfaces (APIs). Even though an API could use web interface or a flat file database, this would make the analysis tool unacceptably slow. In particular, APIs are needed for computers to process the sets of the genes and gene products that are found in these biological networks. Both computational tools and advanced data mining environments need to use these APIs to access and manipulate large, diverse, and intersecting sets of data. EBI's EnsMART  is a resource that permits a comparable manipulation of data about sets of genes and provides an API along with the UI. The database, however, is somewhat difficult to store locally due to its large size and complexity. Another database that is to some extent similar with respect to the design is the DRAGON database. We have developed GeneKeyDB, a relational database, in an attempt to address these issues. A schematic comparison of these databases and GeneKeyDB can be seen in Table 1.
An interesting alternative to the above mentioned databases is BioMART. This is not a database in the conventional sense (though the underlying data can also be downloaded). It extracts and integrates data from several sources, creating customized database. While this approach is very powerful, not all data present in GeneKeyDB is available from BioMART sources (for example CGAP expression data or Homologene). Still BioMART requires a human intervention to retrieve the customized database through a web interface, where GeneKeyDB can be updated entirely through scripts.
The development of GeneKeyDB is motivated by a desire to have a smaller-sized database that could tightly interoperate with different local computational tools and local data sets. While providing support for different data mining tools, the database may remain lightweight, by just storing the keys (database identifiers) of objects, some important attributes, and the relationships among the objects. The database does not actually need to store large objects, like sequence records, as long any tool built on top of GeneKeyDB can retrieve the subset of the objects of interest on demand from other sources – EBI, NCBI or local storage. The system allows us to create centrally shared functions to manipulate biological data sets. Each analysis tool, analysis pipeline, or computer can rely on these core functions and data found in GeneKeyDB.
Construction and content
GeneKeyDB consists of several sub-modules (Figure 1), corresponding to the represented data sources or supported services- LocusLink, EnsEMBL, HomoloGene, GoTreeMachine (GOTM), MGI comparative map and CGAP tables [1, 2, 8–10]. Additional modules can be easily added through the central key of the database. For example we are developing a Cis-Regulatory Elements database called PSITE (manuscript in preparation) which is already integrated to GeneKeyDB through LocusLink ids (Entrez Gene identifiers). In a similar way a supporting GOTM database module has been created previously . Consistency between the database sub-modules is achieved through the creation of novel joining relations. The overall effect is a schema where no data connection is more than two relational tables apart. Summary of the data, provided by each source can be seen in Table 2.
The database is created using Oracle and the parsers are written in Perl. Bioperl and ENSEMBL API are also used to create some of the tables. A brief overview of the database creation process is shown in Figure 2. Though we do not cleanse the source data, there are natural restrictions that should be enforced. For example no RefSeq accession number can be mapped to two LocusLink identifiers, no ensembl gene stable identifier can be mapped to more than one LocusLink identifiers, and the combination of the gene symbol and organism name should be unique.
LocusLink tables are derived through parsing LocusLink flat files and inferring additional data such as absolute chromosome coordinates, calculated by joining NCBI contig builds (see supplemental data at GeneKeyDB website ). These tables describe fundamental information about a particular gene: name, description, associated accession numbers, chromosome location, suggested function, comparative map information among other variables. ENSEMBL originating information also occupies a significant part of the database. It holds the relationship between LocusLink identifiers and ENSEMBL, the original tables used to create this correlation, and additional inferred data such as absolute chromosome coordinates. The CGAP data is parsed into several tables, two of which hold the expression and cDNA library data, while the rest hold functional annotation. These tables are created and updated automatically twice per week, except Affymetrix data, which must be downloaded manually from a password protected area. The update takes approximately 12 hours, including download, parsing and loading. Each sub module can be processed in a distributed fashion (after the central module, Locuslink is parsed), thus significantly reducing the time needed for the update. This allows new modules to be added without noticeable impact over the time that the update process will take This allows us to user more than one processor, for example At the conclusion of the process, new data is exported both as comma delimited and tab delimited files along with the create statements for Oracle, mysql and PostgreSQL RDBMS.
It is important to note that no extensive cleansing of the data is performed during the database creation and update process. This allows automatic updates and eliminates some well known problems created by data cleansing . At the same time, the database automates the creation of views that display the best solution to possible conflicting entries, usually derived from different sources. An example of such conflicts are chromosome coordinates (UCSC, NCBI, Ensembl) and groups of orthologues (Homologene, MGI).
Currently we are migrating from LocusLink data to Entrez Gene data as it becomes available from NCBI.
Utility and discussion
GeneKeyDB is primarily used for automating the integration of large data sets with a variety of computational tools that examine secondary gene relationships, such as the analysis of gene regulatory networks and their evolution. Current tools heavily relying on GeneKeyDB include the BSA pipeline (manuscript in preparation), GoTree machine and other utilities available on our web site. GoTree and Webgestalt  for example, rely on GeneKeyDB to generate gene ontology relationships.
The database was constructed, following some of the guidelines and logic described by Waterman et al. . GeneKeyDB can be used to answer similar to or even more complex question than the ones described in the same work as shown by the following set of examples (more details available from GeneKeyDB website):
Define a set of candidate genes, based on the genome localization and tissue expression pattern
Get all genes expressed in a specific tissue that share a conserved protein domain.
Get a set of orthologues to a group of genes (defined by the input) and obtain their genome coordinates 
These examples are designed to help formulate sets of genes, sharing some functional, sequence or expression similarity. These results are not permanent as the information differs between releases. The times for executing the queries was less than 30 s. per each one and have been produced under Oracle 9.0i database on Sparc Ultra-4, SunOS 5.8.
While such queries are complex, GeneKeyDB's lightweight nature allows its conversion to popular databases such as Microsoft Access and FileMaker Pro, where graphical user interfaces allow for the creation of queries with only a rudimentary knowledge of SQL. Even though Microsoft Access and FileMaker have limited capabilities compared to Oracle, MySQL or PostgreSQL, they succeeded in handling GeneKeyDB.
The development of more exhaustive high-throughput experimental procedures has led to the accumulation of abundant biological data resources. As a consequence, the LocusLink approach of one-gene-at-a-time is an insufficient method to properly mine the data and therefore, analysis of sets of genes is more productive. Additionally, converting between multiple database identifiers is still a challenge as there is no current method to uniquely identify the same gene across multiple databases. Therefore a data mining environment that can synchronize multiple sources and provide general annotation information is going to be beneficial for comparing and using results originating from different experimental groups. One excellent existing resource is EnsMART, but its complexity and size can be overwhelming, especially if system integration is needed. GeneKeyDB can be used to address the same issues, but may be run locally and is roughly 20 times smaller. At approximately 1 GB, it is easily integrated with new and existing computational tools. For the same reason, GeneKeyDB can be used to support distributed analysis for purposes of genome annotation, regulatory network predictions, and other analysis pipelines. Another advantage is that any tool based on GeneKeyDB will rely on standard SQL to manipulate data instead of a proprietary code. On the other hand, GeneKeyDB could easily interact with BioSQL database, with GeneKeyDB providing the central keys and relations between them, while BioSQL can supply sequence data and additional annotation also through standard SQL. This creates a system that is both very flexible and powerful.
Compared to the most similar database, DRAGON, GeneKeyDB has significantly more keys and relationships (CGAP, LocusLink, MGI, Homologene, Affymetrix identifiers, etc), where DRAGON has only some PFAM, Unigene and Incyte data as TREMBL, Transfac and Interpro data is not implemented yet in this database (see DRAGON database website ).
Through the GeneKeyDB database, it is possible to bring together different data such as evolutionary (HomoloGene, MGI comparative map), expression (CGAP), physical location and functional annotation (GO) in a high throughput fashion, making this resource valuable both to experimental and bioinformatics groups. Though the database is most useful when installed locally, some web based functionality also exists. The most significant function that this system provides is a small lightweight database that can enable analysis tools and local database to have the flexible functions of database queries about genes, gene products, and sets of genes in the course of their large-scale analysis.
Current and future development includes improvement to the MySQL/PostgreSQL export, migration toward Entrez Gene (done gradually as new data becomes available at the FTP site), test integration with BioSQL, etc. We intend to convert GeneKeyDB to an open source project and share our parsers with other relevant open source project such as BioPerl wherever appropriate. We expect this step to help GeneKeyDB maintenance.
Availability and requirements
SQL access (through web), Oracle, PostgreSQL and MySQL downloads are available from http://genereg.ornl.gov/gkdb.
Project Name: GeneKeyDB
Project Homepage: http://genereg.ornl.gov/gkdb/
Operating System: Platform independent, tested under Linux and Unix
Other Requirements: RDBMS, preferably Oracle, MySQL or PostgreSQL
License: GNU GPL
Any Restrictions to use by non-academics: License needed
relational database management system
simple query language
application programming interfaces
GO Tree Machine
Gene Reference Into Function
Brooksbank C, Camon E, Harris MA, Magrane M, Martin MJ, Mulder N, O'Donovan C, Parkinson H, Tuli MA, Apweiler R, Birney E, Brazma A, Henrick K, Lopez R, Stoesser G, Stoehr P, Cameron G: The European Bioinformatics Institute's data resources. Nucleic Acids Res 2003, 31(1):43–50. 10.1093/nar/gkg066
Wheeler DL, Church DM, Federhen S, Lash AE, Madden TL, Pontius JU, Schuler GD, Schriml LM, Sequeira E, Tatusova TA, Wagner L: Database resources of the National Center for Biotechnology. Nucleic Acids Res 2003, 31(1):28–33. 10.1093/nar/gkg033
Pruitt KD, Maglott DR: RefSeq and LocusLink: NCBI gene-centered resources. Nucleic Acids Res 2001, 29(1):137–140. 10.1093/nar/29.1.137
Kasprzyk A, Keefe D, Smedley D, London D, Spooner W, Melsopp C, Hammond M, Rocca-Serra P, Cox T, Birney E: EnsMart: a generic system for fast and flexible access to biological data. Genome Res 2004, 14(1):160–169. 10.1101/gr.1645104
Bouton CM, Pevsner J: DRAGON View: information visualization for annotated microarray data. Bioinformatics 2002, 18(2):323–324. 10.1093/bioinformatics/18.2.323
Riggins GJ, Strausberg RL: Genome and genetic resources from the Cancer Genome Anatomy Project. Hum Mol Genet 2001, 10(7):663–667. 10.1093/hmg/10.7.663
Harris MA, Clark J, Ireland A, Lomax J, Ashburner M, Foulger R, Eilbeck K, Lewis S, Marshall B, Mungall C, Richter J, Rubin GM, Blake JA, Bult C, Dolan M, Drabkin H, Eppig JT, Hill DP, Ni L, Ringwald M, Balakrishnan R, Cherry JM, Christie KR, Costanzo MC, Dwight SS, Engel S, Fisk DG, Hirschman JE, Hong EL, Nash RS, Sethuraman A, Theesfeld CL, Botstein D, Dolinski K, Feierbach B, Berardini T, Mundodi S, Rhee SY, Apweiler R, Barrell D, Camon E, Dimmer E, Lee V, Chisholm R, Gaudet P, Kibbe W, Kishore R, Schwarz EM, Sternberg P, Gwinn M, Hannick L, Wortman J, Berriman M, Wood V, de la Cruz N, Tonellato P, Jaiswal P, Seigfried T, White R: The Gene Ontology (GO) database and informatics resource. Nucleic Acids Res 2004, 32 Database issue: D258–61.
Zhang B, Schmoyer D, Kirov S, Snoddy J: GOTree Machine (GOTM): a web-based platform for interpreting sets of interesting genes using Gene Ontology hierarchies. BMC Bioinformatics 2004, 5(1):16. 10.1186/1471-2105-5-16
Heiko Muller JCF: Problems, Methods, and Challenges in Comprehensive Data Cleansing. Technical Report HUB-IB-164, Humboldt University Berlin 2003.
Waterman M, Uberbacher E, Spengler S, Smith FR, Slezak T, Robbins RJ, Marr T, Kingsbury DT, Gilna P, Fields C: Genome informatics I: community databases. J Comput Biol 1994, 1(3):173–190.
GeneKeyDB example 1[http://genereg.ornl.gov/gkdb/examples/example1.html]
GeneKeyDB example 2[http://genereg.ornl.gov/gkdb/examples/example6.html]
GeneKeyDB example 3[http://genereg.ornl.gov/gkdb/examples/example7.html]
Open Bioinformatics Foundation[http://obda.open-bio.org]
We thank Sean Davis at NHGRI for critically reading the manuscript, Wes Hickey, Aaron Douthit and Travis Taylor for their technical help in developing the web user interface for the LocusLink data and Suzanne Baktash for technical help preparing the manuscript. This work was supported by the INIA project (NIH/NIAAA, U01-AA013532), the BISTI project (NIH/NIDA, P01-DA015027) and the ORNL LDRD project (DOE, AC05-00OR22725).
SK drafted the manuscript and is currently implementing the newest features in GeneKey. SK, EB and BZ are using aspects of GeneKeyDB to extend the data mining of gene sets. DS, SK, BZ, XP and EB developed the GeneKeyDB database. JS guided and coordinated execution of the project. All authors read and approved the final manuscript.
About this article
Cite this article
Kirov, S., Peng, X., Baker, E. et al. GeneKeyDB: A lightweight, gene-centric, relational database to support data mining environments. BMC Bioinformatics 6, 72 (2005). https://doi.org/10.1186/1471-2105-6-72
- Open Source Project
- Sequence Record
- Database Identifier
- Entrez Gene Identifier
- RefSeq Accession Number