# Bio.SeqUtils.lcc module

Local Composition Complexity.

Bio.SeqUtils.lcc.lcc_mult(seq, wsize)

  Calculate 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.

Bio.SeqUtils.lcc.lcc_simp(seq)

  Calculate 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 https://doi.org/10.1038/npg.els.0005260

Biopython v: 1.85

Versions
  Previous
  Latest
  Develop

Biopython Project
  Homepage
  On GitHub