TmCalculator: An R Package for Genome-Wide Nucleic Acid Melting Temperature Profiling and Multi-Omics Integration
Abstract
Accurate calculation of nucleic acid melting temperature (Tm) underpins many molecular biology applications, while genome-wide Tm profiling provides a means to investigate sequence-intrinsic thermodynamic properties associated with genome function. Existing Tm tools, however, are designed for individual sequences rather than coordinate-aware genome-scale analyses and integrating their output with genomic datasets requires additional processing. We developed TmCalculator, a Bioconductor-compatible R package that extends Tm analysis to coordinate-aware, genome-scale thermodynamic profiling. It accepts nucleotide sequences, FASTA files, installed BSgenome packages, and GRanges objects, and implements 31 nearest-neighbor parameter sets alongside empirical GC-content models with salt and chemical-denaturant corrections. Results are returned as GRanges objects, so that profiles integrate directly with genomic, epigenomic, and other multi-omics data, and built-in functions support their statistical comparison and visualization. Profiling the complete Escherichia coli K-12 MG1655 genome reproduced a published map of MutL-associated replication-error hotspots, recovering the reported association between reduced duplex stability and error-prone regions. A compiled C++ core and parallel genome partitioning profiled the hg38 human genome in approximately three minutes on a six-core laptop. TmCalculator therefore provides an efficient, reproducible framework for investigating thermodynamic determinants of genome function and their relationships to disease.