Oups, for some reason I had not seen this message!
Entropy is calculated based on the frequencies of each state, including N as a separate state. The Shannon entropy is used, with a log base of 5.
As for the quality scores, the UCSC format is expected.
I apologize for the delayed reply!
J.