New Software Automatically Generates 14 Molecular Functions Using Normalized Intervals
New software bridges the gap between high-level mathematical functions and molecular computing by automating chemical reaction network design.
Researchers developed a new software tool called FUNDNA to automatically generate chemical reaction networks that compute mathematical functions for molecular computing applications. The tool bridges the gap between high-level computational specifications and biomolecular implementation by letting users design circuits from a user-friendly mathematical layer.
Automating Molecular Circuit Design Through Software
Molecular computing uses biochemical substrates to carry out arithmetic computations and logical operations through molecular concentrations instead of electronic voltages. Chemical reaction networks serve as a widely used model for designing these circuits, but creating them for complex mathematical functions remains challenging. To address this, J. Huse and colleagues at the University of Tehran designed Frontiers in Bioengineering and Biotechnology to simplify the process. The software allows researchers to input a mathematical function and automatically generates the corresponding reaction network with minimal required knowledge of biochemistry.
The generated circuits perform computations based on fractional encoding, where a pair of molecular types represents each variable or constant. Because fractional encoding represents each variable as a concentration ratio, the software assumes normalized inputs and outputs in the interval [0,1]. Signals outside this interval require shifting or scaling before network generation and inverse transformation upon output interpretation. This abstraction strategy connects electronic stochastic computing principles directly to biochemical reactions.
Mapping Electronic Logic to Biochemical Reactions
In electronic circuit design, stochastic computing encodes variables through randomized bit streams where values are determined by the percentage of ones. Prior research established a fundamental connection between this approach and molecular computing by translating randomized bit streams into pairs of molecular types. FUNDNA utilizes two core types of logic gates, molecular AND and molecular NAND units, to build complex circuits. These gates use specific sets of four molecular reactions to implement arithmetic operations such as multiplication and inversion.
For polynomial approximation, the software utilizes Maclaurin-series expansion combined with specialized rearrangement techniques including Horner rule expansion and double-NAND expansion. The rearrangement strategy depends on specific function requirements, such as alternating signs and decreasing coefficients for Horner form or positive coefficients summing to less than or equal to one for double-NAND form. Once the function is rearranged, the software maps each component into appropriate molecular gate cascades. The resulting network consists of uniform bimolecular reactions that can be interfaced with existing tools for DNA strand-displacement translation.
The research team tested fourteen function-entry templates within the software workflow to verify polynomial estimation and rearrangement selection. Using CRNSimulator, the authors mapped the generated networks to DNA reactions and performed simulations for four representative functions including $e^{-x}$ and $\tanh(x)$. Simulation results showed that computed output concentrations closely matched theoretical values across the unit interval. The mean square error remained below 3.52 multiplied by ten to the power of negative four across the tested points.
Potential Applications in Synthetic Biology and Diagnostics
The software provides a practical design automation layer that can assist researchers working on nucleic acid logic circuits and biosensing applications. A function-computing reaction network generated by the tool could be combined with upstream sensing reactions to transform biomarker concentrations or carry out arithmetic preprocessing. While the software does not design a complete wet-lab diagnostic assay by itself, it reduces the manual effort required to build the computational layer of such systems. The current validation remains simulation-based, as the circuits were not physically implemented in vitro during this study.
Several factors contribute to the remaining error observed in the simulations, including series expansion truncation and finite simulation time. Current software limitations include the restriction to eligible single-variable functions satisfying specific rearrangement requirements and the assumption of normalized input intervals. Future work aims to expand the range of eligible input functions, automate function rescaling, and integrate the tool more closely with sequence-design pipelines.
The research was published in Frontiers in bioengineering and biotechnology on November 28, 2026.
This article has been fact checked for accuracy, with information verified against reputable sources. Learn more about us and our editorial process.
Last reviewed on .
Article history
- Latest version
Cite this page:
- Posted by Robert Brown