Author:
Piccolo Stephen R.,Ence Zachary E.,Hill Kimball,Tatlow PJ,Fry Brandon J.,Dayton Jonathan B.
Abstract
AbstractMotivationBiologists commonly store data in tabular form with observations as rows, attributes as columns, and measurements as values. Due to advances in high-throughput technologies, the sizes of tabular datasets are increasing. Some datasets contain millions of rows or columns. To work effectively with such data, researchers must be able to efficiently extract subsets of the data (using filters to select specific rows and retrieving specific columns). However, existing methodologies for querying tabular data do not scale adequately to large datasets or require specialized tools for processing. We sought a methodology that would overcome these challenges and that could be applied to an existing, text-based format.ResultsIn a systematic benchmark, we tested 10 techniques for querying simulated, tabular datasets. These techniques included a delimiter-splitting method, the Pythonpandasmodule, regular expressions, object serialization, theawkutility, and string-based indexing. We found that storing the data in fixed-width formats provided excellent performance for extracting data subsets. Because columns have the same width on every row, we could pre-calculate column and row coordinates and quickly extract relevant data from the files. Memory mapping led to additional performance gains. A limitation of fixed-width files is the increased storage requirement of buffer characters. Compression algorithms help to mitigate this limitation at a cost of reduced query speeds. Lastly, we used this methodology to transpose tabular files that were hundreds of gigabytes in size, without creating temporary files. We propose coordinate-based, fixed-width storage as a fast, scalable methodology for querying tabular biological data.Contactstephen_piccolo@byu.edu
Publisher
Cold Spring Harbor Laboratory
Reference52 articles.
1. A method for computing all maximally general rules in attribute-value systems;Computational Intelligence,1996
2. Information systems theoretical foundations;Information Systems,1981
3. Barsalou, B. , Lawrence W & Hale, C. R. Components of conceptual representation: From feature lists to recursive frames. in Categories and Concepts: Theoretical Views and Inductive Data Analysis 97–144 (Academic Press, 1993).
4. Watanabe, S. Pattern Recognition: Human and Mechanical. (John Wiley & Sons, Inc., 1985).
5. Mapping and quantifying mammalian transcriptomes by RNA-Seq;Nature methods,2008
Cited by
2 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献