bsxplorer.ChrLevels.from_bismark

classmethod ChrLevels.from_bismark(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 CX_report file

Parameters:
  • file – Path to the report 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.