Tools to extract coverage informations from BAM (and CRAM) files, based on the covtobed algorithm that supports stranded coverage and physical coverage, input from streams and uses a memory-efficient algorithm.
Full documentation is available online at the :book: dedicated website, or in
this repository under docs
.
The BamToCov package is available from :package: BioConda
conda install -y -c bioconda bamtocov
Bamtocov has the smallest memory footprint of any other coverage tool, while maintaining reasonable speeds
Initially we also used Lapper, and I recommend checking out this library for fast interval operations.
Giovanni Birolo, Andrea Telatin, BamToCov: an efficient toolkit for sequence coverage calculations, Bioinformatics, 2022