Calculates an approximated p-value for a given local score value and a medium to long sequence length in the identically and independantly distributed model
the probabilities for each unique score from lowest to greatest
sequence_min
minimum score
sequence_max
maximum score
Value
A double representing the probability of a local score as high as the one given as argument
Details
This methods is actually an improved method of Karlin and produces more precise results. It should be privileged whenever possible.
As with karlin, the method works the better the longer the sequence.