Skip to content

Main content

Branch Rate Time Product Gap Tool

Compare an explicit branch substitution-rate/time product with a supplied length; no clock model is fitted.

Loading tool…

Description

Return rate×time and supplied length minus that product.

Evolutionary time and branch length are linked through a supplied clock or calibration. A unit conversion, path sum or residual assumes the underlying tree and rate model rather than recovering them from biological data.

Return rate×time and supplied length minus that product.

When to use this tool

Use Branch Rate Time Product Gap when you need one branch-time, path or calibration term.

How to use the tool and how it works

  1. Enter branchRate, elapsedTime, suppliedBranchLength. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read expectedBranchLength, residual. Use the output convention below.

Require nonnegative branchRate, elapsedTime and suppliedBranchLength. Return rate×time and supplied length minus that product.1

Input fieldMeaning and unitsAccepted input
branchRateBranch RateRequired. Finite number; minimum 0.
elapsedTimeElapsed TimeRequired. Finite number; minimum 0.
suppliedBranchLengthSupplied Branch LengthRequired. Finite number; minimum 0.
Output fieldInterpretationReturned shape
expectedBranchLengthExpected Branch LengthRequired. Finite number.
residualResidualRequired. Finite number.
json
{
  "input": {
    "branchRate": 0.2,
    "elapsedTime": 5,
    "suppliedBranchLength": 1.2
  },
  "output": {
    "expectedBranchLength": 1,
    "residual": 0.19999999999999996
  }
}

Limitations and assumptions

  • Rate is branch units per matching time unit. The supplied clock term does not estimate evolutionary rates or verify a phylogenetic model.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
  • Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.

Alternative or Complementary methods

Use a complete phylogenetic or dating method with the relevant sequence, fossil and rate evidence. Verify topology, branch units, calibration assumptions and uncertainty separately.

References

  1. Calculation and input contract: evolutionary-biology/branch-rate-time-product-gap — tool.io

Similar or alternative tools