Efficient Genomic Interval Queries Using Augmented Range Trees

Efficient large-scale annotation of genomic intervals is essential for personal genome interpretation in the realm of precision medicine. There are 13 possible relations between two intervals according to Allen’s interval algebra. Conventional interval trees are routinely used to identify the genomic intervals satisfying a coarse relation with a query interval, but cannot support efficient query for more refined relations such as all Allen’s relations. We design and implement a novel approach to address this unmet need. Through rewriting Allen’s interval relations, we transform an interval query to a range query, then adapt and utilize the range trees for querying. We implement two types of range trees: a basic 2-dimensional range tree (2D-RT) and an augmented range tree with fractional cascading (RTFC) and compare them with the conventional interval tree (IT). Theoretical analysis shows that RTFC can achieve the best time complexity for interval queries regarding all Allen’s relations among the three trees. We also perform comparative experiments on the efficiency of RTFC, 2D-RT and IT in querying noncoding element annotations in a large collection of personal genomes. Our experimental results show that 2D-RT is more efficient than IT for interval queries regarding most of Allen’s relations, RTFC is even more efficient than 2D-RT. The results demonstrate that RTFC is an efficient data structure for querying large-scale datasets regarding Allen’s relations between genomic intervals, such as those required by interpreting genome-wide variation in large populations.

[1]  George S. Lueker,et al.  A data structure for orthogonal range queries , 1978, 19th Annual Symposium on Foundations of Computer Science (sfcs 1978).

[2]  Jon Louis Bentley,et al.  Decomposable Searching Problems , 1979, Inf. Process. Lett..

[3]  D. Willard,et al.  The Super-B-Tree Algorithm. , 1979 .

[4]  H. Edelsbrunner A new approach to rectangle intersections part I , 1983 .

[5]  James F. Allen Maintaining knowledge about temporal intervals , 1983, CACM.

[6]  Mark de Berg,et al.  Orthogonal Range Searching , 1997 .

[7]  M. V. Kreveld Computational Geometry , 2000, Springer Berlin Heidelberg.

[8]  Tom H. Pringle,et al.  The human genome browser at UCSC. , 2002, Genome research.

[9]  Leonidas J. Guibas,et al.  Fractional cascading: I. A data structuring technique , 1986, Algorithmica.

[10]  Leonidas J. Guibas,et al.  Fractional cascading: II. Applications , 1986, Algorithmica.

[11]  Joel E. Richardson,et al.  fjoin: Simple and Efficient Computation of Feature Overlaps , 2006, J. Comput. Biol..

[12]  Alexander V. Alekseyenko,et al.  BIOINFORMATICS ORIGINAL PAPER doi:10.1093/bioinformatics/btl647 Data and text mining Nested Containment List (NCList): a new algorithm , 2022 .

[13]  Gonçalo R. Abecasis,et al.  The Sequence Alignment/Map format and SAMtools , 2009, Bioinform..

[14]  H. Edelsbrunner A new approach to rectangle intersections , 2010 .

[15]  Aaron R. Quinlan,et al.  BIOINFORMATICS APPLICATIONS NOTE , 2022 .

[16]  Richard S. Sandstrom,et al.  BEDOPS: high-performance genomic feature operations , 2012, Bioinform..

[17]  Data production leads,et al.  An integrated encyclopedia of DNA elements in the human genome , 2012 .

[18]  Raymond K. Auerbach,et al.  An Integrated Encyclopedia of DNA Elements in the Human Genome , 2012, Nature.

[19]  ENCODEConsortium,et al.  An Integrated Encyclopedia of DNA Elements in the Human Genome , 2012, Nature.

[20]  Kevin Skadron,et al.  Binary Interval Search: a scalable algorithm for counting interval intersections , 2013, Bioinform..

[21]  William S. Bush,et al.  Rapid storage and retrieval of genomic intervals from a relational database system using nested containment lists , 2013, Database J. Biol. Databases Curation.

[22]  Robert Gentleman,et al.  Software for Computing and Annotating Genomic Ranges , 2013, PLoS Comput. Biol..

[23]  Xin-She Yang,et al.  Introduction to Algorithms , 2021, Nature-Inspired Optimization Algorithms.

[24]  Sek Won Kong,et al.  An Efficient Search Algorithm for Finding Genomic-Range Overlaps Based on the Maximum Range Length , 2015, IEEE/ACM Transactions on Computational Biology and Bioinformatics.

[25]  James Y. Zou Analysis of protein-coding genetic variation in 60,706 humans , 2015, Nature.

[26]  Peter Szolovits,et al.  Efficient Queries of Stand-off Annotations for Natural Language Processing on Electronic Medical Records , 2016, Biomedical informatics insights.

[27]  M. Gerstein,et al.  Role of non-coding sequence variants in cancer , 2016, Nature Reviews Genetics.

[28]  R. Anney,et al.  Autism genetics: opportunities and challenges for clinical translation , 2017, Nature Reviews Genetics.