random_distance

emlib.combinatorics.random_distance(length, numseqs=1000)[source]

Calculate the distance between a sorted seq. and a random seq. for the given length. This is used to measure entropy in a seq.

Return type:

float