C++ API & command-line toolkit for working with BAM data