title: GTRAC: fast retrieval from compressed collections of genomic variants.
abstract: The dramatic decrease in the cost of sequencing has resulted in the generation of huge amounts of genomic data, as evidenced by projects such as the UK10K and the Million Veteran Project, with the number of sequenced genomes ranging in the order of 10 K to 1 M. Due to the large redundancies among genomic sequences of individuals from the same species, most of the medical research deals with the variants in the sequences as compared with a reference sequence, rather than with the complete genomic sequences. Consequently, millions of genomes represented as variants are stored in databases. These databases are constantly updated and queried to extract information such as the common variants among individuals or groups of individuals. Previous algorithms for compression of this type of databases lack efficient random access capabilities, rendering querying the database for particular variants and/or individuals extremely inefficient, to the point where compression is often relinquished altogether.
  
  
  
  We present a new algorithm for this task, called GTRAC, that achieves significant compression ratios while allowing fast random access over the compressed database. For example, GTRAC is able to compress a Homo sapiens dataset containing 1092 samples in 1.1 GB (compression ratio of 160), while allowing for decompression of specific samples in less than a second and decompression of specific variants in 17 ms. GTRAC uses and adapts techniques from information theory, such as a specialized Lempel-Ziv compressor, and tailored succinct data structures.
  
  
  
  The GTRAC algorithm is available for download at: https://github.com/kedartatwawadi/GTRAC CONTACT: : kedart@stanford.edu
  
  
  
  Supplementary data are available at Bioinformatics online.
authors: Department of Electrical Engineering, Stanford University, 350 Serra Mall, Stanford, CA, USA.
authors: Kedar
authors: K
authors: Tatwawadi
authors: Department of Electrical Engineering, Stanford University, 350 Serra Mall, Stanford, CA, USA.
authors: Mikel
authors: M
authors: Hernaez
authors: Department of Electrical Engineering, Stanford University, 350 Serra Mall, Stanford, CA, USA.
authors: Idoia
authors: I
authors: Ochoa
authors: Department of Electrical Engineering, Stanford University, 350 Serra Mall, Stanford, CA, USA.
authors: Tsachy
authors: T
authors: Weissman
mesh_terms: D000465:Algorithms; D044962:Data Compression; D030541:Databases, Genetic; D016678:Genome; D023281:Genomics; D059014:High-Throughput Nucleotide Sequencing; D006801:Humans; D017422:Sequence Analysis, DNA