Skip to content

FAVITES-Lite v1.0.2

Compare
Choose a tag to compare
@niemasd niemasd released this 03 May 16:55
· 19 commits to main since this release
  • Fixed bug in "Truncated Normal" mutation rates model
    • FAVITES-Lite is using the notation where a is the minimum and b is the maximum of the truncated distribution
      • In other words, the truncated distribution is in the range [a, b]
    • However, SciPy defines a and b as "standard deviations away from loc"
    • I added a helper function that takes a and b in the "min" and "max" notation, converts them, and then calls the SciPy function
    • The "Truncated Normal" sample times model was actually correct before (I was doing the conversion between notations here, just not in the mutation rates model), but I've updated it to use this new helper function
    • The "Truncated Exponential" sample times model was unaffected by this bug and has remained as-is