Hierarchically Labeled Database Indexing Allows Scalable Characterization of Microbiomes

Filippo Utro, Niina Haiminen, Enrico Siragusa, Laura‐Jayne Gardiner, Ed Seabolt, Ritesh Krishna, James H. Kaufman, Laxmi ParidaiScience 2020

TL;DR

This paper introduces PRROMenade, a novel, highly scalable method for classifying microbial sequencing reads by leveraging hierarchical database indexing. It efficiently assigns reads to their lowest taxonomic or functional units, overcoming challenges posed by database redundancy and enabling faster, more accurate microbiome characterization.

What Problem Does This Paper Address?

Analyzing microbial communities (microbiomes) is crucial for understanding health and disease. As our ability to sequence microbial DNA and RNA grows, so does the volume of reference data. A key challenge is accurately and efficiently classifying short sequencing reads to understand the community's composition and function. Existing methods struggle when many reference sequences are highly similar, leading to ambiguous matches. Furthermore, understanding the function of these microbes, not just their identity, is critical, but functional annotation methods can be slow and struggle with database redundancy. This paper tackles the problem of efficiently and accurately assigning sequencing reads to their lowest taxonomic or functional unit within a hierarchical structure, especially when dealing with large, redundant databases.

Methods

The core innovation is PRROMenade, a read classifier that enhances the generalized Burrows-Wheeler transform (GBWT) with a labeling step. This allows for direct assignment of reads to the "lowest taxonomic unit" (LTU) within an annotation hierarchy (like a taxonomy or functional pathway tree).

Here's a breakdown of the key methodological aspects:

  • Hierarchical Indexing: Instead of just matching sequences, PRROMenade leverages the tree-like structure of biological annotations. This means it can assign a read not just to a specific gene or organism, but to a broader functional category or taxonomic group if that's the most precise match available.
  • Generalized Burrows-Wheeler Transform (GBWT): This is a powerful data compression and indexing technique that allows for efficient searching of patterns within large text collections. PRROMenade adapts and extends the GBWT to handle hierarchical annotations.
  • Direct LTU Assignment: The key advantage is that PRROMenade directly assigns a read to its LTU in a single step, avoiding the need for complex post-processing or resolving multiple ambiguous matches, which is a bottleneck in other methods.
  • Maximal Exact Match (MEM) Strategy: The method identifies the longest possible exact matches (MEMs) between a sequencing read and the database. This is crucial for accuracy, especially with noisy or divergent sequences.

Datasets

The authors evaluated PRROMenade using two primary datasets:

  • OMXWare Database: A large database of bacterial protein domains, containing approximately 3.7 billion amino acid sequences from 11.9 million protein domains. This database was annotated with KEGG enzyme codes (EC numbers) for functional classification.
  • GS Database: A smaller database from the mi-faser tool, containing 1.1 million amino acid sequences from 2,810 proteins.

They also used simulated sequencing reads with varying error rates (0%, 5%, 10%, 30%) to assess accuracy under different conditions.

Key Insights and Ideas

  • Hierarchy is Key: The paper demonstrates that leveraging the hierarchical nature of biological annotations (like taxonomic trees or functional pathways) is crucial for efficient and accurate microbiome analysis, especially when dealing with highly similar sequences.
  • Redundancy is a Feature, Not Just a Bug: PRROMenade is specifically designed to handle database redundancy. By directly assigning reads to the lowest common ancestor in the hierarchy, it bypasses the ambiguity that arises from multiple near-identical matches.
  • Speed and Accuracy Can Coexist: The method achieves significant speedups over existing tools like Kaiju and mi-faser, without sacrificing accuracy, particularly for functional classification.
  • Functional Insights from Diet: The application to real-world metatranscriptomic data revealed biologically relevant functional pathways associated with diet-induced changes in the human gut microbiome, highlighting the practical utility of the tool.

Key Results

  • Accuracy: On simulated data with 5% sequencing errors, PRROMenade achieved a functional classification error rate of only 1.5%. The error rate increased linearly with sequence divergence (e.g., 11.0% error with 10% errors, 32.7% with 30% errors).
  • Speed: PRROMenade was significantly faster than existing tools. On experimental metatranscriptomic data, it was more than twice as fast as Kaiju. When compared to mi-faser (an alignment-based approach), PRROMenade was orders of magnitude faster, classifying reads in seconds where mi-faser took minutes.
  • Scalability: The method is designed for large-scale datasets, with the index building for the OMXWare database taking about 11 hours.
  • Functional Profiling: Analysis of metatranscriptomic data from diet studies revealed distinct functional profiles associated with plant-based and animal-based diets, identifying specific metabolic pathways that were differentially enriched.

Limitations and Future Work

  • Error Rate Dependence: The authors acknowledge that classification error rate scales with sequence divergence from the reference database. While PRROMenade still provided meaningful insights even with errors, this is a fundamental limitation of any sequence-based classification.
  • Unclassified Reads: Reads with maximal exact matches shorter than a certain threshold (e.g., 5 AA) were considered unclassified. The authors suggest that a slower, more sensitive method like alignment could be used as a post-processing step for these reads.
  • Parallelization: While the indexing process is described, further parallelization could improve the speed of index construction, which is important as databases continue to grow.
  • Broader Applicability: The authors suggest that the method is not limited to microbiome analysis and can be applied to other domains requiring hierarchical string annotation.

Summary updated

BibTeX
@inproceedings{utro2020hierarchically,
  author = {Filippo Utro and Niina Haiminen and Enrico Siragusa and Laura‐Jayne Gardiner and Ed Seabolt and Ritesh Krishna and James H. Kaufman and Laxmi Parida},
  title = {{Hierarchically Labeled Database Indexing Allows Scalable Characterization of Microbiomes}},
  booktitle = {iScience},
  year = {2020},
  doi = {10.1016/j.isci.2020.100988},
}

Loading related content...

Figure