Download BioSeD - Biological Sequences Database
Transcript
Chapter 9 Conclusion In this technical report we presented a possible design and implementation of a bioinformatics system that was built to store sequences and annotations, which we called labels. We presented all the system objects that make up the bulk of the system: sequences, labels and taxonomies. The design of a relational model with an emphasis on search facilities was put forward in the design section along with data formats and a query grammar. The query grammar, used for sequence searching, showed how search fits in the system. The main difficulty when designing the system was coming up with the relational model and making it efficient to store and retrieve thousands of rows of data, especially when using the NCBI database. The implementation section explained how the queries are processed and run in an efficient manner using the MySQL database. Some database optimizations were listed and explained: indexes, views and keys. We build a query expression parser that is capable of parsing the grammar put forward in the design section. The parser helped turning query expressions into query objects and finally transforming them in efficient SQL code. In terms of difficulties, CodeIgniter had some problems when running multiple SQL queries; the Database plugin was caching all the queries, wasting a lot of memory. Another problem was related to cookie handling and encoding, mainly when storing regular expressions in cookies and some characters were lost during the encoding/decoding process. The most interesting aspects of our user interface were displayed and described. Two types of search interfaces were designed: one more exploratory oriented, where you build the search expressions step by step and view the results in realtime and where each sub-expression can be analyzed; and another form of search, for more experienced users, where the expressions are written directly. The designed search page provides an interesting analysis and operation facility, making it easy to generate histograms for label distribution and run various tasks in a batch fashion over the result list. Some project difficulties involved the recurrent problem in software engineering, which is the change of requirements during the project lifetime. More frequent and intensive testing were not always done and it caused some problems. The creation of a set of unit and interface tests should have been done to fight those issues. We also made some benchmarking for the most interesting features: searching, sequence importing and multiple sequence annotation. We conclude this report believing that the resulting system will be useful for sequence management and analysis, making the life easier for those who work with the system. 68