End-to-end single-stranded DNA sequence design with all-atom structure reconstruction
Designing biological sequences that fold into predefined conformations is a central challenge in bioengineering. Although deep learning has enabled significant advances in protein and RNA sequence design, progress in single-stranded DNA (ssDNA) design has been constrained by the limited availability of structural data. To address this challenge, we introduce InvDNA, a deep learning-based method that designs ssDNA sequences directly from backbone atomic coordinates. This end-to-end formulation avoids the loss of structural information during backbone-to-feature conversion and further accommodates flexible backbone representations, dynamic sequence masking, and structural reconstruction objectives. These strategies bolster InvDNAs ability to generalize across diverse ssDNA structural contexts while enabling additional functionalities, including generating diverse sequences for a given backbone, reconstructing nucleotide conformations from backbone and preserving functional sites. In benchmarks using experimentally determined ssDNA structures, InvDNA demonstrates more than a twofold improvement in sequence recovery compared with existing ssDNA and RNA sequence design approaches. Further computational validation using AlphaFold3 shows that 44.4% of InvDNA-designed sequences successfully fold into their predefined conformations. Notably, this success rate increases when backbone coordinates are perturbed to diversify the InvDNA-designed sequences. Collectively, these results establish InvDNA as a robust framework for rational ssDNA engineering.