bioRxiv · 10.64898/2026.12.01.770694
pyCurves: a modernized and expanded implementation of the Curves algorithm for DNA helical analysis
Abstract
DNA shape provides a quantitative linkage between nucleotide sequence, molecular recognition, and genome regulation. The legacy Curves algorithm established an influential framework based on a global and deformable helical axis, but its requirements for a manually prepared topology, specialized input formats, and legacy Fortran77 code create barriers to integration with modern workflows. Here, we present pyCurves, a Python reimplementation and extension of Curves. pyCurves retains the global curvilinear-axis optimization while replacing derivatives with automatic differentiation and numerical optimization. It integrates PDB/mmCIF input, automatic topology inference, chemically modified nucleotides, machine-readable output, and workflows for experimental structures and molecular-dynamics trajectories. In a Protein Data Bank-scale benchmark, pyCurves expands structural coverage while reproducing Curves and Curves+ parameters for canonical DNA within the precision of the legacy output. Comparisons between globally optimized and locally smoothed axes show that these constructions provide distinct, non-interchangeable descriptions of DNA shape. To extend the analysis beyond canonical Watson-Crick base pairs, pyCurves introduces contact-geometry reference frames anchored to the interacting base edges. For molecular-dynamics trajectories, a vectorized in-memory pipeline using local-axis smoothing reduces the processing time relative to Curves+/Canal workflows. Together, pyCurves provides a compatible and extensible framework for analyzing DNA geometry across structure size and simulation scales.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Li, J., Rohs, R.. 2026-12-02. pyCurves: a modernized and expanded implementation of the Curves algorithm for DNA helical analysis. https://doi.org/10.64898/2026.12.01.770694. https://biorxiv.science/record/biorxiv%3A10.64898%2F2026.12.01.770694/pycurves-a-modernized-and-expanded-implementation-of-the-curves-algorithm-for-dna-helical-analysis
Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite bioRxiv Science by Indiciae: BibTeX · RIS.