Supports reading from SAM/BAM files.