GBParsy: A GenBank flatfile parser library with high speed

<p>Abstract</p> <p>Background</p> <p>GenBank flatfile (GBF) format is one of the most popular sequence file formats because of its detailed sequence features and ease of readability. To use the data in the file by a computer, a parsing process is required and is perform...

Full description

Bibliographic Details
Main Authors: Kim Yeon-Ki, Lee Tae-Ho, Nahm Baek Hie
Format: Article
Language:English
Published: BMC 2008-07-01
Series:BMC Bioinformatics
Online Access:http://www.biomedcentral.com/1471-2105/9/321
Description
Summary:<p>Abstract</p> <p>Background</p> <p>GenBank flatfile (GBF) format is one of the most popular sequence file formats because of its detailed sequence features and ease of readability. To use the data in the file by a computer, a parsing process is required and is performed according to a given grammar for the sequence and the description in a GBF. Currently, several parser libraries for the GBF have been developed. However, with the accumulation of DNA sequence information from eukaryotic chromosomes, parsing a eukaryotic genome sequence with these libraries inevitably takes a long time, due to the large GBF file and its correspondingly large genomic nucleotide sequence and related feature information. Thus, there is significant need to develop a parsing program with high speed and efficient use of system memory.</p> <p>Results</p> <p>We developed a library, GBParsy, which was C language-based and parses GBF files. The parsing speed was maximized by using content-specified functions in place of regular expressions that are flexible but slow. In addition, we optimized an algorithm related to memory usage so that it also increased parsing performance and efficiency of memory usage. GBParsy is at least 5 - 100× faster than current parsers in benchmark tests.</p> <p>Conclusion</p> <p>GBParsy is estimated to extract annotated information from almost 100 Mb of a GenBank flatfile for chromosomal sequence information within a second. Thus, it should be used for a variety of applications such as on-time visualization of a genome at a web site.</p>
ISSN:1471-2105