@param fp BGZF file being read @param b Destination for the alignment data @return number of bytes read on success -1 at end of file < -1 on failure
This function can only read BAM format files. Most code should use sam_read1() instead, which can be used with BAM, SAM and CRAM formats.
See Implementation
@param fp BGZF file being read @param b Destination for the alignment data @return number of bytes read on success -1 at end of file < -1 on failure
This function can only read BAM format files. Most code should use sam_read1() instead, which can be used with BAM, SAM and CRAM formats.