bsxplorer.ChrLevels.from_coverage

classmethod ChrLevels.from_coverage(file: str | Path, cytosine_file: str | Path, chr_min_length=1000000, window_length: int = 1000000, block_size_mb: int = 100, use_threads: bool = False, confidence: float | None = None)[source]

Initialize ChrLevels with CGMap file

Parameters:
  • file – Path to the report file.

  • cytosine_file – Path to preprocessed by Sequence cytosine file.

  • chr_min_length – Minimum length of chromosome to be analyzed

  • window_length – Length of windows in bp

  • block_size_mb – Size of batch in bytes, which will be read from report file (for report types other than “binom”).

  • use_threads – Will reading be multithreaded.

  • confidence – Pvalue for confidence bands of the LinePlot.