arXiv:2609.31501cs.ITSep 2026

Manuscript Offprint

arXiv:2609.31501

Fundamental Limits of Sequence Reconstruction Problems in Immunogenomics

Jaswanthi Mandalapu, Deepak Charan, V. Arvind Rameshwar, Nir Weinberger

Jaswanthi Mandalapu, Deepak Charan, V. Arvind Rameshwar, and Nir Weinberger

Abstract—The goal of personalized immunogenomics is to recover an individual's germline immunoglobulin gene segments from ‘repertoire sequences’ altered by trimming, extension, and mutation. In this work, we study the fundamental trace complexity (or the number of samples/traces required for accurate reconstruction) of D-gene reconstruction under three biologically motivated trace-generation models introduced by Bhardwaj et al. (2021) and develop practical algorithms for reconstruction—problems left open in the original work. First, for the TrimSuffixAndExtend model, we establish the optimal trace complexity to be Θ(n)\Theta(n), and develop a low-complexity Prefix-Filtered Mode (PFM) decoder that achieves this scaling. Second, for the closely related two-sided TrimAndExtend model, we show that the optimal trace complexity is instead Θ(n2)\Theta(n^2), and is achieved by the simple Bit-Wise Mode (BWM) decoder. Third, for the SuffixExtend t_{t}(TrimSuffix) model, we establish polynomially separated lower and upper bounds on trace complexity. Our results follow from information-theoretic lower bounds coupled with tight analyses of the proposed reconstruction algorithms.

I. INTRODUCTION

Recovering an unknown discrete sequence from multiple noisy or corrupted observations is a statistical inference problem that arises in a variety of applications. Of particular interest is the question of how many such observations are required to reconstruct the underlying sequence with a prescribed probability of error. In this work, we study this question for a class of trimming and extension mechanisms motivated by germline gene reconstruction in immunogenomics, where multiple repertoire sequences provide differently corrupted observations of an underlying gene sequence.

Informally speaking, the human immune system generates a large diversity of antibody sequences by assembling and modifying a collection of underlying gene segments. Modern sequencing technologies provide access to large collections of these antibody sequences, but not to the gene segments that generated them. Indeed, the underlying biological process can remove nucleotides (the basic building blocks of DNA) from these segments and insert new ones at their boundaries. Thus, what is observed is not the underlying gene sequence itself, but rather a collection of its (potentially differently) corrupted realizations.

More concretely, each antibody sequence is assembled from variable (V), diversity (D), and joining (J) germline gene segments through a biological process known as V(D)J recombination. High-throughput adaptive immune receptor repertoire sequencing (AIRR-seq) provides access to large collections of the resulting antibody sequences from an individual. Reconstructing the germline segments underlying these sequences is a key inference problem in repertoire analysis [1], [2]. The problem is rendered particularly challenging by incomplete population reference databases, the highly polymorphic nature of immunoglobulin loci, and the fact that an individual typically carries only a subset of the catalogued alleles [3]–[5].

Within this broader setting, the reconstruction of D segments presents an intriguing challenge. In particular, D segments are inherently short, and are trimmed at both ends during V(D)J recombination and subsequently surrounded by non-templated nucleotides. Consequently, the underlying D-gene sequence is not observed directly; instead, one obtains several partial and differently corrupted versions of it. This has motivated specialized computational approaches such as IgScout and MINING-D [6], [7]. More recently, [8] introduced an information-theoretic formulation that captures the underlying biological operations through random trimming and extension mechanisms, with each resulting corrupted observation referred to as a trace. This formulation brings to the fore a natural question: how many independently generated traces are necessary and sufficient to reliably reconstruct the underlying sequence with a given accuracy? While [8] introduced the relevant trace-generation models, a characterization of their fundamental trace complexities, together with low-complexity reconstruction algorithms that attain them, remained largely open. It is precisely these questions that we take up in the present work.

In information-theoretic terms, the underlying gene segment may be viewed as the input to a channel, and each independently generated trace as an output of that channel; we adopt this terminology in what follows. The fundamental quantity of interest is then the trace complexity (or sample complexity), namely, the minimum number of independently generated traces required to reconstruct the underlying sequence with a prescribed probability of error.

References (63)