Package Bio :: Package SeqUtils :: Module lcc
[hide private]
[frames] | no frames]

Module lcc

source code

Functions [hide private]
 
lcc_mult(seq, wsize)
Local Composition Complexity (LCC) values over sliding window.
source code
 
lcc_simp(seq)
Local Composition Complexity (LCC) for a sequence.
source code
Variables [hide private]
  __package__ = 'Bio.SeqUtils'
Function Details [hide private]

lcc_mult(seq, wsize)

source code 
Local Composition Complexity (LCC) values over sliding window.

Returns a list of floats, the LCC values for a sliding window over
the sequence.

seq - an unambiguous DNA sequence (a string or Seq object)
wsize - window size, integer

The result is the same as applying lcc_simp multiple times, but this
version is optimized for speed. The optimization works by using the
value of previous window as a base to compute the next one.

lcc_simp(seq)

source code 
Local Composition Complexity (LCC) for a sequence.

seq - an unambiguous DNA sequence (a string or Seq object)

Returns the Local Composition Complexity (LCC) value for the entire
sequence (as a float).

Reference:
Andrzej K Konopka (2005) Sequence Complexity and Composition
DOI: 10.1038/npg.els.0005260