DesignFrame.
sequence_bits
(seqID, seqType='protein', cleanExtra=True, cleanUnused=False)¶Create a bit-based SequenceFrame
.
Generates a SequenceFrame
for the bits of
the sequences in the designFrame
with seqID
identifier.
If there is a reference_sequence for this seqID
, it will also
be attached to the SequenceFrame
.
Bit calculation is performed as explained in http://www.genome.org/cgi/doi/10.1101/gr.849004 such as:
Rseq = Smax - Sobs = log2 N - (-sum(n=1,N):pn * log2 pn)
Parameters: |
|
---|---|
Returns: |