BamTools provides a fast, flexible C++ API & toolkit for reading, writing, and managing BAM files.
Utility for working on BAM files analogous to samtools (see below) thus avoiding need to store and work on larger text SAM files where possible.
C++ API & command-line toolkit for working with BAM data