Creates new BAM writer outputting to file or stream. Automatically writes BAM magic number (4 bytes).
compression level, must be in range -1..9
task pool to use for parallel compression
See Implementation
Creates new BAM writer outputting to file or stream. Automatically writes BAM magic number (4 bytes).