pyCurves: a modernized and expanded implementation of the Curves algorithm for DNA helical analysis

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.

Authors

Institutions

Publication Details

Journal
bioRxiv (Cold Spring Harbor Laboratory)
Published
2026-12-02
DOI
https://doi.org/10.64898/2026.12.01.770694
Primary Topic
DNA and Nucleic Acid Chemistry
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

pyCurves: a modernized and expanded implementation of the Curves algorithm for DNA helical analysis

Jinsen Li, Remo Rohs
bioRxiv (Cold Spring Harbor Laboratory)
DNA and Nucleic Acid Chemistry
preprint

pyCurves: a modernized and expanded implementation of the Curves algorithm for DNA helical analysis

Jinsen Li, Remo Rohs
preprint en

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.

bioRxiv (Cold Spring Harbor Laboratory)
University of Southern California (US)
DNA and Nucleic Acid Chemistry
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon