SequenceFrame.
to_bits
()¶Change the sequenceFrame from frequency to bits. Bit calculation is performed as explained in http://www.genome.org/cgi/doi/10.1101/gr.849004:
Rseq = Smax - Sobs = log2 N - (-sum(n=1,N):pn * log2 pn)
Returns: | SequenceFrame - with the new scoring system |
---|