Manuscript Offprint
arXiv:2610.36559CCP-DP: Cross-cluster context-guided phase dynamic programming for DNA storage sequence reconstruction
Abstract
Motivation: DNA data storage offers high information density and long-term stability, but accurate sequence reconstruction remains challenging under limited sequencing coverage and strong insertion, deletion, and substitution (IDS) noise. Existing reconstruction methods mainly rely on local evidence within individual read clusters. When sequencing coverage is low or indel-induced phase shifts become pronounced, such local evidence may be insufficient to distinguish closely competing candidate sequences.
Results: We present Cross-Cluster Context-Guided Phase Dynamic Programming (CCP-DP), which uses dataset-level cross-cluster information to complement cluster-local evidence and selectively refines ambiguous provisional consensuses. Under the main benchmark settings, CCP-DP achieved exact reconstruction rates of 95.36%–99.98% and outperformed existing methods on multiple datasets. At 5× coverage, CCP-DP improved exact reconstruction by 6.2–17.5 percentage points over the stronger of BBS and CPL across the tested IDS conditions, while maintaining low reconstruction error and computational overhead. Overall, CCP-DP introduces cross-cluster shared information as a complementary source of evidence for DNA sequence reconstruction under challenging conditions.
Availability: Source code is available at https://github.com/ZixinZ3899/CCP-DP.
Keywords: DNA data storage; trace reconstruction; cross-cluster context; dynamic programming
1 Introduction
With the rapid growth of global data, conventional storage media are facing increasing pressure in storage capacity and long-term preservation (Öztürk et al., 2026; Qu et al., 2025). DNA has emerged as a promising storage medium owing to its extremely high storage density and long-term stability (Rebimbas et al., 2026). During DNA synthesis and sequencing, insertion, deletion, and substitution (IDS) errors are introduced into the reads, and their characteristics depend on the underlying experimental platform (Gimpel et al., 2023; Yan et al., 2025; Zhang and Wu, 2025). Third-generation sequencing technologies represented by Oxford Nanopore sequencing have provided a new option for DNA storage readout (Volkel et al., 2025; Zhang et al., 2026). However, nanopore sequencing generally has higher IDS error rates and more complex error patterns, particularly insertions and deletions. Therefore, accurate and efficient sequence reconstruction under complex IDS errors and limited sequencing coverage remains an important challenge in DNA data recovery.
A variety of methods have been developed for DNA sequence reconstruction. MUSCLE-based approaches perform multiple sequence alignment within each read cluster and derive a consensus from the aligned reads (Antkowiak et al., 2020). TrellisBMA uses trellis-based inference to account for sequence misalignment caused by insertions and deletions (Srinivasavaradhan et al., a Provisional consensus construction

b Cross-cluster context and blind IDS estimation
2.1 Cross-Cluster Context Modeling
Provisional guides G = {g1, ..., gN}

other guides
j ≠ i
next-base distribution

cross-cluster reuse p
2.2 Blind IDS channel estimation
Deterministically sampled clusters
aligned reads
gi ... A C G T A G T A A G ...

Estimated IDS channel
Match (M)
Subst. (S)
Deletion (D)
Insertion (I)

phase load:
reuse rate p
trust
coefficient
phase load
anomaly
score
c Selective structured decoding
Reads Ri
Mutually exclusive routing
KEEP reliable guides (high confidence)
Boundary signature
Paired boundary repair
Input
T A C G T A G
insert (at pos 4)
Corrected
A C G C T A G
Residual phase ambiguity (phase uncertain)
Evidence-Guided Banded Phase Trellis
Output
Consensus
sequence
A
C
G
T
A
G
T
A
A
G
Read evidence
Cross-cluster context
Blind IDS channel
Figure 1: Overview of the proposed CCP-DP framework. The method first constructs a provisional consensus for each read cluster, then estimates cross-cluster contextual statistics and the blind IDS channel from the dataset. Based on the resulting reliability information, CCP-DP selectively retains the provisional consensus, applies structured boundary correction, or performs evidence-guided phase dynamic programming to obtain the final reconstruction.
2021), whereas ITR iteratively refines candidate sequences according to the consistency among reads (Sabary et al., 2024). CPL estimates first-order conditional probabilities from pairwise read alignments and searches for an optimal reconstruction path in the resulting graph (Bar-Lev et al., 2025). BBS further combines high-order k-mer statistics with bidirectional beam search to improve reconstruction efficiency (Gu et al., 2025). More recently, deep-learning-based methods have also been introduced. RobuSeqNet models read reliability with a Conformer-based architecture (Qin et al., 2024), DNAFormer combines DNN-based reconstruction with confidence-guided refinement (Bar-Lev et al., 2025), and TReconLM formulates trace reconstruction as a next-token prediction problem using a Transformer (Weindel et al., 2026).
Despite these advances, reconstruction decisions are still driven mainly by evidence within the target cluster (Qu et al., 2022). When the sequencing coverage is low, or when frequent insertion and deletion errors cause substantial sequence misalignment, the limited local evidence within a single cluster may be insufficient to distinguish between several similar candidate sequences reliably. In fact, clusters within the same DNA dataset usually undergo the same synthesis and sequencing pipeline, and are therefore affected by similar channel error mechanisms (Wang et al., 2023). In addition, similar local sequence contexts may recur across different clusters. Such cross-cluster information can provide additional evidence for clusters with insufficient local observations, but has not been fully exploited by existing reconstruction methods.
Based on this observation, we propose Cross-Cluster Context-Guided Phase Dynamic Programming (CCP-DP), which exploits dataset-level cross-cluster contextual information and IDS statistics to provide additional evidence for the reconstruction of difficult clusters.
2.1 Provisional Consensus Construction
The first stage of CCP-DP constructs a provisional consensus of target length L for each read cluster using only cluster-local observations. A representative read is selected as the local reference, and a reliable subset of reads is retained according to their consistency with the reference to reduce the influence of anomalous reads.
Because the reliability and redundancy of local evidence depend on cluster coverage, CCP-DP uses two complementary local reconstruction strategies. For high-coverage clusters, read k-mers are projected onto a common target coordinate system, and candidate k-mers are connected through -overlap constraints. Their support is accumulated within a local neighborhood to tolerate small indel-induced positional shifts, and dynamic programming selects the maximum-support target-length phase chain. For lower-coverage clusters, selected reads are band-aligned to the representative read. The alignments are summarized as base/deletion evidence at reference positions and insertion evidence between adjacent positions. These local event scores are then jointly decoded by a length-constrained dynamic program to produce a provisional consensus of length L. Detailed formulations of both branches are provided in Supplementary Methods and Supplementary Figs. S1–S2.
2.2 Cross-Cluster Context and IDS Estimation
After provisional consensus construction, CCP-DP further exploits shared information across clusters within the same dataset. Because these clusters typically undergo the same synthesis and sequencing process, similar local sequence contexts may recur across clusters, and their reads may exhibit similar insertion, deletion, and substitution (IDS) error characteristics. Based on these shared properties, CCP-DP constructs a cross-cluster sequence-context model and a blind IDS channel model from the current dataset, providing additional statistical evidence for subsequent refinement.
2.2.1 Cross-Cluster Context Model
Let denote the set of provisional consensus sequences. To quantify local-context reuse across clusters, let denote the number of provisional consensus sequences containing k-mer , counting repeated occurrences within the same consensus only once. The cross-cluster reuse rate is defined as
where denotes the k-mer starting at position t in provisional consensus . A larger indicates broader cross-cluster context reuse.
We next construct a leave-one-cluster-out (LOO) model from the provisional consensus set G. Let u denote a context of length k, and let b be its succeeding nucleotide. For target cluster i, the LOO conditional probability is defined as
where denotes the accumulated count over , denotes the contribution of , and is the additive smoothing constant. By subtracting the contribution of from the global statistics, is determined solely by contextual information from the remaining provisional consensus sequences. The reverse context is computed in the same manner and combined with the forward context to provide cross-cluster contextual support.
Because the usefulness of cross-cluster context varies across datasets, CCP-DP introduces a dataset-level trust coefficient to control the contribution of Cross-LOO evidence. The coefficient reflects the reliability of cross-cluster context in the current dataset by shrinking the Cross-LOO distribution toward the uniform distribution:
The value of is selected using separate calibration and validation transitions derived from the provisional guides, without using ground-truth sequences. Cross-cluster evidence is retained only when it shows consistent predictive gain under this internal validation; otherwise, its contribution is suppressed. The resulting controls the Cross-LOO weight in Phase-DP. Detailed candidate settings and acceptance criteria are provided in the Supplementary Methods.
In addition to assessing whether cross-cluster context is reliable at the dataset level, CCP-DP further evaluates whether each provisional consensus still contains pronounced local reconstruction inconsistencies. These inconsistencies are assessed jointly from the Cross-LOO context and the within-cluster read evidence, and are aggregated into a cluster-level anomaly score . A larger indicates a greater concentration of unresolved reconstruction ambiguity within the cluster. Accordingly, , , and characterize cross-cluster reuse, calibrated context reliability, and cluster-level uncertainty, respectively, and are used jointly to determine the scope of subsequent structured decoding. Detailed position-level scoring and aggregation rules are provided in the Supplementary Methods.
2.2.2 Blind IDS Channel Model
In addition to cross-cluster context, CCP-DP estimates a dataset-specific IDS profile from deterministically sampled clusters. Reads are band-aligned to their corresponding provisional consensuses, after which alignment outliers are discarded. Match, substitution, insertion, and deletion events are then accumulated as M, S, I, and D, respectively. Let . The corresponding IDS parameters are estimated as
(3) where , , and denote the effective substitution, insertion, and deletion rates estimated for the current dataset, rather than ground-truth channel parameters.
Because insertions and deletions directly induce phase displacement, we further summarize their combined effect using the phase-load proxy
which characterizes the estimated indel burden over a target-length strand and is used to adapt the subsequent decoding scope.
The decoding scope is determined jointly from , , and ; full routing rules are provided in the Supplementary Methods.
2.3 Evidence-Guided Phase Dynamic Programming
The provisional consensus already provides accurate reconstruction for most clusters. Under low coverage or elevated indel rates, however, residual errors or phase ambiguity may remain in a subset of sequences. CCP-DP therefore selectively refines clusters identified by the adaptive routing procedure. Sequences exhibiting a clear localized boundary phase shift are corrected using recurring terminal structures observed across clusters, whereas more general phase ambiguities are handled by Phase-DP. The two refinement routes are mutually exclusive, so each routed cluster is processed by at most one structured correction.
For the boundary route, a candidate correction is accepted only when , where is the reduction in read-edit energy and the restored terminal-anchor support; otherwise, is retained.
For clusters that remain phase-ambiguous, CCP-DP formulates the subsequent reconstruction as a length-constrained maximum-score path inference problem over a phase-aware trellis, where sequence variations and phase shifts induced by IDS errors are jointly represented. For an active cluster, let denote the provisional-consensus length and the target length. The dynamic-programming state is defined as
where and denote the current reference position and generated sequence length, respectively, represents the recent sequence context, and indicates the current insertion state. Match/substitution, deletion, and insertion transitions update as , , and , respectively. To exclude implausible phase drift, decoding is restricted to a bounded phase band, and valid paths must terminate at . The exact phase-band constraint is given in the Supplementary Methods.
Each transition e is scored by integrating three complementary sources of evidence:
where summarizes the cluster-local evidence obtained from read–guide alignments together with local and position-aware sequence support. represents the forward–reverse Cross-LOO contextual support modulated by the remaining clusters, whereas is the log-likelihood of the corresponding match/substitution, insertion, or deletion event under the estimated blind IDS profile. The effective cross-cluster weight is defined as
so the contribution of cross-cluster evidence is controlled by its dataset-level reliability. The dynamic-programming update is

Read coverage (×)
Read coverage (×)
Read coverage (×)
Figure 2: Exact reconstruction performance across sequencing coverages. Exact reconstruction rates from to coverage are shown for (a) Chandak-108, (b) Chandak-150, and (c) Srinivas-110. CCP-DP is compared with BBS, CPL, and ITR under identical sampled read clusters. Points show the mean over five random seeds, and error bars indicate standard deviations.
The highest-scoring path satisfying the target-length constraint defines the Phase-DP candidate. The candidate replaces the provisional consensus only if it achieves a higher objective score; ties retain the provisional consensus. The complete reconstruction procedure is provided in Supplementary Algorithm S1.
3 Experiments and Results
3.1 Experimental Setup
Problem setup and preprocessing. Each experiment takes clustered noisy reads and the target strand length L as input. CCP-DP reconstructs one length-L sequence per cluster using only the observed reads and statistics estimated from the input data; reference sequences are used only for evaluation. Reads are normalized to the A/C/G/T alphabet before reconstruction.
Datasets. We evaluate CCP-DP on four public DNA storage sequencing datasets: Erlich et al. (152 bp) (Erlich and Zielinski, 2017), Srinivasavaradhan et al. (110 bp) (Srinivasavaradhan et al., 2021), Chandak et al. (108 bp) (Chandak et al., 2020), and Chandak et al. (150 bp) (Chandak et al., 2019). They are hereafter denoted as Erlich-152, Srinivas-110, Chandak-108, and Chandak-150, respectively. These datasets differ substantially in sequencing coverage and IDS error characteristics, providing diverse conditions for evaluating reconstruction performance.
Baseline methods. We compare CCP-DP with five representative reconstruction baselines: MUSCLE (Edgar, 2004), ITR (Sabary et al., 2024), CPL (Bar-Lev et al., 2025), BBS (Gu et al., 2025), and TrellisBMA (Srinivasavaradhan et al., 2021). We further compare CCP-DP with the deep-learning-based methods DNAFormer (Bar-Lev et al., 2025) and TReconLM (Weindel et al., 2026) on Srinivas-110 and Chandak-108, for which trained models are available.
Evaluation metrics. We use the exact reconstruction rate as the primary evaluation metric. For a test set containing N read clusters, it is defined as follows:
where and denote the original and reconstructed sequences of the i-th cluster, respectively. Residual reconstruction error is additionally measured by the mean Levenshtein edit distance (Mean ED), using unit-cost insertion, deletion, and substitution. Its formal definition is provided in Supplementary Methods. Runtime is used to assess computational efficiency.
CCP-DP runtime covers the complete reconstruction pipeline. CPU-based methods use up to 32 threads when supported, whereas DNAFormer and TReconLM runtimes include inference only; detailed settings are provided in Supplementary Methods.
3.2 Overall Reconstruction Performance
Table 1 compares CCP-DP with representative reconstruction baselines on four public datasets. Overall, CCP-DP achieves high reconstruction accuracy across all evaluated datasets. On Erlich-152, where performance is already near saturation, CCP-DP reaches exact reconstruction, tying with BBS for the best result. On Srinivas-110, Chandak-108, and Chandak-150, CCP-DP achieves the highest exact reconstruction rates of , , and , respectively. The largest improvement over the strongest baseline is observed on Srinivas-110, where CCP-DP improves exact reconstruction from to while requiring .
Table 1: Overall reconstruction performance.
| Dataset | Method | Exact Rec. (%) | Mean ED | Runtime (s) |
|---|---|---|---|---|
| Erlich-152 | MUSCLE | 99.96 | 0.0003 | 197.340 |
| ITR | 99.97 | 0.0002 | 12122.000 | |
| CPL | 99.97 | 0.0003 | 162.670 | |
| BBS | 99.98 | 0.0002 | 12.950 | |
| TrellisBMA | 99.96 | 0.0007 | 8827.000 | |
| CCP-DP | 99.98 | 0.0002 | 7.456 | |
| Srinivas-110 | MUSCLE | 73.81 | 0.3745 | 409.898 |
| ITR | 87.58 | 0.2323 | 386.570 | |
| CPL | 94.85 | 0.1540 | 25.883 | |
| BBS | 95.82 | 0.1298 | 3.060 | |
| TrellisBMA | 69.81 | 0.8811 | 1373.700 | |
| CCP-DP | 98.01 | 0.0491 | 1.782 | |
| Chandak-108 | MUSCLE | 62.76 | 0.5921 | 3185.340 |
| ITR | 64.12 | 0.6657 | 87.470 | |
| CPL | 90.93 | 0.2025 | 162.670 | |
| BBS | 93.45 | 0.2019 | 1.110 | |
| TrellisBMA | 52.11 | 1.7094 | 866.490 | |
| CCP-DP | 95.36 | 0.1221 | 2.200 | |
| Chandak-150 | MUSCLE | 36.44 | 0.7148 | 170.560 |
| ITR | 72.19 | 0.3431 | 2002.900 | |
| CPL | 97.81 | 0.0588 | 30.380 | |
| BBS | 97.01 | 1.7819 | 3.780 | |
| TrellisBMA | 66.34 | 0.9508 | 1432.890 | |
| CCP-DP | 98.25 | 0.0520 | 1.827 |
Comparisons with the deep-learning-based methods DNAFormer and TReconLM are reported in Supplementary Table S2. CCP-DP achieves higher reconstruction accuracy on both Srinivas-110 and Chandak-108, without requiring dataset-specific training or fine-tuning.
3.3 Robustness Across Sequencing Coverages
To evaluate reconstruction robustness under limited sequencing coverage, we tested Chandak-108, Chandak-150, and Srinivas-110 from to coverage using identical sampled read clusters across methods. As shown in Fig. 2, the advantage of CCP-DP is most pronounced in the low-coverage regime. CCP-DP maintains a clear lead on Chandak-108 and remains competitive on Chandak-150 and Srinivas-110 as coverage increases. The corresponding mean edit-distance results are provided in Supplementary Fig. S4.
a

b

Mean ± s.d. over five paired seeds. Success = CCP-DP - max(BBS, CPL).
Figure 3: Performance across coverage and IDS conditions. (a) Exact-reconstruction gain over the stronger of BBS and CPL (mean ± s.d., five seeds). (b) Fraction of clusters routed to structured decoding; dashed boxes mark the densely sampled low-coverage regime.



Exact rescue Partial improvement Unchanged Worsened
Figure 4: Difficult-cluster identification and error correction in CCP-DP. (a,b) Guide and final failure rates across anomaly-score deciles for Srinivas-110 and Chandak-108. (c) Error-type composition of erroneous provisional guides. (d,e) Reconstruction outcomes after structured decoding. (f) Relative edit-distance reduction by guide-error type.
3.4 Performance Across Coverage and IDS Conditions
To further characterize CCP-DP under varying coverage and IDS conditions, synthetic read clusters were generated from Srinivas-110 across nine coverage levels (5–20×) and five total indel rates (2–10%), with a fixed 2% substitution rate and equal insertion and deletion rates. Each condition used five paired random seeds, and CCP-DP was compared with BBS and CPL on identical generated inputs.
As shown in Fig. 3(a), the advantage of CCP-DP is most pronounced at low coverage. At coverage, CCP-DP improves exact reconstruction by 6.2–17.5 percentage points over the stronger of BBS and CPL, with the largest gain of percentage points at a 6% indel rate. As coverage increases, the local read evidence reduces the relative gain of CCP-DP. Under the extreme 10% indel condition, negative gains appear at several intermediate coverage levels, a

b
Mean edit distance
C
d
Difficulty vs activation
e
Activation vs accuracy gain
f
Runtime efficiency
Figure 5: Cross-cluster context and selective decoding in CCP-DP. (a,b) Exact reconstruction and mean edit distance under four context settings on Srinivas-110 and Chandak-108. (c) Cluster-level changes induced by Correct Cross-LOO relative to No Cross-LOO, decode-all. (d,e) Relationships between decoding fraction, provisional-guide failure, and reconstruction gain. (f) Runtime comparison between selective and decode-all decoding.
indicating remaining limitations under severe IDS corruption.
Fig. 3(b) further shows that the routed fraction tracks reconstruction difficulty, increasing as coverage decreases and the indel rate rises.
3.5 Difficult-Cluster Identification and Error Correction
Because most clusters are already resolved during provisional consensus construction, the remaining errors are concentrated in a smaller subset of difficult clusters. As shown in Fig. 4(a,b), guide failures are strongly enriched in the highest anomaly-score deciles, with ROC-AUC values of 0.996 and 0.920 on Srinivas-110 and Chandak-108, respectively. Structured decoding substantially reduces the corresponding failure rates, supporting anomaly-guided selective refinement.
Error-type analysis shows that paired indels dominate the erroneous provisional guides, accounting for 61.0% and 77.3% of guide failures on Srinivas-110 and Chandak-108, respectively (Fig. 4(c)). Structured decoding exactly rescues 76.5% and 67.3% of these paired-indel errors and also reduces edit distance across substitution, paired-indel, and mixed-error categories (Fig. 4(d–f)). These results show that CCP-DP concentrates refinement on difficult clusters and effectively corrects the dominant residual error modes.
3.6 Cross-Cluster Context and Selective Decoding
To isolate the contribution of cross-cluster context, we compared Correct Cross-LOO with the No Cross-LOO, decode-all, Table-permuted, and Wrong-dataset controls on Srinivas-110 and Chandak-108. All four conditions decoded every cluster using the same guides, blind IDS profile, calibration factor and decoder settings; they differed only in the Cross-LOO context supplied to the trellis. Detailed definitions are provided in the Supplementary Methods.
As shown in Fig. 5(a–c), Correct Cross-LOO improves exact reconstruction relative to No Cross-LOO, decode-all, from 94.14% to 98.01% on Srinivas-110 and from 91.41% to 95.36% on
Chandak-108, while also substantially reducing the mean edit distance. In contrast, permuted or mismatched contextual information consistently degrades reconstruction performance. At the cluster level, Correct Cross-LOO yields net gains of 386 and 58 exact reconstructions on the two datasets, respectively. Together, these results show that the benefit of Cross-LOO arises from reusable within-dataset contextual structure rather than from merely introducing an additional scoring term.
The value of selective decoding is further reflected in how CCP-DP adapts its decoding scope across datasets. Rather than fixing the amount of structured decoding in advance, CCP-DP adjusts the routed fraction according to provisional-guide reliability and dataset-level error conditions. As shown in Fig. 5(d–e), Erlich-152 requires almost no further refinement, whereas approximately 10% and 13% of clusters are routed on Srinivas-110 and Chandak-150, respectively. In contrast, the more challenging Chandak-108 dataset activates structured decoding for all clusters.
This adaptive allocation also improves efficiency. Relative to decode-all reconstruction, selective routing reduces runtime by approximately 66–74% on Erlich-152, Srinivas-110, and Chandak-150, whereas little additional saving is possible on Chandak-108 because nearly all clusters require further decoding (Fig. 5(f)).
3.7 Ablation Study
Ablation experiments further verify the roles of the main CCP-DP components. On Srinivas-110, removing the Cross-LOO score while retaining adaptive routing reduced exact reconstruction from 98.01% to 94.14%; the Local trellis, decode-all variant, which removes both Cross-LOO and blind IDS likelihood terms, reached 94.86%. Removing the blind IDS likelihood yielded 97.94%. Full decode-all retained 98.01% accuracy but increased runtime from 1.782 s to 6.824 s, supporting adaptive selective routing. Complete ablation and sensitivity results are provided in Supplementary Table S3 and Fig. S3.
4 Conclusion
This work shows that reusable sequence context across read clusters can provide effective complementary evidence for DNA trace reconstruction when cluster-local observations are insufficient. CCP-DP integrates cluster-local reconstruction with calibrated cross-cluster context and selective phase-aware refinement, allowing additional evidence to be introduced when local reconstruction remains ambiguous. Across multiple real DNA storage datasets and diverse sequencing conditions, the method achieves consistently high exact reconstruction accuracy while maintaining low residual error and computational cost. Mechanism and ablation analyses further demonstrate that the observed gains arise primarily from informative cross-cluster context, while selective decoding reduces computation by concentrating refinement on clusters with greater residual uncertainty.
The benefit of CCP-DP depends on the strength of reusable cross-cluster structure and the fraction of clusters requiring structured decoding. When cross-cluster patterns are weak or difficult clusters are widespread, its statistical and computational advantages may be reduced. Future work may explore more flexible cross-cluster modeling, improved confidence estimation, and broader adaptation to diverse sequencing conditions.
Data and Code Availability
The datasets analyzed in this study are publicly available from the corresponding original publications. The CCP-DP implementation and scripts for reproducing the main experiments are available at https://github.com/ZixinZ3899/CCP-DP; no new sequencing data were generated in this study.
Funding
This work is supported by the National Key Research and Development Program of China (2025YFC3409900), the Tianjin Municipal Science and Technology Major Program (25ZXZSSS00390), the Tianjin Future Industry Science and Technology Major Project (25ZXWCSY00290), the Emerging Frontiers Cultivation Program of Tianjin University Interdisciplinary Center, and the Independent Research Project of State Key Laboratory of Synthetic Biology (HCZC-202605A).
References
P. L. Antkowiak, J. Lietard, M. Z. Darestani, M. M. Somoza, W. J. Stark, R. Heckel, and R. N. Grass. Low cost DNA data storage using photolithographic synthesis and advanced information reconstruction and error correction. Nature Communications, 11:5345, 2020.
D. Bar-Lev, I. Orr, O. Sabary, T. Etzion, and E. Yaakobi. Scalable and robust DNA-based storage via coding theory and deep learning. Nature Machine Intelligence, 7(4):639–649, 2025.
S. Chandak, K. Tatwawadi, B. Lau, J. Mardia, M. Kubit, J. Neu, P. Griffin, M. Wootters, T. Weissman, and H. Ji. Improved read/write cost tradeoff in DNA-based data storage using LDPC codes. In 2019 57th Annual Allerton Conference on Communication, Control, and Computing (Allerton), pages 147–156, 2019.
S. Chandak, J. Neu, K. Tatwawadi, J. Mardia, B. Lau, M. Kubit, R. Hulett, P. Griffin, M. Wootters, T. Weissman, and H. Ji. Overcoming high nanopore basecaller error rates for DNA storage via basecaller-decoder integration and convolutional codes. In 2020 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 8822–8826, 2020.
R. C. Edgar. MUSCLE: Multiple sequence alignment with high accuracy and high throughput. Nucleic Acids Research, 32(5):1792–1797, 2004.
Y. Erlich and D. Zielinski. DNA fountain enables a robust and efficient storage architecture. Science, 355(6328):950–954, 2017.
A. L. Gimpel, W. J. Stark, R. Heckel, and R. N. Grass. A digital twin for DNA data storage based on comprehensive quantification of errors and biases. Nature Communications, 14:6026, 2023.
R. N. Grass, R. Heckel, M. Puddu, D. Paunescu, and W. J. Stark. Robust chemical preservation of digital information on DNA in silica with error-correcting codes. Angewandte Chemie International Edition, 54(8):2552–2555, 2015. doi: 10.1002/anie.201411378.
Z. Gu, H. Xin, P. Sharma, G. Y. Goh, L. Wong, and N. Nagarajan. Efficient trace reconstruction in DNA storage systems using bidirectional beam search. iScience, 28(11):113791, 2025.
B. Öztürk, A. İgit, S. Arıç, A. Kaya, Z. T. Çamlıca, and M. F. Şahin. DNA data storage: A critical review of bio-algorithmic integration, performance-cost tradeoffs, and future directions for scalable architectures. Archives of Computational Methods in Engineering, pages 1–39, 2026.
Y. Qin, F. Zhu, B. Xi, and L. Song. Robust multi-read reconstruction from noisy clusters using deep neural network for DNA storage. Computational and Structural Biotechnology Journal, 23:1076–1087, 2024.
G. Qu, Z. Yan, and H. Wu. Clover: tree structure-based efficient dna clustering for dna-based data storage. Briefings in Bioinformatics, 23(5):bbac336, 2022.
G. Qu, Z. Yan, X. Chen, and H. Wu. Dna data storage for biomedical images using helix. Nature computational science, 5(5):397–404, 2025.
R. Rebimbas, I. Glória, J. Chegão, M. Al-Rawi, A. M. Ganjeh, and J. A. Saraiva. DNA as a data storage medium. Journal of Biotechnology, 414:19–35, 2026.
O. Sabary, A. Yucovich, G. Shapira, and E. Yaakobi. Reconstruction algorithms for DNA-storage systems. Scientific Reports, 14:1951, 2024.
S. R. Srinivasavaradhan, S. Gopi, H. D. Pfister, and S. Yekhanin. Trellis BMA: Coded trace reconstruction on IDS channels for DNA storage. In 2021 IEEE International Symposium on Information Theory (ISIT), pages 2453–2458, 2021.
K. D. Volkel, P. W. Hook, A. Keung, W. Timp, and J. M. Tuck. Nanopore decoding with speed and versatility for data storage. Bioinformatics, 41(1):btaf006, 2025.
Y. Wang, M. Noor-A-Rahim, E. Gunawan, Y. L. Guan, and C. L. Poh. Modelling, characterization of data-dependent and process-dependent errors in DNA data storage. IEEE/ACM Transactions on Computational Biology and Bioinformatics, 20(3):2147–2158, 2023.
F. Weindel, M. Girsch, and R. Heckel. Trace reconstruction with language models. Transactions on Machine Learning Research, 2026-June, 2026. ISSN 2835-8856.
L. Welter, R. Sokolovskii, T. Heinis, A. Wachter-Zeh, E. Rosnes, and A. G. i Amat. An end-to-end coding scheme for DNA-based data storage with nanopore-sequenced reads. IEEE Journal on Selected Areas in Information Theory, 7:17–32, 2026.
Z. Yan, G. Qu, X. Chen, G. Zheng, and H. Wu. Dna stairloop: enabling high-fidelity data recovery and robust error correction in dna-based data storage. Nature Communications, 16(1):9191, 2025.
R. Zhang and H. Wu. Gc-balanced polar codes correcting insertions, deletions and substitutions for dna storage. Briefings in bioinformatics, 26(3):bbaf278, 2025.
Y. Zhang, R. Qin, Q. Ge, Q. Guo, and W. Chen. From spacecraft ranging to massive DNA data storage: Composite ranging codes as indices and error correction references. Science Advances, 12(16):eaec1469, 2026.
Supplementary Materials for
CCP-DP: Cross-cluster context-guided phase dynamic programming for DNA storage sequence reconstruction
Zixin Zhang , Guanjin Qu , and Huaming Wu
Center for Applied Mathematics, KL-AAGDM, Tianjin University, China
State Key Laboratory of Synthetic Biology, Tianjin University, China
Corresponding author: whming@tju.edu.cn
S1 Supplementary Methods
S1.1 Implementation details of provisional consensus construction
High-coverage positional k-mer phase chain. For high-coverage clusters, the abundance of read observations makes position-specific k-mer statistics sufficiently stable to construct the provisional guide without requiring a full multiple-read alignment. The high-coverage branch therefore represents each read as a sequence of overlapping k-mers and maps these local sequence patterns onto a common target coordinate system.
Let be a read of length , and let the -th -mer in start at read coordinate . Its center target layer is defined as
where L is the target sequence length. This normalization maps the k-mer layers of reads with different lengths onto the common target layer range .
Because insertions and deletions can introduce small local coordinate shifts, a projected k-mer does not contribute evidence only to its center layer. Instead, its support is distributed over a local neighborhood around . With the default positional radius , the support contribution at offset is
which correspond to relative weights 1, 2, 3, 2, 1 over layers , , , , , respectively. Positions outside the valid target layer range are ignored. This local spreading allows evidence from the same underlying sequence context to remain mutually supportive even when small indel-induced shifts cause corresponding k-mers from different reads to be projected to slightly different target layers.
The neighborhood-weighted support is then accumulated across all reads in the cluster. At each target layer, multiple k-mer candidates may therefore receive different levels of aggregated support. Rather than selecting the highest-supported candidate independently at each position, CCP-DP links candidates at adjacent layers only when the suffix of length of the preceding k-mer matches the prefix of length of the succeeding k-mer. These overlap constraints form a layered k-mer phase chain that preserves sequence continuity across the target.
Dynamic programming is finally used to identify the overlap-consistent path with the maximum cumulative support across the target layers. The first k-mer initializes the reconstructed sequence, and each subsequent layer contributes the final nucleotide of the selected k-mer, yielding a provisional guide of exactly length L.
Supplementary Fig. S1 illustrates this procedure using a schematic example with , L=10, and k=4. The example values are chosen only for visual clarity.

Supplementary Figure S1: Position-aware k-mer aggregation and fixed-length decoding in the high-coverage provisional-consensus branch. Overlapping k-mers extracted from each read are first mapped to normalized target layers. Each projected k-mer contributes distance-weighted support to a local positional neighborhood, and support is accumulated across reads. Candidate k-mers at adjacent layers are connected through -base overlap constraints, and dynamic programming recovers the maximum-support target-length path. A schematic example with , , and is shown for illustration.
Low-coverage banded-evidence reconstruction. For lower-coverage clusters, the representative read is used mainly as a local coordinate reference. It is not treated as a fixed consensus. The selected reads are aligned independently to this reference using banded global edit-distance alignment. After alignment, equivalent gap positions in repetitive regions are left-normalized. This prevents evidence for the same indel event from being split across neighboring positions.
The alignments are then converted into two types of local evidence. At each seed position , records the support for , , , , and deletion. Between adjacent seed positions, records insertion candidates, including the empty event for no insertion. For a seed of length , these evidence units are arranged as
which gives ordered evidence layers. The aggregated counts are converted into smoothed log-scores before decoding. Mild priors favor no insertion and no deletion, while gap events receive an additional penalty.
The evidence layers are decoded jointly under the known target length . Let denote the best cumulative score after the first layers have been processed and nucleotides have been generated. Emitting a base from increases the output length by one, whereas deletion leaves it unchanged. Likewise, an insertion from increases the output length, while no insertion keeps the same length. States exceeding L are discarded. The provisional guide is recovered by backtracking from the best terminal state with length exactly L. Thus, the method does not make independent decisions at each position. Instead, it searches for the highest-scoring sequence of local events that is globally consistent with the target length.
Supplementary Fig. S2 illustrates the process with . At , the representative seed contains , but the aligned reads provide stronger support for . The DP therefore chooses and corrects the seed at this position. At , two reads support an inserted , whereas five reads support no insertion. The insertion remains a valid candidate, but the best length-9 path does not select it. The final provisional guide is therefore ACATAGTAC. This example shows that the representative read provides the coordinate system, while the combined read evidence and the target-length constraint determine the final sequence.
representative seed s (m = 9)
| A | C | G | T | A | G | T | A | C | |
|---|---|---|---|---|---|---|---|---|---|
| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | |
| A | C | A | T | A | G | T | A | C | |
| A | C | G | T | A | G | T | A | C | |
| A | C | A | T | A | G | T | A | C | |
| A | C | A | T | A | G | G | T | A | C |
| A | C | A | T | A | G | G | T | A | C |
| A | C | G | T | A | G | T | C | C | |
| A | C | - | T | A | G | T | A | C | |
Seed position j

Base / deletion evidence (j = 0, ..., 8)
| j | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
|---|---|---|---|---|---|---|---|---|---|
| A | 7 | 0 | 4 | 0 | 7 | 0 | 0 | 6 | 0 |
| C | 0 | 7 | 0 | 0 | 0 | 0 | 0 | 1 | 7 |
| G | 0 | 0 | 2 | 0 | 0 | 7 | 0 | 0 | 0 |
| T | 0 | 0 | 0 | 7 | 0 | 0 | 7 | 0 | 0 |
| DEL | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 |
Insertion evidence (j = 0, ..., 9)
| j | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
|---|---|---|---|---|---|---|---|---|---|---|
| A | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| C | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| G | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 0 |
| T | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| ∅ | 7 | 7 | 7 | 7 | 7 | 5 | 7 | 7 | 7 | 7 |
evidence layers
Provisional guide gi
| A | C | A | T | A | G | T | A | C |
Supplementary Figure S2: Low-coverage provisional-consensus construction using alignment-derived evidence and fixed-length dynamic programming. Selected reads are aligned to a representative seed, and the resulting alignments are summarized into base/deletion evidence at seed positions and insertion evidence between adjacent positions. These evidence units are arranged as and jointly decoded under the target-length constraint. In the schematic example ( ), evidence at corrects the representative-seed nucleotide from G to A, whereas the insertion candidate G at is not selected by the optimal length-9 path. Backtracking yields the provisional guide ACATAGTAC.
S1.2 Cross-LOO trust calibration
Because the reliability of cross-cluster context can vary across datasets, CCP-DP uses a dataset-level trust coefficient to adaptively control the contribution of Cross-LOO evidence. The coefficient determines the degree to which the Cross-LOO distribution is shrunk toward the uniform distribution:
Smaller values of reduce the influence of cross-cluster context, whereas larger values preserve more of the dataset-specific Cross-LOO information.
To select this coefficient, CCP-DP evaluates candidate values from using separate calibration and validation subsets formed from provisional-guide transitions. The candidate with the largest mean predictive gain on the calibration subset is selected provisionally, and its stability is then assessed on the validation subset. It is retained only when the validation gain exceeds
where SE denotes the standard error of the validation gain. Otherwise, is set to zero, thereby suppressing unreliable cross-cluster evidence. The entire calibration procedure relies only on provisional guides and statistics estimated from the current input, without using ground-truth sequences.
S1.3 Adaptive routing of structured decoding
CCP-DP does not apply structured decoding uniformly to all read clusters. Instead, the decoding scope is determined adaptively from dataset-level evidence and cluster-specific uncertainty. The routing policy is controlled primarily by the cross-cluster reuse rate , the phase-load proxy , and the cluster anomaly score . All of these quantities are computed from provisional consensuses, observed reads, and dataset-level statistics, without access to the ground-truth sequences.
Cluster anomaly score. For each provisional consensus , CCP-DP measures local inconsistency using both cross-cluster contextual evidence and within-cluster read evidence. For position , let denote the Cross-LOO context anomaly and the within-cluster read-context anomaly. These two components are combined as
where controls the contribution of the within-cluster component. Both anomaly terms are derived from the maximum surprise score among the context windows covering position j, so that pronounced local inconsistencies are not diluted by neighboring well-supported regions.
To summarize the uncertainty of the entire cluster, CCP-DP averages the most anomalous positions:
A larger therefore indicates a greater concentration of unresolved local inconsistency in the provisional consensus.
When cross-cluster reuse is sufficiently high ( ), anomaly scores are used to identify a high-risk subset of clusters. A two-means partition is applied to the anomaly-score distribution, and the high-anomaly component is selected when the two components are sufficiently separated. The resulting decoding fraction is constrained to the range 10–50%. If no clearly separated high-anomaly component is detected, CCP-DP falls back to decoding only the top 10% of clusters ranked by anomaly score.
When cross-cluster reuse is lower ( ), the decoding scope depends more strongly on the estimated phase load. For low phase load ( ), structured decoding is restricted to clusters with insufficient local support. Under moderate phase load, anomaly and coverage information are used jointly to broaden the selected subset. When the phase load becomes sufficiently large ( ), structured decoding is applied densely to account for widespread phase ambiguity. In the uncommon case where the Cross-LOO prior is rejected under low reuse and moderate phase load, decoding is conservatively expanded to all clusters.
This adaptive allocation concentrates additional computation on difficult clusters while avoiding unnecessary structured inference for clusters whose provisional consensuses are already well supported by local evidence.
S1.4 Complete Evidence-Guided Reconstruction Procedure
The complete reconstruction procedure of CCP-DP is summarized in Supplementary Algorithm S1. For each cluster, the algorithm first determines whether a localized boundary correction is applicable. Otherwise, the routing decision determines whether the provisional consensus is retained directly or further refined by Phase-DP. The Phase-DP candidate is accepted only when it achieves a higher score than the provisional consensus under the same objective.
For an active cluster, let denote the provisional-consensus length and the target length. To restrict implausible phase drift during Phase-DP, only states satisfying
are retained, where denotes the phase-band width. Valid reconstruction paths must terminate at , ensuring that the decoded sequence satisfies the target-length constraint.
Each admissible transition e is scored by combining cluster-local, cross-cluster, and channel evidence:
where denotes the cluster-local evidence derived from read-guide alignments and position-aware sequence support, denotes the forward-reverse Cross-LOO contextual support, and is the log-likelihood of the corresponding transition under the estimated blind IDS profile. The effective cross-cluster weight is
so that the Cross-LOO contribution is modulated by the dataset-level trust coefficient .
S1.5 Cross-LOO counterfactual controls
To isolate the contribution of cross-cluster contextual information, we performed a counterfactual evaluation on Srinivas-110 and Chandak-108 using four context configurations: No Cross-LOO, decode-all, Table-permuted, Wrong-dataset, and Correct Cross-LOO. All configurations used the same target read clusters, provisional guides, blind IDS profile, decoder parameters, and target length. Adaptive routing was disabled using the decode-all setting, so every cluster was subjected to structured decoding in each condition. Ground-truth centers were used only for post hoc evaluation.
The four configurations differed only in the contextual evidence supplied to the decoder. Correct Cross-LOO used the standard leave-one-cluster-out model constructed from the provisional guides of the target dataset. No Cross-LOO, decode-all disabled only the Cross-LOO contribution to trellis scoring while retaining the local read evidence, blind IDS likelihood, and all other decoder components. Table-permuted randomly reassigned the empirical Cross-LOO statistics across context keys, preserving the overall count distribution while disrupting the correspondence between sequence context and conditional statistics. Wrong-dataset instead supplied a Cross-LOO model constructed from the other real dataset.
For all counterfactual controls, was fixed to the calibrated value obtained from the correctly matched target-dataset Cross-LOO model. Thus, the Table-permuted and Wrong-dataset conditions changed only the Cross-LOO context itself, while keeping its calibrated contribution unchanged. The Table-permuted condition was repeated with five fixed random seeds (2026–2030), whereas the other three configurations were deterministic.
Algorithm S1 Evidence-Guided Phase Reconstruction
Require: Read cluster , provisional consensus , target length ; Cross-LOO model ; blind IDS profile ; routing decision
Ensure: Reconstructed sequence
1: if a localized boundary phase shift is detected then 2: Construct the boundary-correction candidate 3: Evaluate and 4: if then 5: return 6: else 7: return 8: end if 9: end if 10: if then 11: return 12: end if 13: Initialize 14: for each valid state within the phase band do 15: for each admissible transition do 16: Determine the successor state 17: Compute using the Phase-DP scoring function 18: Update the corresponding DP state 19: end for 20: end for 21: Recover the Phase-DP candidate 22: Evaluate under the same scoring objective 23: if then 24: return 25: else 26: return 27: end if
S1.6 Experimental protocols and computational settings
Evaluation metrics. In addition to exact reconstruction rate, residual reconstruction error was measured using the mean Levenshtein edit distance. For N read clusters, it is defined as
where and denote the original and reconstructed sequences of the -th cluster, respectively, and denotes the Levenshtein distance with unit-cost insertion, deletion, and substitution.
Input and preprocessing. CCP-DP takes as input clustered noisy reads together with the target strand length L. Reconstruction uses only the observed reads, provisional guides, and dataset-level statistics estimated from the current input; reference center sequences are used only for post hoc evaluation. The experiments use processed clustered-read benchmark files. CCP-DP does not perform additional primer/index trimming or read-orientation normalization during reconstruction.
Coverage-based experiments. For coverage-robustness experiments, the same nested sampled read clusters were shared by all compared methods, using five random seeds (2026–2030).
Supplementary Table S1: Definition of the Cross-LOO counterfactual controls. All four conditions decode every cluster and differ only in the Cross-LOO context supplied to the structured decoder.
| Condition | Guides | Blind IDS | Decode set | Context field | |
|---|---|---|---|---|---|
| No Cross-LOO, decode-all | Fixed | Fixed | Fixed | All clusters | Disabled |
| Table-permuted | Fixed | Fixed | Fixed | All clusters | Permuted target context |
| Wrong-dataset | Fixed | Fixed | Fixed | All clusters | Other-dataset context |
| Correct Cross-LOO | Fixed | Fixed | Fixed | All clusters | Matched target context |
CCP-DP was rerun independently on each sampled input so that its provisional guides, Cross-LOO statistics, blind IDS profile, and routing decisions were re-estimated from that input. In the controlled coverage–IDS experiments, synthetic reads were generated from Srinivas-110 under the specified coverage and IDS settings, with a fixed 2% substitution rate and equal insertion and deletion probabilities. All methods were evaluated on the same generated inputs for each seed and condition.
Computational environment and runtime. CPU-based experiments were conducted on a server with two Intel Xeon Gold 6130H processors and 64 GB RAM. CCP-DP was compiled with GCC/G++ 9.4.0 using C++17, -03, and OpenMP, and was executed with 32 CPU threads. Deep-learning-based baselines were evaluated on a single NVIDIA RTX 3090 GPU. CCP-DP runtime is reported as end-to-end program time, including guide construction, dataset-level statistics, routing, and structured decoding, but excluding post hoc evaluation. Runtime repetition protocols differed across experiments: routing and ablation comparisons used three repeated runs, whereas coverage-based experiments were summarized over five random seeds.
S2 Supplementary Results
S2.1 Comparison with deep-learning-based baselines
We further compared CCP-DP with the deep-learning-based reconstruction methods DNAFormer and TReconLM on Srinivas-110 and Chandak-108. The comparison was restricted to these two datasets because reproducible trained models with matching strand lengths were available for both deep-learning-based baselines. Extending the evaluation to datasets with other strand lengths would require additional model training or fine-tuning, which would introduce training-dependent variability and complicate direct comparison across datasets.
In contrast, CCP-DP does not rely on dataset-specific model training. Its reconstruction procedure adapts to a new input dataset through statistics estimated directly from the observed read clusters, allowing the same inference framework to be applied across different target lengths and error regimes. This provides training-free portability that is not contingent on the availability of a length-matched trained model.
As shown in Supplementary Table S2, CCP-DP achieved the highest exact reconstruction rate and the lowest mean edit distance on both evaluated datasets. On Srinivas-110, the exact reconstruction rates of DNAFormer, TReconLM, and CCP-DP were 90.68%, 92.07%, and 98.01%, respectively. On Chandak-108, the corresponding rates were 34.56%, 48.19%, and 95.36%, demonstrating a substantially larger performance gap under the more challenging reconstruction condition.
Runtime comparisons should be interpreted with respect to their different measurement scopes. CCP-DP is reported using end-to-end CPU runtime, whereas the reported runtimes for
Supplementary Table S2: Comparison with deep-learning-based reconstruction methods. The comparison is reported on datasets for which reproducible trained models with matching strand lengths were available for both DNAFormer and TReconLM. CCP-DP runtime corresponds to end-to-end CPU execution, whereas runtimes of the deep-learning-based methods correspond to GPU inference only.
| Dataset | Method | Exact reconstruction (%) | Reconstruction rate (%) | Mean ED | Runtime (s) |
|---|---|---|---|---|---|
| Srinivas-110 | DNAFormer | 90.68 | 99.83 | 0.3277 | 27.32 |
| TReconLM | 92.07 | 99.85 | 0.1679 | 330.89 | |
| CCP-DP | 98.01 | 99.96 | 0.0491 | 1.782 | |
| Chandak-108 | DNAFormer | 34.56 | 93.68 | 2.6741 | 8.97 |
| TReconLM | 48.19 | 98.72 | 1.3829 | 4.87 | |
| CCP-DP | 95.36 | 99.89 | 0.1221 | 2.200 |
the deep-learning-based methods correspond to GPU inference only and exclude model training and checkpoint loading. Accordingly, the runtime results are intended to characterize practical computational cost rather than to imply strictly identical timing protocols across method classes.
S2.2 Multi-dataset ablation analysis
We next examined how the major components of CCP-DP contribute to the overall reconstruction process across Srinivas-110, Chandak-108, and Bar-Lev-140. Rather than producing uniform gains on every dataset, the different components play distinct roles: local guide construction provides the initial sequence estimate, structured decoding resolves difficult clusters, cross-cluster context supplies additional sequence evidence when local support is insufficient, and adaptive routing avoids unnecessary structured decoding.
The ablation conditions in Supplementary Table S3 use different decoding scopes and scoring components. “Provisional guide only” directly outputs the first-stage provisional guide without subsequent structured decoding. “w/o Cross-LOO score” retains adaptive routing and the remaining decoder components but removes the Cross-LOO contribution from trellis scoring. “w/o blind IDS likelihood” retains blind IDS estimation but removes the IDS likelihood term from trellis scoring. “Full, decode-all” retains the complete scoring scheme but disables adaptive routing and applies structured decoding to every cluster. “Local trellis, decode-all” also decodes every cluster but removes both the Cross-LOO score and blind IDS likelihood, leaving only local structured evidence in the trellis. “Full CCP-DP” uses the complete scoring scheme together with adaptive routing.
The Provisional guide only results illustrate the limitation of relying exclusively on local cluster evidence. Exact reconstruction reached 92.86% on Srinivas-110 and 86.49% on Chandak-108, compared with 98.01% and 95.36%, respectively, for the full method. Introducing structured decoding therefore accounts for a substantial part of the recovery on these more challenging datasets. The Local trellis, decode-all variant further improves over Provisional guide only, but remains below the full method, indicating that structured local inference alone does not recover the full benefit of CCP-DP.
The clearest additional gain comes from the Cross-LOO contextual score. When this term is removed, exact reconstruction decreases from 98.01% to 94.14% on Srinivas-110 and from 95.36% to 91.41% on Chandak-108. The much smaller change on Bar-Lev-140 is consistent with the high accuracy already achieved by the provisional guide on this dataset. These results indicate that cross-cluster context is particularly valuable when local evidence alone does not fully resolve the remaining reconstruction ambiguity.
The blind IDS likelihood produced comparatively modest changes in exact reconstruction,
Supplementary Table S3: Multi-dataset ablation analysis of CCP-DP. Exact reconstruction rates and runtimes are reported for three real datasets under different component configurations. "Full, decode-all" retains the complete scoring scheme but disables adaptive routing, whereas "Local trellis, decode-all" applies structured decoding to every cluster using only local trellis evidence.
| Variant | Srinivas-110 | Chandak-108 | Bar-Lev-140 | |||
|---|---|---|---|---|---|---|
| Exact (%) | Time (s) | Exact (%) | Time (s) | Exact (%) | Time (s) | |
| Provisional guide only | 92.86 | 1.222 | 86.49 | 0.883 | 98.41 | 1.181 |
| w/o Cross-LOO score | 94.14 | 1.615 | 91.41 | 1.923 | 98.74 | 2.419 |
| w/o blind IDS likelihood | 97.94 | 1.766 | 95.50 | 2.133 | 98.75 | 2.322 |
| Full, decode-all | 98.01 | 6.824 | 95.36 | 2.230 | 98.76 | 4.453 |
| Local trellis, decode-all | 94.86 | 5.145 | 92.36 | 1.863 | 98.77 | 4.342 |
| Full CCP-DP | 98.01 | 1.782 | 95.36 | 2.200 | 98.74 | 2.893 |
while providing an explicit dataset-adaptive model of substitution, insertion, and deletion tendencies. It therefore serves as a complementary source of evidence alongside Cross-LOO.
The role of adaptive routing is most evident in computational efficiency. On Srinivas-110, decoding all clusters yields the same exact reconstruction rate as the full method (98.01%), but increases runtime from 1.782 s to 6.824 s. On Bar-Lev-140, the corresponding runtime increases from 2.893 s to 4.453 s, again with little change in reconstruction accuracy. Thus, adaptive routing primarily concentrates structured decoding on the subset of clusters for which it is most useful, avoiding unnecessary computation on well-supported clusters.
Taken together, the ablation results support the intended division of labor within CCP-DP: provisional guides provide an efficient local estimate, structured decoding repairs difficult cases, Cross-LOO contributes additional cross-cluster evidence on challenging datasets, and adaptive routing preserves these gains while reducing unnecessary computation.
S2.3 Diagnostic fixed-weight analysis of Cross-LOO context
To assess whether Cross-LOO context remains informative on datasets where its contribution is rejected by the standard calibration procedure, we performed an additional diagnostic analysis on Bar-Lev-140 (Bar-Lev et al., 2025), Grass-117 (Grass et al., 2015), and Welter-110 subset (file 2) (Welter et al., 2026). Under standard CCP-DP, the effective Cross-LOO weight was reduced to zero on all three datasets by the trust-calibration procedure.
For this diagnostic analysis, we bypassed the calibration outcome and directly fixed the effective Cross-LOO weight used in trellis scoring to . We then compared No Cross-LOO, Correct Cross-LOO, Table-permuted, and Wrong-dataset context, while keeping all remaining decoder settings unchanged.
As shown in Supplementary Table S4, Correct Cross-LOO consistently outperformed both Table-permuted and Wrong-dataset context, indicating that the matched context tables retain dataset-specific information. However, relative to No Cross-LOO, the effect was dataset dependent: exact reconstruction changed by , , and percentage points on Bar-Lev-140, Grass-117, and Welter-110 subset (file 2), respectively. These results indicate that informative cross-cluster structure does not necessarily improve reconstruction when applied with a fixed weight, and support the use of dataset-level trust calibration to suppress contextual evidence when its predictive contribution is insufficient.
Supplementary Table S4: Diagnostic fixed-weight analysis of Cross-LOO context. For Correct Cross-LOO, Table-permuted, and Wrong-dataset conditions, the standard calibration outcome was bypassed and the effective trellis weight was fixed at . No Cross-LOO instead set the contextual contribution to zero. All clusters were decoded under otherwise identical settings. Exact denotes the change in exact reconstruction of Correct Cross-LOO relative to No Cross-LOO.
| Dataset | No Cross-LOO | Table-permuted | Wrong-dataset | Correct Cross-LOO | Exact (pp) |
|---|---|---|---|---|---|
| Bar-Lev-140 | 98.760 | 84.192 | 92.600 | 98.150 | |
| Grass-117 | 99.458 | 96.584 | 98.776 | 99.478 | |
| Welter-110 subset (file 2) | 93.410 | 30.752 | 46.350 | 85.840 |
S2.4 Parameter sensitivity analysis
To assess the robustness of CCP-DP to parameter choices, we performed an extended parameter-sensitivity analysis on Srinivas-110 and Chandak-108. Six parameters associated with provisional-consensus construction, contextual evidence, and adaptive routing were evaluated: the coverage switch, reuse threshold, phase-load thresholds, Cross-LOO weight scale, minimum routing fraction, and phase-band width. Each parameter was varied individually around its default value while all remaining settings were held fixed. For all four reported metrics, changes are measured relative to the corresponding default configuration.
As shown in Supplementary Fig. S3, reconstruction quality was stable over broad ranges of most parameters. The reuse threshold, phase-load thresholds, and phase-band width produced little or no change in either exact reconstruction rate or mean edit distance over the tested ranges. The coverage switch and Cross-LOO weight scale showed the clearest effects on reconstruction quality, particularly on Chandak-108. For the coverage switch, performance degraded when the threshold was reduced substantially below the default value of 40 reads, consistent with excessive assignment of lower-coverage clusters to the high-coverage provisional-guide branch. Similarly, the default Cross-LOO weight scale of 1.0 lay near the best-performing region on both datasets, whereas larger deviations produced moderate losses in reconstruction accuracy.
Computational behavior was more sensitive than reconstruction quality to several routing-related parameters. Runtime changed more noticeably with the phase-load thresholds, Cross-LOO weight scale, minimum routing fraction, and phase-band width, particularly on Srinivas-110. In contrast, the fraction of clusters entering structured decoding remained largely unchanged across most parameter variations. The main exception was the minimum routing fraction on Srinivas-110, for which increasing the prescribed minimum produced the expected increase in the proportion of clusters routed to structured decoding. Taken together, these results indicate that CCP-DP maintains stable reconstruction quality over a reasonably broad neighborhood of its default configuration, while several parameters primarily influence computational allocation rather than reconstruction accuracy.
Srinivas-110 Chandak-108 Default setting
a Exact reconstruction
b Mean edit distance




c Runtime
d Change in structured-decoding fraction




Supplementary Figure S3: Extended parameter-sensitivity analysis of CCP-DP. Changes relative to the corresponding default configuration in (a) exact reconstruction rate, (b) mean edit distance, (c) runtime, and (d) the fraction of clusters routed to structured decoding for Srinivas-110 and Chandak-108. Within each metric block, six parameters are varied independently: the coverage switch, reuse threshold, phase-load thresholds, Cross-LOO weight scale, minimum routing fraction, and phase-band width. All remaining parameters are held at their default settings. Horizontal reference lines indicate no change relative to the default configuration, whereas vertical dashed lines indicate the corresponding default parameter values. The six subpanels within each metric block share a common vertical scale to permit direct comparison of sensitivity across parameters. Positive values in (a) indicate improved exact reconstruction; negative values in (b) and (c) indicate lower edit distance and shorter runtime, respectively. Positive values in (d) indicate an increased fraction of clusters routed to structured decoding relative to the default setting.
S2.5 Mean edit-distance robustness across sequencing coverages
To complement the exact-reconstruction analysis, we further evaluated the mean edit distance under the same coverage conditions. The analysis used the same sampled read clusters and random seeds as the corresponding exact-reconstruction experiments.
As shown in Supplementary Fig. S4, mean edit distance generally decreases as sequencing coverage increases. These results are consistent with the exact-reconstruction trends and further indicate that CCP-DP maintains low residual reconstruction error across a broad range of coverage conditions, including the low-coverage regime.

Supplementary Figure S4: Mean edit distance across sequencing coverages. Mean edit distances from to coverage are shown for (a) Chandak-108, (b) Chandak-150, and (c) Srinivas-110. CCP-DP is compared with BBS, CPL, and ITR using the same sampled read clusters as in the corresponding exact-reconstruction experiment. Points show the mean over five random seeds, and error bars indicate standard deviations.