Search arXivSearch

arXiv · 2403.09010

Lightning-fast adaptive immune receptor similarity search by symmetric deletion lookup

Abstract

An individual's adaptive immune receptor (AIR) repertoire records immune history due to the exquisite antigen specificity of AIRs. Reading this record requires computational approaches for inferring receptor function from sequence, as the diversity of possible receptor-antigen pairs vastly outstrips experimental knowledge. Identification of AIRs with similar sequence and thus putatively similar function is a common performance bottleneck in these approaches. Here, we benchmark the time complexity of five different algorithmic approaches to radius-based search for Levenshtein neighbors. We show that a symmetric deletion lookup approach, originally proposed for spell-checking, is particularly scalable. We then introduce XTNeighbor, a variant of this algorithm that can be massively parallelized on GPUs. For one million input sequences, XTNeighbor identifies all sequence neighbors that differ by up to two edits in seconds on commodity hardware, orders of magnitude faster than existing approaches. We also demonstrate how symmetric deletion lookup can speed up search with more complex sequence-similarity metrics such as TCRdist. Our contribution is poised to greatly speed up existing analysis pipelines and enable processing of large-scale immunosequencing data without downsampling.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Touchchai Chotisorayuth, Andreas Tiffeau-Mayer. 2024-03-14. Lightning-fast adaptive immune receptor similarity search by symmetric deletion lookup. https://arxiv.org/abs/2403.09010

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

Automatic denoising and differentiation based on Savitzky-Golay filtering and Homogeneous Differentiators for attractor reconstruction via differential embedding

Differential embedding methods aim to reconstruct attractors of dynamical systems from noisy measured time series, but require accurate estimates of signal derivatives. We introduce SHADED (Savitzky-Golay and Homogeneous-differentiator based Automatic DEnoising and Differentiation), a novel methodology for denoising and estimation of derivatives up to an arbitrary order, which enables attractor reconstruction via differential embedding from noisy time series data. Homogeneous Differentiators (HD) guarantee finite-time derivative estimates in the presence of noise, while subsequent Savitzky-Golay (SG) filtering attenuates chattering. Crucially, SHADED extracts all parameters required for application of both HD and SG automatically from the data, without requiring manual tuning that may lead to inaccurate reconstruction, and can also incorporate prior knowledge, if available, thereby yielding a flexible tool for data-driven numerical differentiation of noisy signals. The obtained differential embeddings can reveal features of the underlying dynamics that are useful, e.g., for system identification, pattern recognition and discrimination between dynamic regimes; the latter application is particularly important in biomedical settings, to help distinguish between different physiological and pathological states. We demonstrate the efficacy of SHADED by testing it on computational neuroscience models, LTspice-simulated chaotic electronic circuits, and photoplethysmography and arterial blood pressure experimental recordings: across all these case studies, SHADED produces accurate derivative estimates and accurate attractor reconstructions via differential embedding (whenever a ground truth is available) or geometrically coherent and reproducible reconstructions consistent with the expected dynamics (in the absence of a ground truth), without the need for manual parameter tuning.

q-bio.QM

An Investigation of the Channel Capacity of Bacterial Chemotactic Sensors for Low Chemoattractant Concentrations

Bacterial chemotactic sensing converts noisy chemical signals into running and tumbling. We analyze the static sensing limits of mixed Tar/Tsr chemoreceptor clusters in individual \textit{Escherichia coli} cells using a heterogeneous Monod--Wyman--Changeux (MWC) model. Across a seven-dimensional parameter sweep, we compute three sensing-performance metrics -- channel capacity, dynamic range, and effective Hill coefficient -- in the limit that the cells are constantly in such low concentrations of chemoattractant that they need not adapt to new baseline chemoattractant concentration levels. What results are an upper bound on the trajectory mutual information rate given by the static capacity divided by a finite perceptual timescale, a quantitative understanding of the tight connection between channel capacity and dynamic range, and the finding that in this regime channel capacity is well described by a closed-form ceiling depending only on the receptor's baseline activity, which every wild-type and mutant strain in our sample achieves to within a few percent. In more realistic scenarios, adaptation plays a larger role and so do the exact temporal dynamics of chemoattractant concentrations seen by bacteria as they swim. This manuscript thus points to the importance of mapping out naturalistic chemoattractant concentration statistics in the wild as has been done for natural scene statistics.

q-bio.QM

On the interpretation of the kinetics of ligand-receptor binding

When the rates of ligand binding are measured by methods such as surface plasmon resonance, it is common practice to use the observed rate constants for the onset and offset of binding to estimate an equilibrium constant for ligand binding. If this agrees with the equilibrium constant found as the EC50 for binding at equilibrium, this is taken as validation of the measured rates. This is correct only when binding produces no conformation change in the receptor, and ligand binding follows a single exponential time course. Here, we investigate a simple 3 state model in which binding is followed by a conformation change in the receptor. Three special cases of this model in which the time course of onset and offset of ligand binding are close to being single exponentials are analysed. These cases are (1) when binding is much faster than the conformation change, (2) when the conformation change is much faster than binding, and (3) when the rates of ligand dissociation and receptor activation are both fast. It is concluded that the measured rates will often yield an estimate of the equilibrium constant for ligand binding that is close to the effective, or macroscopic, equilibrium constant, the EC50 found by measuring binding at equilibrium, which depends on both of the underlying microscopic equilibrium constants describing ligand binding and the conformation change. The exception to this conclusion is the case when binding is much faster than the subsequent conformation change, though the estimate of the equilibrium constant for ligand binding still depends on both of the underlying microscopic equilibrium constants.

q-bio.QM