Skip to content

v0.4.0

Latest

Choose a tag to compare

@jmschrei jmschrei released this 03 Jun 04:14
251bf9a

Fixed

  • tomtom no longer returns tiny negative p-values (~ -1e-14 to -1e-11) for very good matches. The p-value is read from a background survival function computed as 1 - cumsum(pdf); floating-point round-off in the cumsum over thousands of bins, combined with a distribution that does not sum to exactly 1, could push the survival value just below zero at the extreme right tail (i.e. for the best-scoring alignments). _p_value_backgrounds now clamps the survival function to be non-negative. (#16)

Full Changelog: v0.3.0...v0.4.0