Thermal shift apparent Tm
thermal_shift_tm
Estimates the apparent Tm of fluorescence melt curves, one per condition.
- Runs
- Built, not hosted
- Level
- Checked against a reference: SciPy curve_fit
From server 1.0.0 this tool is called biophys_thermal_shift_tm. Until then it answers as thermal_shift_tm.
What it is
Required: direction (rises, falls); temperatureUnit (degC, K); readingUnit (as-given, RFU). Estimates apparent melting temperatures in each stated window from a sigmoid midpoint and the first derivative maximum. Reports disagreement and residual autocorrelation as diagnostics. Gives temperature differences against a stated reference and summaries of declared replicate groups. Apparent Tm describes the supplied readings. Single-curve intervals are withheld.
Field: Kinetics and binding. It is the same calculation as Drybench Assay, called by an AI assistant through the server.
What it does
You give
curves(required): One melt per condition (at most 24).direction(required): Whether fluorescence rises or falls through the transition.temperatureUnit(required): Absolute temperature unit for the readings and window. Converts to degC for the fit. Temperature differences use K.readingUnit(required): Unit of the fluorimeter readings. Choose as-given for a scale without a specified unit.reference: Optional condition to compute ΔTm against.
Asked with
- temperatureUnit
- degC
- readingUnit
- as-given
- direction
- rises
It answered (computed)
- direction
- rises
Computed by this tool when the page was built. The steps between are not recorded, so this is not a worked example. The reply carries more values than are shown here.
Limits
- Readings are ordered by increasing temperature, with a single identifiable transition bracketed in the window.
- The caller identifies which curves are replicates.
- Every computed number a reply returns, other than an integer or an exact decimal, is rounded once to 12 significant figures: to the nearest, a change of at most 5 × 10⁻¹² of its value, except that a lower bound is rounded down and an upper bound up, a change of less than 1 × 10⁻¹¹; the method computes, and decides any pass or fail, on the unrounded value.
It will not answer when
- Temperatures are out of order or repeated.
- The window contains fewer than ten readings.
- No resolved transition separates the two plateaus.
- The least-squares search does not establish convergence.
Every input, with its units5 inputs
curves(required): One melt per condition (at most 24).direction(required): Whether fluorescence rises or falls through the transition.temperatureUnit(required): Absolute temperature unit for the readings and window. Converts to degC for the fit. Temperature differences use K.readingUnit(required): Unit of the fluorimeter readings. Choose as-given for a scale without a specified unit.reference: Optional condition to compute ΔTm against.
Every refusal, with its code12 refusals
| Code | When |
|---|---|
TEMPERATURE_ORDER | Temperatures are out of order or repeated. |
TOO_FEW_POINTS | The window contains fewer than ten readings. |
NO_TRANSITION | No resolved transition separates the two plateaus. |
NOT_CONVERGED | The least-squares search does not establish convergence. |
MULTIPLE_TRANSITIONS | The derivative has a second resolved maximum. |
DIRECTION_MISMATCH | The plateau change runs against the declared direction. |
WIDTH_AT_BOUND | The fitted width lies at a search bound. |
MIDPOINT_AT_EDGE | The estimate is at the window's edge. |
PLATEAUS_UNBRACKETED | The readings do not bracket both plateaus. |
ZERO_RESIDUAL | The residual spread is zero at numerical precision. |
NO_REPLICATE_ESTIMATE | Every curve in the replicate group lacks an estimate. |
TOO_FEW_REPLICATES | Only one estimated replicate is available for a standard deviation. |
The calculation
2 methods, each with its equations, constants and worked example.
Equation 1
F(T) = Fₗ + (Fₕ − Fₗ)/(1 + exp((Tm − T)/w)). The bounded least-squares fit uses the source's algebraic form on a temperature axis. Its free width is w = exp(ℓ) × 1 K, so ℓ = ln(w/(1 K)).
| Symbol | Meaning |
|---|---|
T, Tm | temperature and apparent midpoint on a common absolute scale, degC |
Fₗ, Fₕ | fitted low- and high-temperature plateaus, as-given |
w | positive sigmoid width, a temperature difference, K |
ℓ | natural logarithm of the width divided by one kelvin, ln(K) |
Source 1.
Equation 2
The first derivative of the quadratic interpolant at an interior reading is the weighted average of the adjacent secants. Weight each secant by the other interval length divided by their sum. Apply the declared sign and take the first maximum inside the window.
| Symbol | Meaning |
|---|---|
dF/dT | signed derivative of the interpolant in the reading scale per kelvin, as-given/K |
Source 2.
Kind of method: not recorded.
Worked example
Worked example: one case of thermal-shift-apparent-tm@1.1.0, from its inputs through each step to the answer. Values are written as a person writes them; the working carries more digits, so your own figure may differ in the last digit shown.
Inputs
- direction = rises
- temperatureUnit = degC
- readingUnit = as-given
- curves[0].condition = A
- curves[0].temperature[0] = 30
- curves[0].temperature[1] = 32
- curves[0].temperature[2] = 34
- curves[0].temperature[3] = 36
- curves[0].temperature[4] = 38
- curves[0].temperature[5] = 40
- curves[0].temperature[6] = 42
- curves[0].temperature[7] = 44
- curves[0].temperature[8] = 46
- curves[0].temperature[9] = 48
- curves[0].temperature[10] = 50
- curves[0].temperature[11] = 52
- curves[0].temperature[12] = 54
- curves[0].temperature[13] = 56
- curves[0].temperature[14] = 58
- curves[0].temperature[15] = 60
- curves[0].temperature[16] = 62
- curves[0].temperature[17] = 64
- curves[0].temperature[18] = 66
- curves[0].temperature[19] = 68
- curves[0].temperature[20] = 70
- curves[0].fluorescence[0] = 2.000453978687024
- curves[0].fluorescence[1] = 2.0012339457598625
- curves[0].fluorescence[2] = 2.0033535013046646
- curves[0].fluorescence[3] = 2.0091105119440065
- curves[0].fluorescence[4] = 2.0247262315663477
- curves[0].fluorescence[5] = 2.0669285092428487
- curves[0].fluorescence[6] = 2.1798620996209155
- curves[0].fluorescence[7] = 2.474258731775668
- curves[0].fluorescence[8] = 3.1920292202211757
- curves[0].fluorescence[9] = 4.689414213699951
- curves[0].fluorescence[10] = 7
- curves[0].fluorescence[11] = 9.310585786300049
- curves[0].fluorescence[12] = 10.807970779778824
- curves[0].fluorescence[13] = 11.525741268224332
- curves[0].fluorescence[14] = 11.820137900379084
- curves[0].fluorescence[15] = 11.933071490757152
- curves[0].fluorescence[16] = 11.975273768433652
- curves[0].fluorescence[17] = 11.990889488055993
- curves[0].fluorescence[18] = 11.996646498695336
- curves[0].fluorescence[19] = 11.998766054240138
- curves[0].fluorescence[20] = 11.999546021312975
- curves[0].window[0] = 30
- curves[0].window[1] = 70
Steps
- midpoint: 50 + 2 × ln((12 − 2)/(7 − 2) − 1) = 50 °C, from signal = 7, lower = 2, upper = 12; gives result.curves.0.outcome.sigmoid.tm.value, result.curves.0.outcome.derivative.tm.value.
- width-log: ln(2 K / 1 K) = 0.6931471805599453 ln(K), from width = 2 K; gives result.curves.0.outcome.sigmoid.lnWidth.value.
The working, as the case writes it:
At the midpoint the exponential is 1 and the signal is exactly halfway between 2 and 12. The supplied synthetic width is 2 K, so its natural logarithm is ln(2). The central derivative on this symmetric grid peaks at the same midpoint.
Answer
result.curves.0.outcome.sigmoid.tm.value = 50 °C
result.curves.0.outcome.sigmoid.lnWidth.value = 0.6931471805599453 ln(K)
result.curves.0.outcome.derivative.tm.value = 50 °C
Where these values came from: our own exact-arithmetic script and a hand-worked case; GraphPad Prism 8 Curve Fitting Guide p. 709, Boltzmann sigmoid form.
The build has not run this example through the tool.
Equation 1
r₁ = Σ(eᵢ − ē)(eᵢ₋₁ − ē)/Σ(eᵢ − ē)², with the numerator over adjacent pairs and the denominator over all residuals. The project reports 1.645/√n beside it as a reference diagnostic.
| Symbol | Meaning |
|---|---|
eᵢ, ē | residual at reading i and mean residual, as-given |
r₁, n | lag-one autocorrelation and number of readings in the window, 1 |
Source 3.
Equation 2
Mean Tm = ΣTmᵢ/n. Sample SD = √[Σ(Tmᵢ − mean Tm)²/(n−1)].
| Symbol | Meaning |
|---|---|
Tmᵢ | sigmoid midpoint for an estimated replicate, degC |
n | number of estimated replicates, 1 |
SD | sample standard deviation of the estimated midpoints, K |
A definition, not a model: the equation states what the quantity means. A different convention gives a different number.
Worked example
Worked example: one case of thermal-shift-tm-intervals@1.0.0, from its inputs through each step to the answer. Values are written as a person writes them; the working carries more digits, so your own figure may differ in the last digit shown.
Inputs
- direction = rises
- temperatureUnit = degC
- readingUnit = as-given
- curves[0].condition = A
- curves[0].temperature[0] = 30
- curves[0].temperature[1] = 32
- curves[0].temperature[2] = 34
- curves[0].temperature[3] = 36
- curves[0].temperature[4] = 38
- curves[0].temperature[5] = 40
- curves[0].temperature[6] = 42
- curves[0].temperature[7] = 44
- curves[0].temperature[8] = 46
- curves[0].temperature[9] = 48
- curves[0].temperature[10] = 50
- curves[0].temperature[11] = 52
- curves[0].temperature[12] = 54
- curves[0].temperature[13] = 56
- curves[0].temperature[14] = 58
- curves[0].temperature[15] = 60
- curves[0].temperature[16] = 62
- curves[0].temperature[17] = 64
- curves[0].temperature[18] = 66
- curves[0].temperature[19] = 68
- curves[0].temperature[20] = 70
- curves[0].fluorescence[0] = 2.000453978687024
- curves[0].fluorescence[1] = 2.0012339457598625
- curves[0].fluorescence[2] = 2.0033535013046646
- curves[0].fluorescence[3] = 2.0091105119440065
- curves[0].fluorescence[4] = 2.0247262315663477
- curves[0].fluorescence[5] = 2.0669285092428487
- curves[0].fluorescence[6] = 2.1798620996209155
- curves[0].fluorescence[7] = 2.474258731775668
- curves[0].fluorescence[8] = 3.1920292202211757
- curves[0].fluorescence[9] = 4.689414213699951
- curves[0].fluorescence[10] = 7
- curves[0].fluorescence[11] = 9.310585786300049
- curves[0].fluorescence[12] = 10.807970779778824
- curves[0].fluorescence[13] = 11.525741268224332
- curves[0].fluorescence[14] = 11.820137900379084
- curves[0].fluorescence[15] = 11.933071490757152
- curves[0].fluorescence[16] = 11.975273768433652
- curves[0].fluorescence[17] = 11.990889488055993
- curves[0].fluorescence[18] = 11.996646498695336
- curves[0].fluorescence[19] = 11.998766054240138
- curves[0].fluorescence[20] = 11.999546021312975
- curves[0].window[0] = 30
- curves[0].window[1] = 70
- curves[0].replicateGroup = G
- curves[1].condition = B
- curves[1].temperature[0] = 30
- curves[1].temperature[1] = 32
- curves[1].temperature[2] = 34
- curves[1].temperature[3] = 36
- curves[1].temperature[4] = 38
- curves[1].temperature[5] = 40
- curves[1].temperature[6] = 42
- curves[1].temperature[7] = 44
- curves[1].temperature[8] = 46
- curves[1].temperature[9] = 48
- curves[1].temperature[10] = 50
- curves[1].temperature[11] = 52
- curves[1].temperature[12] = 54
- curves[1].temperature[13] = 56
- curves[1].temperature[14] = 58
- curves[1].temperature[15] = 60
- curves[1].temperature[16] = 62
- curves[1].temperature[17] = 64
- curves[1].temperature[18] = 66
- curves[1].temperature[19] = 68
- curves[1].temperature[20] = 70
- curves[1].fluorescence[0] = 2.000167014218481
- curves[1].fluorescence[1] = 2.000453978687024
- curves[1].fluorescence[2] = 2.0012339457598625
- curves[1].fluorescence[3] = 2.0033535013046646
- curves[1].fluorescence[4] = 2.0091105119440065
- curves[1].fluorescence[5] = 2.0247262315663477
- curves[1].fluorescence[6] = 2.0669285092428487
- curves[1].fluorescence[7] = 2.1798620996209155
- curves[1].fluorescence[8] = 2.474258731775668
- curves[1].fluorescence[9] = 3.1920292202211757
- curves[1].fluorescence[10] = 4.689414213699951
- curves[1].fluorescence[11] = 7
- curves[1].fluorescence[12] = 9.310585786300049
- curves[1].fluorescence[13] = 10.807970779778824
- curves[1].fluorescence[14] = 11.525741268224332
- curves[1].fluorescence[15] = 11.820137900379084
- curves[1].fluorescence[16] = 11.933071490757152
- curves[1].fluorescence[17] = 11.975273768433652
- curves[1].fluorescence[18] = 11.990889488055993
- curves[1].fluorescence[19] = 11.996646498695336
- curves[1].fluorescence[20] = 11.998766054240138
- curves[1].window[0] = 30
- curves[1].window[1] = 70
- curves[1].replicateGroup = G
Steps
- mean: (50 + 52) / 2 = 51 °C, from midpoints = 50 and 52 degC; gives result.replicates.0.mean.value.
- sample-sd: √((1² + 1²)/(2 − 1)) = 1.4142135623730951 K, from deviations = −1 and +1 K; gives result.replicates.0.sd.value.
The working, as the case writes it:
The midpoints are 50 and 52 degrees Celsius. Their average is 51 degrees Celsius. The deviations are −1 and +1 kelvin, and the sample divisor is 1. The square root of their squared sum is √2 kelvin.
Answer
result.replicates.0.mean.value = 51 °C
result.replicates.0.sd.value = 1.4142135623730951 K
Where these values came from: our own exact-arithmetic script and a hand-worked case; Arithmetic mean and sample standard deviation of the midpoints of the synthetic sigmoids.
The build has not run this example through the tool.
Sources
GraphPad Prism 8 Curve Fitting Guide, p. 709.
Used for: Apparent Tm of a fluorescence melt (sigmoid midpoint and derivative extremum). At: p. 709, section 4.5.5.20.8, Equation: Boltzmann sigmoid.
Read in full, 26 November 2026Fornberg B. Generation of Finite Difference Formulas on Arbitrarily Spaced Grids. Mathematics of Computation 1988;51:699–706.
Used for: Apparent Tm of a fluorescence melt (sigmoid midpoint and derivative extremum). At: table 1, first derivative with second-order accuracy, p. 700–703, section Interpolation and finite difference weights.
Read in full, 26 November 2026NIST/SEMATECH e-Handbook of Statistical Methods, Autocorrelation.
Used for: Apparent Tm: replicate-well mean and SD, residual lag-1 diagnostic; single-well interval withheld. At: section 1.3.5.12, definition.
Read in full, 26 November 2026
How it is checked
- Level
Checked against a reference, the lowest of its 2 methods.
- Checked against
Apparent Tm of a fluorescence melt (sigmoid midpoint and derivative extremum): SciPy curve_fit (trf, bounded) and hand central differences on 13 synthetic melts: Tm within 1e-3 °C, ln k within 1e-4, the derivative extremum exact, refusals and the disagreement flag exact; and against R 4.4.3 nls(SSfpl) on the 7 fitted melts: Tm within 1e-3 °C, ln k within 1e-4, plateaus within 1e-4 of the span (12 October 2026).
Apparent Tm: replicate-well mean and SD, residual lag-1 diagnostic; single-well interval withheld: SciPy on 7 synthetic melts and 4 replicate groups: replicate means and SDs within 1e-3 °C with n and the wells not counted exact; the residuals' lag-1 r1 within 1e-6. The single-well profile interval is withheld: in 1,000 simulated melts per design it covered the true Tm in 96.5 percent of independent melts, 89.1 percent at AR(1) ρ 0.2, 73.6 percent at ρ 0.5, 33.6 percent at ρ 0.9 and 0.0 percent with a sloping baseline, and the intervals a residual check would let through still undercovered; against a direct profile computed in R 4.4.3 from its own nls fit on the 5 melts with an interval, and R's mean and sd over its own fits of the 4 replicate groups: Tm, bounds, means and SDs within 1e-3 °C (largest gap 5e-11), thresholds within 1e-8 relative; the coverage simulation SciPy only (13 October 2026).
- Cases
Apparent Tm of a fluorescence melt (sigmoid midpoint and derivative extremum): No case set is linked to this version.
Apparent Tm: replicate-well mean and SD, residual lag-1 diagnostic; single-well interval withheld: No case set is linked to this version.
- Hostile inputs
Sent 142 malformed, extreme and misspelt calls. None broke it, and every call with an undeclared argument, or with text in place of a number or a true/false value, was declined with a reason.
Run 2026-11-12-2 of 12 November 2026, server 0.11.0.
- Same answer
Called twice and with its arguments in another order, it gave the same result.
Run 2026-11-12-2 of 12 November 2026, server 0.11.0.
- Not checked
Apparent Tm of a fluorescence melt (sigmoid midpoint and derivative extremum): The source describes the general sigmoid on a different axis. This project's temperature parameter, fit bounds and reporting criteria are stated here and in its engine.
Apparent Tm: replicate-well mean and SD, residual lag-1 diagnostic; single-well interval withheld: The replicate SD describes the supplied estimates. The single-curve interval is unreported and the diagnostic is insufficient to establish its coverage.
What was not checked, in fullfrom the method records
Apparent Tm of a fluorescence melt (sigmoid midpoint and derivative extremum)
- The source describes the general sigmoid on a different axis.
- This project's temperature parameter, fit bounds and reporting criteria are stated here and in its engine.
- The numerical comparisons and hand case use synthetic readings.
- No measured external dataset or production endpoint replay was checked.
Apparent Tm: replicate-well mean and SD, residual lag-1 diagnostic; single-well interval withheld
- The replicate SD describes the supplied estimates.
- The single-curve interval is unreported and the diagnostic is insufficient to establish its coverage.
- The hand case and external software comparisons use synthetic readings.
- The production endpoint was not replayed.
What this project's records still lack2 things
- A run of the worked example through the tool for both methods.
- A case set linked to this version for both methods.
Cite a number from this toolthe cite line
Every reply carries a cite line naming the tool, the server version, each method with its version and level, and the receipt. Quote it with any number taken from the reply.
thermal_shift_tm, server 1.0.0; thermal-shift-apparent-tm@1.1.0 (Checked against a reference; synthetic cases only); thermal-shift-tm-intervals@1.0.0 (Checked against a reference; synthetic cases only); receipt f804e59c92f0/75c5a1758833; methods https://www.drybench.com/methods/assay; page https://www.drybench.com/methods/tools/thermal-shift-tm. Quote this line with any number taken from this reply.Changes to its methods0 changes
No change is logged for these method versions.