conLSH: Context based Locality Sensitive Hashing for Mapping of noisy SMRT Reads

Angana Chakraborty, Sanghamitra Bandyopadhyay

Introduction

Third-generation sequencing technologies, such as Pacific Biosciences' (PacBio) Single Molecule Real-Time (SMRT) sequencing, have revolutionized genomics by producing long reads averaging 20KB. These long reads are essential for resolving complex, repetitive regions of the genome. However, they are characterized by high error rates (13–15%), primarily consisting of insertions and deletions (indels). Traditional alignment tools often struggle with this noise, either becoming prohibitively slow or requiring excessive memory. This paper introduces conLSH, a novel alignment algorithm that evolves Locality Sensitive Hashing (LSH) to include sequence context, offering a faster and more memory-efficient solution for mapping noisy SMRT reads.

Methods: Context-based Locality Sensitive Hashing

The fundamental innovation of this work is the transition from standard LSH to Context-based Locality Sensitive Hashing (conLSH).

Contextual Hashing

While traditional LSH hashes similar data points into the same buckets based on content alone, conLSH incorporates the "neighborhood" or context of a sequence. For a given point, the hash value is computed using a window of size $2\lambda + 1$. This ensures that two identical sequences are only hashed together if their surrounding genomic context also matches, significantly reducing false positive matches in repetitive regions.

Comparison of traditional LSH and the proposed conLSH approach.

The Indexing and Alignment Pipeline

The conLSH workflow is divided into two main phases: index construction and read alignment.

  1. Indexing: The reference genome is partitioned into overlapping windows. For each window, conLSH values are computed and stored in a B-Tree index. Unlike the flat hash tables or "PointerLists" used in other tools that pre-allocate space for every possible k-mer, the B-Tree structure only stores hashes that actually appear in the genome. This sparse indexing strategy is the primary driver behind the tool's low memory footprint.
  2. Alignment: When a noisy SMRT read is processed, it is hashed using the same conLSH functions. The algorithm queries the B-Tree to retrieve candidate locations in the reference genome. These candidates are then refined using Sparse Dynamic Programming (SDP) to determine the optimal alignment.
Overview of the conLSH pipeline, showing (a) index tree formation and (b) the alignment process to the reference genome.

Results and Discussion

The authors evaluated conLSH against state-of-the-art aligners like rHAT and BLASR using real PacBio reads (from E. coli to H. sapiens) and simulated datasets.

Performance Gains

The results demonstrate significant improvements over the baseline rHAT aligner:

  • Memory Efficiency: For the human genome, conLSH reduced peak memory usage by 70.3%, requiring only ~4.3 GB compared to rHAT's ~14.5 GB.
  • Processing Speed: The algorithm achieved a 24.2% speedup in total processing time for human datasets.
  • Index Size: The B-Tree approach led to a 94% reduction in index file size for the human genome.
  • Accuracy: Despite the reduced resource requirements, conLSH maintained a high alignment rate of 99.8% for human reads, comparable to or exceeding existing tools.

Key Insights

The success of conLSH stems from its ability to use context as a filter. By requiring matching neighborhoods, the seeding process becomes much more selective, which is particularly beneficial for long reads spanning repetitive elements. Furthermore, the probabilistic nature of LSH makes it inherently resilient to the high indel rates typical of SMRT data.

Conclusion and Future Work

conLSH provides a scalable solution for mapping long, noisy reads on standard hardware. While highly effective, the authors note that performance is sensitive to parameters like the concatenation factor ($K$) and context factor ($\lambda$). Future work will focus on automating parameter selection, optimizing the Sparse Dynamic Programming bottleneck, and implementing multi-core parallelization to further enhance speed.

Summary updated

BibTeX
@article{chakraborty2020conlsh,
  author = {Angana Chakraborty and Sanghamitra Bandyopadhyay},
  title = {{conLSH: Context based Locality Sensitive Hashing for Mapping of noisy SMRT Reads}},
  journal = {Comput. Biol. Chem},
  year = {2020},
  doi = {10.1016/j.compbiolchem.2020.107206},
}
Figure