Processing genome scale tabular data with wormtable

BMC Bioinformatics. 2013 Dec 5:14:356. doi: 10.1186/1471-2105-14-356.

Abstract

Background: Modern biological science generates a vast amount of data, the analysis of which presents a major challenge to researchers. Data are commonly represented in tables stored as plain text files and require line-by-line parsing for analysis, which is time consuming and error prone. Furthermore, there is no simple means of indexing these files so that rows containing particular values can be quickly found.

Results: We introduce a new data format and software library called wormtable, which provides efficient access to tabular data in Python. Wormtable stores data in a compact binary format, provides random access to rows, and enables sophisticated indexing on columns within these tables. Files written in existing formats can be easily converted to wormtable format, and we provide conversion utilities for the VCF and GTF formats.

Conclusions: Wormtable's simple API allows users to process large tables orders of magnitude more quickly than is possible when parsing text. Furthermore, the indexing facilities provide efficient access to subsets of the data along with providing useful methods of summarising columns. Since third-party libraries or custom code are no longer needed to parse complex plain text formats, analysis code can also be substantially simpler as well as being uniform across different data formats. These benefits of reduced code complexity and greatly increased performance allow users much greater freedom to explore their data.

MeSH terms

  • Animals
  • Computational Biology / methods*
  • Computer Simulation
  • Databases, Factual*
  • Drosophila Proteins / genetics
  • Electronic Data Processing / methods*
  • Genome, Human*
  • Genome, Insect
  • Genomics / instrumentation
  • Genomics / methods*
  • Humans
  • Libraries, Digital / trends
  • Random Allocation
  • Search Engine
  • Software / trends*

Substances

  • Drosophila Proteins