Issue No. 02 - March/April (2012 vol. 9)
DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/TCBB.2011.146
S. Steinbiss , Center for Bioinf., Univ. of Hamburg, Hamburg, Germany
S. Kurtz , Center for Bioinf., Univ. of Hamburg, Hamburg, Germany
Today's genome analysis applications require sequence representations allowing for fast access to their contents while also being memory-efficient enough to facilitate analyses of large-scale data. While a wide variety of sequence representations exist, lack of a generic implementation of efficient sequence storage has led to a plethora of poorly reusable or programming language- specific implementations. We present a novel, space-efficient data structure (GtEncseq) for storing multiple biological sequences of variable alphabet size, with customizable character transformations, wildcard support, and an assortment of internal representations optimized for different distributions of wildcards and sequence lengths. For the human genome (3.1 gigabases, including 237 million wildcard characters) our representation requires only 2 + 8 · 10-6 bits per character. Implemented in C, our portable software implementation provides a variety of methods for random and sequential access to characters and substrings (including different reading directions) using an object-oriented interface. In addition, it includes access to metadata like sequence descriptions or character distributions. The library is extensible to be used from various scripting languages. GtEncseq is much more versatile than previous solutions, adding features that were previously unavailable. Benchmarks show that it is competitive with respect to space and time requirements.
Particle separators, Bioinformatics, Software, Genomics, Encoding, Libraries, Data structures
S. Steinbiss, S. Kurtz, "A New Efficient Data Structure for Storage and Retrieval of Multiple Biosequences", IEEE/ACM Transactions on Computational Biology and Bioinformatics, vol. 9, no. , pp. 345-357, March/April 2012, doi:10.1109/TCBB.2011.146