from pathlib import Path
from meth5.meth5 import MetH5File


def main(m5file:Path, chunk_size:int, quiet:bool):
    with MetH5File(m5file, "r", chunk_size=chunk_size) as f:
        for chrom in f.get_chromosomes():
            print(f"{chrom}: {f[chrom].get_number_of_chunks()}")

[((121, 166), 'meth5.meth5.MetH5File', 'MetH5File', (['m5file', '"""r"""'], {'chunk_size': 'chunk_size'}), "(m5file, 'r', chunk_size=chunk_size)\n", (130, 166), False, 'from meth5.meth5 import MetH5File\n')]