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.
Обговорення
Улюблені
Додати до обраногоСтежити за цією темою
Лист, коли хтось коментує. Обліковий запис не потрібен.
Розсилка
Підпишіться на нашу безкоштовну розсилку, щоб бути в курсі всього про біотехнології.